Zed-King Study app · Free
O Level students across India practise here, free
Google login · no Play Store needed
About this PDF
The questions asked most often in the M3-R5.1 Python practical viva, with short, exam-ready answers.
This is part of the free O Level PR-3 study material in the Zed-King Study Zone. You can read every page above in your browser, or download the file and study offline. Zed-King Group of Institute is a NIELIT Study Centre in Kaithal, Haryana, and all of this material follows the current NIELIT syllabus.
- Course
- O Level — NIELIT Foundation Diploma
- Module
- PR3 — PR-3: M3-R5.1 Python Programming — Practical
- Section
- Viva Questions
- Format
- PDF — read online or download
- Price
- Free, no sign-up required
Text from this PDF
The opening pages as plain text — open the reader above for tables, diagrams and the full file.
Viva Questions With Solution Python Programming
1. What is Python?
Python high-level, interpreted, object-oriented programming language
2. Who developed Python?
Python Guido van Rossum develop
3. Features of Python Easy to learn, portable, open source, interpreted,
4. What are keywords?
Keywords Python reserved words Example: if, else, for, while
5. Difference between Python 2 and Python 3 Python 3 print function, better Unicode support faster execution
6. What is identifier?
Variable, function class identifier
7. Comment in Python Single line comment #
8. What is indentation?
Code spacing indentation Python mandatory
9. Python literals O LEVEL Viva
Questions20266 Class Fixed values numbers, strings,
10. Expression vs Statement Expression value return statement action perform
11. Data types in Python int, float, string, list, tuple, set, dictionary, boolean
12. Mutable vs Immutable Mutable (list)
Immutable (string, tuple)
13. String Characters collection Example: "Hello"
14. List vs Tuple vs Set List mutable, Tuple immutable, Set unordered unique values
15. Dictionary Key-value pair data store
16. Type conversion int(), float(), str()
17. Boolean True False
18. == vs is == value check is memory
19. Check type type(variable)
20. Length find len() function
21. Arithmetic operators
22. Comparison operators
23. Logical operators and, or, not decimal result / integer result += add = assign
26. if-else statement Condition check
27. if, elif, else Multiple conditions check
28. while loop Condition true
29. for loop Sequence loop
30. Exit loop break statement
31. break vs continue break loop continue next
32. Loop vs Recursion Loop repeat recursion function call
33. Function Specific task perform
34. Function define def function_name():
35. Parameters vs Arguments Parameter definition argument call
36. Local vs Global variable Local function global program
37. return statement Function value
38. Lambda function Single line anonymous
39. Recursion Function call
40. Access elements Indexing list[0]
41. Slicing string[1:5]
42. Add/remove in list append(), remove()
43. Sort list sort() function
44. String methods upper(), lower(), split()
45. Open file open("file.txt","r")
46. read vs readline read file, readline
47. Write file write() method
48. Module Functions
49. Import module import math
50. import vs from import import module module from module import * direct access
Run these Python programs yourself — free
Reading code is not the same as writing it. Type any program from these notes into our free online Python compiler (real Python 3 with NumPy, input() works), or study one of the explained programs with its output.
Prepare for O Level with expert guidance
Classroom training, practical labs and exam registration at Zed-King Institute, Kaithal.
