Q1. Python programming language was made by ?
Answer is Guido Van Rossum
Q2. If A is an variable & A=5/2, it will return value __
Answer is 2.5
Q3. Library used for time operations in python
Answer is import time
Q4. Which data type is not ordered in python.
Answer is String
Q5.Which of the following is not a vaild datatype in Python
Answer is Char
Q6. How to insert comments in python
Answer is #comment
Q7. Which one is used for exception handling in Python
Answer is try-execpt
Q8.Defineing class in python
Q9. Which operator is used for expotential in Python
Answer is **
Q10. What hapens when you try acess an index which does'nt exist ?
Answer is: It raises an IndexError
Q11. ______ loops test the condition at the top of the loop.
Answer is While
Q12. ______ loops test the condition at the end of the loop.
Answer is Do While
Q13. Which of the following allows you to store data in key value pairs ?
Answer is dictionary
Q14. A member function for automatically created class is called
Answer is Constructor
Q15. Which of them is unordered and does not allow duplicates?
Answer is Destructor
Results.....
You have obtained
0 marks
Out of 30 marks in this exam.