Data:countable n meaningfull
Data is a collection of countable n meaningfull things
eg:students data,products data n employee's data
Which is not possible through our spread sheets n manual book managment
Database system:
Database+DBMS is called as database system
The following are DBMS softwares
1.Oracle
2.SQL server
3.MYSQL
4.Postgruess
5.MongoDB
6.SQLALCHAEMY
7.XML etc.
functions-individual work
method:
Eg: a=10
b=20
def add(a,b)
return a+b
print(add(a,b))
print(a)
Eg:
a=10
b=20
#class name-bankaccount
#acno,acname,bal-attributes
sbi=BankAccount(123,'mm',0)
hdfc=BankAccount(234,'fugusg',5)-of() calls a constructor(init method)
icici=BankAccount(214,'fugusg',5)
*****some times the init method may not consists any arrguments / attributes
i.e init method is an optional
EG:
class InternetBanking(BankAccount):
def __init__(self,args):
super()
self.args=args
def huuhsn():
j
Here super()-is used to refer parent class,super class,base class are same
similarly -is used to refer child,sub,derived
ASSIGNMENT:
read the data from the keyboard n pass to a insert statement
use interpreter