Question Bank
PART A
2 Marks:
1. Define Python. Who developed Python?
2. List-out the features of Python.
3. What is Python interpreter?
4. List-out the data types in Python.
5. Mention number data types supported in Python.
6. Define String in Python.
7. What is variable?
8. Define keyword. List any 4 keywords of Python.
9. What is an identifier? Write the rules to form identifiers.
[Link] is an expression?
[Link] is a statement in Python?
[Link] is a comment in Python? Write down the different ways to write
comments.
[Link] is docstring?
[Link] is decision statement? List any two decision control statement.
[Link] is iteration? List any one looping statement.
[Link] is an identity operator? Write about is and is not.
[Link] do you mean by membership operator?
[Link] characteristics of member function.
[Link] list.
[Link] Tuple.
[Link] set.
[Link] dictionary.
[Link] between while and while else.
[Link] a syntax for simple if statement.
[Link] syntax for if-elif statement.
[Link] syntax for while statement.
[Link] syntax for for statement.
[Link] is range() function?
[Link] is string? Mention any 4 string handling functions in Python.
[Link] down any 5 methods of list.
[Link] down any 5 methods of Tuple.
[Link] down any 5 methods of set.
[Link] down any 5 methods of Dictionary.
[Link] features of list,tuple,set and dictionary.
[Link] between list and Tuple.
[Link] between set and dictionary.
[Link] mathematical set operations.
[Link] is collection?
[Link] is module?
[Link] lambda function.
[Link] is the use of dir() function.
[Link] is the use of insistence() function.?
[Link] an examples for:
A. Arithmetic operators
B. Comparison operator
C. Logical Operators
D. Assignment Operators
E. Bitwise Operator
[Link] is break and continue statement.
[Link] is Boolean value?
[Link] is Python pass statement?
[Link] do you mean by string slicing?
[Link] do you mean by key-value pairs?
[Link] between shallow and deep copy.
[Link] is file? Mention it's types.
[Link] do you open file in Python.
[Link] the file opening modes in Python.
[Link] does the write method works on file?
[Link] is text file?
[Link] is binary file?
[Link] is error? List different types of error.
[Link] any 4 examples for run time errors.
[Link] object.
[Link] class.
[Link] is encapsulation.
[Link] is data abstraction?
[Link] different types of function parameters.
[Link] out different types of widgets in tkinter.
[Link] Layout management methods.
PART B
5 Marks
1. Explain features and applications of Python.
2. Explain different types of data types in Python.
3. Explain decision control statements with syntax.
4. Explain looping statements with syntax and example.
5. Differentiate between while and while else.
6. Discuss operators of Python.
7. Explain string handling functions in Python.
8. Explain methods of list.
9. Explain methods of Tuple.
[Link] methods of set.
1. Explain methods of Dictionary.
2. Differentiate between list and Tuple.
3. Differentiate between set and dictionary.
4. Mention mathematical set operations.
5. What is collection? Explain in detail.
6. Discuss module?
7. Explain lambda function with example.
8. Explain file operation?
9. Explain file opening modes in Python.
[Link] Object oriented concepts.
[Link] different types of inheritance.
[Link] do you achieve encapsulation?
[Link] exception handling mechanism.
[Link] tkinter.
[Link] is GUI? Explain different widgets.
[Link] user defined functions in Python
[Link] function parameters.
[Link] different types of widgets in tkinter.
[Link] layout management methods in tkinter.
20.