0% found this document useful (0 votes)
11 views1 page

Python Quick Notes for Viva Preparation

The document provides quick notes for Python practicals, focusing on various topics such as quadratic equations, Fibonacci series, and dictionary operations. Each topic includes a brief explanation and a corresponding viva question to help prepare for an external viva. It emphasizes the importance of revising keywords, syntax, and examples for effective preparation.

Uploaded by

Harini Kannan
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views1 page

Python Quick Notes for Viva Preparation

The document provides quick notes for Python practicals, focusing on various topics such as quadratic equations, Fibonacci series, and dictionary operations. Each topic includes a brief explanation and a corresponding viva question to help prepare for an external viva. It emphasizes the importance of revising keywords, syntax, and examples for effective preparation.

Uploaded by

Harini Kannan
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

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.

You might also like