Computational Thinking and Programming-I Quiz 4

Last updated on May 29th, 2023 at 10:35 am

Topics- Operators: arithmetic operators, relational operators, logical operators, assignment operators, augmented assignment operators, identity operators (is, is not), membership operators (in not in)

1. Which of the following is an arithmetic operator in Python?

 
 
 
 

2. What is the result of the expression 10 / 3 in Python?

 
 
 
 

3. Which operator is used for exponentiation in Python?

 
 
 
 

4. What is the result of the expression 8 // 3 in Python?

 
 
 
 

5. Which of the following is a relational operator in Python?

 
 
 
 

6. What is the result of the expression 5 > 3 in Python?

 
 
 
 

7. Which operator is used for checking if two values are equal in Python?

 
 
 
 

8. Which operator is used to combine multiple conditions in Python?

 
 
 
 

9. What is the result of the expression True and False in Python?

 
 
 
 

10. Which operator is used for assigning a value to a variable in Python?

 
 
 
 

11. What is the result of the expression x += 3 if x is initially 5 in Python?

 
 
 
 

12. Which operator is used to check if two objects are the same in Python?

 
 
 
 

13. What is the result of the expression 2 in [1, 2, 3] in Python?

 
 
 
 

14. Which operator is used to check if an element is not present in a collection in Python?

 
 
 
 

15. What is the result of the expression 3 is not 4 in Python?

 
 
 
 

Jitendra Singh
✔ Verified Educator

Jitendra Singh

Founder of CBSEPython.in

I help CBSE Class 9–12 students learn Python, Information Technology, Artificial Intelligence and Computer Science through easy notes, quizzes, MCQs and sample papers.

Read More About Me →
error: Content is protected !!