🚀 Hurry! Offer Ends In
00 Days
00 Hours
00 Mins
00 Secs
Enroll Now
X
Questions




































O Level Python Viva Questions and Answers

Last Updated : 16 Jul 2025 For All Sessions

Solution:

O Level Practical –PR3

Python Programming

Most Common Viva Question – Answers

Very Very Important Questions

यही Question आपसे पूछेगा Examiner

Q: What is Python?
Ans: Python is a high-level, interpreted, general-purpose programming language.

 
Q: What is slicing in Python
Ans: Slicing is used to access parts of sequences like lists, tuples, and strings. 


Q: python ke do framework ke naam btao?
Ans: django, flask


Q: how many Keywords in Python?
Ans: 35


Q: What is a dynamically typed language?
Ans: Dynamic - Data Types are checked during execution.

 

Q: Is indentation required in python?
Ans: Indentation is necessary for Python. 

 

Q: What are the applications of Python?

  • Web Applications
  • Desktop GUI Applications
  • Software Development
  • Scientific and Numeric
  • Audio or Video-based Applications

Q: What is the difference between Python Arrays and lists?
Ans: Arrays in python can only contain elements of same data types.
Lists in python can contain elements of different data types.


Q: accha ye btao pallindrome number kya hota hai?

Ans: Palindrome number wo hota hai jo forward aur backward dono direction se same read hota hai. Jaise 121, 1331, aur 12321. Ye numbers apne digits ke arrangement ke karan symmetric hote hain.


Q: index kisse shuru hota hai?

Ans: 0


Q: Is python case sensitive?
Ans: Yes. Python is a case sensitive language.


Q: What is Python modules?
Ans: A Python module is a collection of Python commands and definitions in a single file. 

 

Q: What is NumPy?
Ans: NumPy (also called Numerical Python) is a highly flexible, optimized, open-source package meant for array processing. It provides tools for delivering high-end performance while dealing with N-dimensional powerful array objects.

 

Q: kinhi teen modules k name btao
Ans: os, sys, math, random, data time, JSON

Q: What are lists and tuples?
Ans: Lists and Tuples are both sequence data types that can store a collection of objects in Python. The objects stored in both sequences can have different data types. Lists are represented with square brackets ['sara', 6, 0.19], while tuples are represented with parantheses 


Q: what are Boolean values
Ans: True and False.

 

Q: string kise kahte hai?
Ans: String ek sequence hota hai characters ka, jaise letters aur numbers, jo text ko represent karta hai.

 

Q: What is Python packages?
Ans: Python packages are namespaces containing multiple modules.


Q: Global Variables ka hot hai?
Ans: Variables declared outside a function or in global space are called global variables. These variables can be accessed by any function in the program.


Q: What are functions in Python?
Ans: A function is a block of code which is executed only when it is called. To define a Python function, the def keyword is used.

 

Q: The Ternary operator is also known as....
Ans:  conditional operator


Q: What is recursion?
Ans: Recursion is a function calling itself one or more times in it body. 


Q: What are the key features of Python?
Ans: Python is an interpreted language.
Free and open-source
Python is dynamically typed
Portable


Q: What is debugging?
Ans: Debugging is the process of finding and removing errors in a program.


How do you write comments in python?
Ans: #

Python is well suited to object orientated programming.


Q: What are the common built-in data types in Python?

Ans:  int, float, complex, bool, list, tuple, str, dict.

 

Q: What is a flowchart?
Ans: The flowchart is a pictorial representation of a program which helps in understanding the flow of control and data in the algorithm.

 

Q: What are Python namespaces

  • Built-in namespace
  • Global namespace
  • Enclosing namespaces
  • Local namespaces


Q: What is Break?
Ans: The break statement terminates the loop immediately and the control flows to the statement after the body of the loop.

 

Q: WHAT ARE CONSTANTS?
Ans: Constants are data values that remain the same whenever a computer program is initiated. 


Q: Define Operators.
Ans: Operators are symbols which are used to perform certain operations on a data.


Q: What is an algorithm?
Ans: An algorithm is a finite set of steps which, if followed, accomplish a particular task. An algorithm must be clear, finite and effective.

 

Q: What is docstring in Python?
Ans: Documentation string or docstring is a multiline string used to document a specific code segment

 

Q: What is an Array?
Ans: An array is a collection of contiguous memory locations which can store data of the same type.

 

Q: What are loops?
Ans:  The loop is a structure which can repeat a set of statements up to a fixed number of times or until a certain criterion is satisfied.

 

Q: What are variables?
Ans: Variables are named memory locations (memory cells) which are used to store the program’s input 

Report an error

Meanwhile you can watch this video

Watch Video
Latest Updates