MySQL – Data Types MCQ

MySQL – Data Types MCQ

1 / 22

1. What is the purpose of MySQL data types?

2 / 22

2. Which category of MySQL data types is used to store numbers?

3 / 22

3. Which data type is suitable for storing a person’s age in years?

4 / 22

4. Which data type is used for storing floating-point numbers in MySQL?

5 / 22

5. What is the primary use of VARCHAR data type in MySQL?

6 / 22

6. Which data type is used to store binary data like images or files?

7 / 22

7. What data type is commonly used to store date values in MySQL?

8 / 22

8. Which data type can store both date and time information in MySQL?

9 / 22

9. What is the primary use of ENUM data type in MySQL?

10 / 22

10. Which data type can be used to efficiently store JSON documents in MySQL?

11 / 22

11. Which data type is suitable for storing binary data like images or files?

12 / 22

12. What is the purpose of data type selection when defining a table in MySQL?

13 / 22

13. Which data type is typically used to store a person’s name in MySQL?

14 / 22

14. What is the primary difference between CHAR and VARCHAR data types?

15 / 22

15. Which data type is commonly used to store email addresses in MySQL?

16 / 22

16. When would you use a BLOB data type in MySQL?

17 / 22

17. Which data type is used for storing date and time values in MySQL?

18 / 22

18. What is the primary purpose of the JSON data type in MySQL?

19 / 22

19. Which data type would you choose to store a list of country names in MySQL?

20 / 22

20. What is the primary use of the SET data type in MySQL?

21 / 22

21. Which data type is appropriate for storing geographic coordinates in MySQL?

22 / 22

22. In which category of MySQL data types would you find the TINYINT data type?

Your score is

0%