Data Types and Variables – Multiple Choice Questions (MCQs)
- 
                        
- 
                        2. Which of the following is an immutable built-in data type in Python?
- 
                        3. Given `x = '5'` and `y = 3`, what will be the output of `print(x * y)`?
- 
                        4. Which of the following is a valid way to declare a string in Python?
- 
                        5. What is the output of `print(type({1, 'a'}))`?
- 
                        6. Which of the following operations will result in a TypeError in Python?
- 
                        7. What is the correct way to convert the string `'123'` to an integer in Python?
- 
                        8. What will be the value of `x` after the execution of `x = 5; x += '3'`?
- 
                        9. Which of the following is a valid way to create an empty dictionary in Python?
- 
                        10. What will be the output of `print(bool(0), bool(1), bool(''))`?
- 
                        11. Which of the following is NOT a valid boolean value in Python?
- 
                        12. What is the term used for converting a value of one data type to another?
