Python Practical Quick Notes for External Viva
No. Topic Meaning Viva Question
1 Quadratic Equation Find roots of equation ax² + bx + c = 0 using formula.
What formula is used to find roots?
2 Fibonacci Series using Recursion
Each number is sum of previous two using recursion.
What is recursion in Python?
3 Library Fine Calculation Calculate fine based on late days using if-else.
Which statement is used to check fine range?
4 List Operations Add items in list using append, insert, [Link] between append() and extend()?
5 Dictionary Operations Add, delete, update, and search in [Link] to remove an item from dictionary?
6 If string ≠ reverse, print reversed word.
Reverse String if Not Palindrome What is a palindrome?
7 Find 5th Maximum Sort numbers in descending order and pick 5th.
Which function is used for sorting?
8 Maximum of Three Numbers Compare three numbers using if-else or max().
How to find maximum using max()?
9 Even and Odd in Dictionary Count even and odd values in dictionary. How do you get all dictionary values?
10 Days Occur in a Year Check leap year (366) or not (365). Condition for leap year?
11 Employee Details using Inheritance
One class inherits another class properties. What does super() keyword do?
12 Method Overloading Same method name works with different arguments.
Is method overloading directly supported?
13 Add Two Numbers using Constructor
Constructor initializes and adds numbers. What is the name of Python constructor?
14 Adding Points using OperatorUse
Overloading
+ to add user-defined objects. Which method is used for + operator?
15 Display Student Details usingRead
CSV and display data from CSV file. Which module is used to handle CSV files?
■ Tip: Revise keywords, syntax, and one example for each topic before the viva.