NSCT – Data Types & Variables MCQs

39 min Score: 0 Attempted: 0/39 Subscribe
1. Which of the following is a numeric data type in Python?





2. Which data type is used to store text in Python?





3. Which of the following represents a floating-point number?





4. Which data type has only two possible values: True or False?





5. What is the correct way to declare a variable in Python?





6. Which of the following is a valid variable name in Python?





7. Which of the following is used to check the type of a variable in Python?





8. What is the output of type(5.0) in Python?





9. Which of the following converts an integer to a string in Python?





10. Which of the following converts a string to an integer in Python?





11. Which of the following is mutable in Python?





12. Which of the following is immutable in Python?





13. Which of the following stores multiple items in a single variable?





14. What will be the type of x after the statement x = True?





15. Which of the following is a valid assignment statement?





16. Which of the following is used to store a collection of key-value pairs?





17. Which of the following is a sequence data type in Python?





18. What is the type of "Hello World"?





19. Which of the following is used to represent no value in Python?





20. Which of the following is a valid variable assignment with multiple variables in one line?









21. Which data type is used to store text in Python?





22. Which of the following represents a floating-point number?





23. Which data type has only two possible values: True or False?





24. What is the correct way to declare a variable in Python?





25. Which of the following is a valid variable name in Python?





26. Which of the following is used to check the type of a variable in Python?





27. What is the output of type(5.0) in Python?





28. Which of the following converts an integer to a string in Python?





29. Which of the following converts a string to an integer in Python?





30. Which of the following is mutable in Python?





31. Which of the following is immutable in Python?





32. Which of the following stores multiple items in a single variable?





33. What will be the type of x after the statement x = True?





34. Which of the following is a valid assignment statement?





35. Which of the following is used to store a collection of key-value pairs?





36. Which of the following is a sequence data type in Python?





37. What is the type of "Hello World"?





38. Which of the following is used to represent no value in Python?





39. Which of the following is a valid variable assignment with multiple variables in one line?





All Copyrights Reserved 2025 Reserved by T4Tutorials