>

Python Quiz Day Two

Hello Guys, we hope you and your family are safe. Today, we have come up with a new python quiz based on python variables. This quiz was asked by some of the followers on Instagram (@_tech_tutor).

Quiz Based on Variable of Python

1. Which of the following is not a variable?

 
 
 
 

2. In Python, all the keywords are in _____? 

 
 
 
 

3. Consider the following sequence of the statement:

After these statements were executed, Python Generated how many objects, and how many references? 

 
 
 
 

4. Which built-in function is used to return the unique assigned number to an object? 

 
 
 
 

5. Which of the following is not used as a keyword? 

 
 
 
 

6. What type is type(range(5)) in Python 3?

 
 
 
 

7. What is the output if the below variable assignment? 

 
 
 
 

8. Which of the following statement is considered an invalid statement? 

 
 
 
 

9. What is an identifier’s maximum possible length? 

 
 
 
 

10. What is the output of the below code? 

 
 
 
 

Let us know if you have any queries:

2 thoughts on “Python Quiz Day Two

Comments are closed.