( As In Exam - CBSE12A-2018 )
Differentiate between Syntax Error and Run-Time Error? Also, write a suitable
( As In Exam - CBSE12A-2018 )
Name the Python Library modules which need to be imported to invoke the foll
( As In Exam - CBSE12A-2018 )
Rewrite the following code in python after removing all syntax error(s). Unde
( As In Exam - CBSE12A-2018 )
Find and write the output of the following python code:
Data = ["P"
( As In Exam - CBSE12A-2018 )
Find and write the output of the following python code:
class GRAPH:
( As In Exam - CBSE12A-2018 )
What possible outputs(s) are expected to be displayed on screen at the time o
( As In Exam - CBSE12A-2018 )
What is the advantage of super() function in inheritance? Illustrate the same
( As In Exam - CBSE12A-2018 )
Define a class CONTAINER in Python with following specifications
Ins
( As In Exam - CBSE12A-2018 )
Answer the questions (i) to (iv) based on the following:
Class Top1(
( As In Exam - CBSE12A-2018 )
Consider the following randomly ordered numbers stored in a list
786, 2
( As In Exam - CBSE12A-2018 )
Write definition of a method ZeroEnding(SCORES) to add all those values in th
( As In Exam - CBSE12A-2018 )
Write AddClient(Client) and DeleteCleint(Client) methods in python to add a n
( As In Exam - CBSE12A-2018 )
Write definition of a Method COUNTNOW(PLACES) to find and display those place
( As In Exam - CBSE12A-2018 )
Evaluate the following Postfix notation of expression:
22,11,/,5,10,*,+
( As In Exam - CBSE12A-2018 )
Write a statement in Python to open a text file STORY.TXT so that new content
( As In Exam - CBSE12A-2018 )
Write a method in python to read lines from a text file INDIA.TXT, to find an
( As In Exam - CBSE12A-2018 )
Considering the following definition of class MULTIPLEX, write a method in py
( As In Exam - CBSE12A-2017 )
Which of the following can be used as valid variable identifier(s) in Python?
( As In Exam - CBSE12A-2017 )
Name the Python Library modules which need to be imported to invoke the follo
( As In Exam - CBSE12A-2017 )
Rewrite the following code in python after removing all syntax error(s). Unde
( As In Exam - CBSE12A-2017 )
Find and write the output of the following python code:
TXT = ["20
( As In Exam - CBSE12A-2017 )
Find and write the output of the following python code:
class INVENT
( As In Exam - CBSE12A-2017 )
What are the possible outcome(s) executed from the following code? Also sp
( As In Exam - CBSE12A-2017 )
List four characteristics of Object Oriented programming.
( As In Exam - CBSE12A-2017 )
class Exam: Regno=1 Marks=75 def __init__(self,r,m): #function
( As In Exam - CBSE12A-2017 )
Define a class BOX in Python with following specifications
Instance
( As In Exam - CBSE12A-2017 )
Differentiate between static and dynamic binding in Python? Give suitable ex
( As In Exam - CBSE12A-2017 )
Write two methods in python using concept of Function Overloading (Polymorph
( As In Exam - CBSE12A-2017 )
What will be the status of the following list after the First, Second and Thi
( As In Exam - CBSE12A-2017 )
Write definition of a method EvenSum(NUMBERS) to add those values in the list
( As In Exam - CBSE12A-2017 )
Write Addnew(Member) and Remove(Member) methods in python to Add a new Membe
( As In Exam - CBSE12A-2017 )
Write definition of a Method MSEARCH(STATES) to display all the state names
( As In Exam - CBSE12A-2017 )
Evaluate the following Postfix notation of expression:
4,2,*,22,5,6,+,/
( As In Exam - CBSE12A-2017 )
Differentiate between file modes r+ and rb+ with respect to Python.
( As In Exam - CBSE12A-2017 )
Write a method in python to read lines from a text file MYNOTES.TXT, and disp
( As In Exam - CBSE12A-2017 )
Considering the following definition of class FACTORY, write a method in Pyt
( As In Exam - CBSE12A-2016 )
Out of the following, find those identifiers, which can not be used for namin
( As In Exam - CBSE12A-2016 )
Name the Python Library modules which need to be imported to invoke the foll
( As In Exam - CBSE12A-2016 )
Rewrite the following code in python after removing all syntax error(s). Unde
( As In Exam - CBSE12A-2016 )
Find and write the output of the following python code:
Values=[10,2
( As In Exam - CBSE12A-2016 )
Find and write the output of the following python code:
class Book:
( As In Exam - CBSE12A-2016 )
What are the possible outcome(s) executed from the following code? Also speci
( As In Exam - CBSE12A-2016 )
What is the difference between Multilevel and Multiple inheritance? Give suit
( As In Exam - CBSE12A-2016 )
What will be the output of the following python code considering the follow
( As In Exam - CBSE12A-2016 )
Write a class CITY in Python with following specifications
Instance
( As In Exam - CBSE12A-2016 )
How do we implement abstract method in python? Give an example for the same.<
( As In Exam - CBSE12A-2016 )
What is the significance of super() method? Give an example for the same.
( As In Exam - CBSE12A-2016 )
What will be the status of the following list after the First, Second and Thi
( As In Exam - CBSE12A-2016 )
For a given list of values in descending order, write a method in python to s
( As In Exam - CBSE12A-2016 )
Write Insert(City) and Delete(City) methods in python to add City and Remove
( As In Exam - CBSE12A-2016 )
Write a method in python to find and display the prime numbers between 2 to N
( As In Exam - CBSE12A-2016 )
Evaluate the following postfix notation of expression. Show status of stack a
( As In Exam - CBSE12A-2016 )
Write a statement in Python to perform the following operations:
● To
( As In Exam - CBSE12A-2016 )
Write a method in python to write multiple line of text contents into a text
( As In Exam - CBSE12A-2016 )
Consider the following definition of class Employee, write a method in python
( As In Exam - CBSE12A-2015 )
Name the function/method required to
(i) check if a string contains onl
( As In Exam - CBSE12A-2015 )
Rewrite the following code in python after removing all syntax error(s). Unde
( As In Exam - CBSE12A-2015 )
Find and write the output of the following python code :
for Name in
( As In Exam - CBSE12A-2015 )
Find and write the output of the following python code:
class Emp:
( As In Exam - CBSE12A-2015 )
What are the possible outcome(s) executed from the following code? Also spec
( As In Exam - CBSE12A-2015 )
Illustrate the concept inheritance with the help of a python code
( As In Exam - CBSE12A-2015 )
What will be the output of the following python code ? Explain the try and e
( As In Exam - CBSE12A-2015 )
Write a class PHOTO in Python with following specifications:
Instance A
( As In Exam - CBSE12A-2015 )
What is operator overloading with methods? Illustrate with the help of an exa
( As In Exam - CBSE12A-2015 )
Write a method in python to display the elements of list twice, if
it i
( As In Exam - CBSE12A-2015 )
What will be the status of the following list after fourth pass of bubble so
( As In Exam - CBSE12A-2015 )
Write a method in python to search for a value in a given list (assuming tha
( As In Exam - CBSE12A-2015 )
Write PUSH (Names) and POP (Names) methods in python to add Names and Remove
( As In Exam - CBSE12A-2015 )
Write a method in python to find and display the composite numbers between 2
( As In Exam - CBSE12A-2015 )
Evaluate the following postfix notation of expression. Show status of stack
( As In Exam - CBSE12A-2015 )
Differentiate between the following:
(i) f = open (‘diary. txt
( As In Exam - CBSE12A-2015 )
Write a method in python to read the content from a text file story.txt line
( As In Exam - CBSE12A-2015 )
Consider the following definition of class Student. Write a method in python
( As In Exam - CBSE12D-2017 )
Which of the following can be used as valid variable identifier(s) in Python<
( As In Exam - CBSE12D-2017 )
Name the Python Library modules which need to be imported to invoke the
( As In Exam - CBSE12D-2017 )
Rewrite the following code in python after removing all syntax error(s). Unde
( As In Exam - CBSE12D-2017 )
Find and write the output of the following Python code:
STR = ["90",
( As In Exam - CBSE12D-2017 )
Find and write the output of the following python code:
class ITEM:
( As In Exam - CBSE12D-2017 )
What are the possible outcome(s) executed from the following code? Also speci
( As In Exam - CBSE12D-2017 )
List four characteristics of Object Oriented programming.
( As In Exam - CBSE12D-2017 )
class Test: rollno=1 marks=75 def __init__(self,r,m): #funct
( As In Exam - CBSE12D-2017 )
Define a class RING in Python with following specifications
( As In Exam - CBSE12D-2017 )
Differentiate between static and dynamic binding in Python? Give suitable ex
( As In Exam - CBSE12D-2017 )
Write two methods in Python using concept of Function Overloading (Polymorphi
( As In Exam - CBSE12D-2017 )
What will be the status of the following list after the First, Second and Thi
( As In Exam - CBSE12D-2017 )
Write definition of a method OddSum(NUMBERS) to add those values in the list
( As In Exam - CBSE12D-2017 )
Write Addnew(Book) and Remove(Book) methods in Python to Add a new Book and
( As In Exam - CBSE12D-2017 )
Write definition of a Method AFIND(CITIES) to display all the city names from
( As In Exam - CBSE12D-2017 )
Evaluate the following Postfix notation of expression:
2,3,*,24,2,6,+,/
( As In Exam - CBSE12D-2017 )
Differentiate between file modes r+ and w+ with respect to Python.
( As In Exam - CBSE12D-2017 )
Write a method in Python to read lines from a text file DIARY.TXT, and displa
( As In Exam - CBSE12D-2017 )
Considering the following definition of class COMPANY, write a method in Pyth
( As In Exam - CBSE12D-2016 )
Out of the following, find those identifiers, which can not be used for namin
( As In Exam - CBSE12D-2016 )
Name the Python Library modules which need to be imported to invoke the
( As In Exam - CBSE12D-2016 )
Rewrite the following code in python after removing all syntax error(s). Unde
( As In Exam - CBSE12D-2016 )
Find and write the output of the following python code:
Numbers=[9,1
( As In Exam - CBSE12D-2016 )
Find and write the output of the following python code:
class Notes:
( As In Exam - CBSE12D-2016 )
What are the possible outcome(s) executed from the following code? Also speci
( As In Exam - CBSE12D-2016 )
What is the difference between Multilevel and Multiple inheritance? Give suit
( As In Exam - CBSE12D-2016 )
What will be the output of the following python code considering the followin
( As In Exam - CBSE12D-2016 )
Write a class CITY in Python with following specifications
I
( As In Exam - CBSE12D-2016 )
How do we implement abstract method in python? Give an example for the same.<
( As In Exam - CBSE12D-2016 )
What is the significance of super() method? Give an example for the same.
( As In Exam - CBSE12D-2016 )
What will be the status of the following list after the First, Second and Thi
( As In Exam - CBSE12D-2016 )
For a given list of values in descending order, write a method in python to s
( As In Exam - CBSE12D-2016 )
Write Insert(Place) and Delete(Place) methods in python to add Place and Remo
( As In Exam - CBSE12D-2016 )
Write a method in python to find and display the prime numbers between 2 to N
( As In Exam - CBSE12D-2016 )
Evaluate the following postfix notation of expression. Show status of stack a
( As In Exam - CBSE12D-2016 )
Write a statement in Python to perform the following operations:
( As In Exam - CBSE12D-2016 )
Write a method in python to write multiple line of text contents into a text
( As In Exam - CBSE12D-2016 )
Consider the following definition of class Staff, write a method in python to
( As In Exam - CBSE12D-2015 )
Name the function/method required to
(i) check if a string contains onl
( As In Exam - CBSE12D-2015 )
Rewrite the following code in python after removing all syntax error(s). Und
( As In Exam - CBSE12D-2015 )
Find and write the output of the following python code :
for Name in
( As In Exam - CBSE12D-2015 )
Find and write the output of the following python code:
class Worker
( As In Exam - CBSE12D-2015 )
What are the possible outcome(s) executed from the following code? Also spec
( As In Exam - CBSE12D-2015 )
Illustrate the concept inheritance with the help of a python code
( As In Exam - CBSE12D-2015 )
What will be the output of the following python code ? Explain the try and e
( As In Exam - CBSE12D-2015 )
Write a class PICTURE in Python with following specifications: Instance Attr
( As In Exam - CBSE12D-2015 )
What is operator overloading with methods? Illustrate with the help of an ex
( As In Exam - CBSE12D-2015 )
Write a method in python to display the elements of list thrice if it is a n
( As In Exam - CBSE12D-2015 )
What will be the status of the following list after fourth pass of bubble so
( As In Exam - CBSE12D-2015 )
Write a method in python to search for a value in a given list (assuming tha
( As In Exam - CBSE12D-2015 )
Write PUSH (Books) and POP (Books) methods in python to add Books and remove
( As In Exam - CBSE12D-2015 )
Write a method in python to find and display the prime numbers between 2 to
( As In Exam - CBSE12D-2015 )
Evaluate the following postfix notation of expression. Show status of stack
( As In Exam - CBSE12D-2015 )
Differentiate between the following:
(i) f = open (‘diary. txt
( As In Exam - CBSE12D-2015 )
Write a method in python to read the content from a text file diary.txt line
( As In Exam - CBSE12D-2015 )
Consider the following definition of class Member, write a method in python
( As In Exam - CBSE12A-2019 )
Write the names of any four data types available in Python.
( As In Exam - CBSE12A-2019 )
Name the Python Library modules which need to be imported to invoke the follo
( As In Exam - CBSE12A-2019 )
Rewrite the following code in python after removing all syntax error(s). Unde
( As In Exam - CBSE12A-2019 )
Find and write the output of the following python code :
Msg1="WeLcO
( As In Exam - CBSE12A-2019 )
Find and write the output of the following python code :
def Changer
( As In Exam - CBSE12A-2019 )
What possible output(s) are expected to be displayed on screen at the time of
( As In Exam - CBSE12A-2019 )
Define a class House in Python with the following specifications:
Inst
( As In Exam - CBSE12A-2019 )
Answer the questions(i) to (iii) based on the following:
class Furni
( As In Exam - CBSE12A-2019 )
Define inheritance, Show brief pyth0n example of single Level, Multiplier and
( As In Exam - CBSE12A-2019 )
Consider the following randomly ordered numbers stored in a list:
106,
( As In Exam - CBSE12A-2019 )
Consider the following randomly ordered numbers stored in a list:
106,
( As In Exam - CBSE12A-2019 )
Write definition of a method/function AddOddEven(VALUES) to display sum of od
( As In Exam - CBSE12A-2019 )
Write definition of a method/function HowMany(ID,Val) to cou
( As In Exam - CBSE12A-2019 )
Write a python method/function Swapper(Numbers) to swap the
( As In Exam - CBSE12A-2019 )
Write a python method/function Count3and7(N) to find and dis
( As In Exam - CBSE12A-2019 )
Evalute the following Postfix expression, showing the stack contents:
( As In Exam - CBSE12A-2019 )
Convert the following Infix expression to its equivalent Postfix expression,
( As In Exam - CBSE12A-2019 )
Write a statement in Python to open a text file WRITEUP.TXT
( As In Exam - CBSE12A-2019 )
Write a statement in Python to open a text file README.TXT s
( As In Exam - CBSE12A-2019 )
Write a method/function ISTOUPCOUNT() in python to read cont
( As In Exam - CBSE12A-2019 )
Write a method/function AEDISP() in python to read lines from a text file WRI
( As In Exam - CBSE12A-2019 )
Considering the following definition of class STOCK, write a method/function
( As In Exam - CBSE12A-2019 )
Considering the following definition of class DOCTORS, write a method/functio