Please select a subject first
Advertisements
Advertisements
What is the use of format( )? Give an example.
Concept: undefined >> undefined
Which of the following is the output of the following program?
class Student:
def __init__(self, name):
self.name=name
print (self.name)
S=Student(“Tamil”)Concept: undefined >> undefined
Advertisements
What is the output of the following program?
class Sample:
__num = 10
def disp(self):
print(self.__num)
S = Sample()
S.disp()
print(S.__num)Concept: undefined >> undefined
Find the error in the following program to get the given output?
class Fruits:
def __init__(self, f1, f2):
self.f1=f1
self.f2=f2
def display(self):
print("Fruit 1 = %s, Fruit 2 = %s" %(self.f1, self.f2))
F = Fruits ('Apple', 'Mango')
del F.display
F.display()
Output
Fruit 1 = Apple, Fruit 2 = MangoConcept: undefined >> undefined
What is the output of the following program?
class Greeting:
def __init__(self, name):
self.__name = name
def display(self):
print("Good Morning ", self.__name)
obj=Greeting('Bindu Madhavan')
obj.display()Concept: undefined >> undefined
Read the following details Based on that write a python script to display department-wise records
database name:- organization.db
Table name:- Employee
Columns in the table:- Eno, EmpName, Esal, Dept
Concept: undefined >> undefined
Read the following details Based on that write a python script to display records in descending order of
Eno
database name:- organization.db
Table name:- Employee
Columns in the table:- Eno, EmpName, Esal, Dept
Concept: undefined >> undefined
What is the composition in functions?
Concept: undefined >> undefined
Write a short about the following with suitable example: capitalize( )
Concept: undefined >> undefined
Write a short about the following with suitable example: swapcase( )
Concept: undefined >> undefined
Write a note about count( ) function in python.
Concept: undefined >> undefined
Which of the following is an RDBMS?
Concept: undefined >> undefined
List some examples of RDBMS.
Concept: undefined >> undefined
Explain Cartesian Product with a suitable example.
Concept: undefined >> undefined
Explain the different types of relationship mapping.
Concept: undefined >> undefined
Explain the different operators in Relational algebra with suitable examples.
Concept: undefined >> undefined
getopt() will return an empty array if there is no error in splitting strings to ______
Concept: undefined >> undefined
What is the base condition in recursive function?
Concept: undefined >> undefined
How recursive function works?
Concept: undefined >> undefined
Explain recursive function with an example.
Concept: undefined >> undefined
