SQLite – 1 – Introduction to SQLite MCQ

SQLite – Introduction to SQLite

1 / 26

1. What is SQLite?

2 / 26

2. Which of the following is true about SQLite’s data storage?

3 / 26

3. In SQLite, what is the maximum size of a single database file?

4 / 26

4. Which programming languages have SQLite libraries or bindings available?

5 / 26

5. What type of database management system is SQLite classified as?

6 / 26

6. What file extension is commonly used for SQLite database files?

7 / 26

7. Which of the following data types does SQLite support?

8 / 26

8. In SQLite, how do you comment a single line of SQL code?

9 / 26

9. What command is used to create a new SQLite database?

10 / 26

10. In SQLite, how do you define a primary key constraint when creating a table?

11 / 26

11. Which SQL command is used to retrieve data from a SQLite database?

12 / 26

12. What is the purpose of the SQLite command “ATTACH DATABASE”?

13 / 26

13. What happens if you try to insert a row with a duplicate primary key in SQLite?

14 / 26

14. Which SQL command is used to delete records from a SQLite table?

15 / 26

15. What is the purpose of the SQLite command “VACUUM”?

16 / 26

16. What is the default isolation level in SQLite?

17 / 26

17. In SQLite, what is the purpose of the “UNIQUE” constraint on a column?

18 / 26

18. What is the purpose of the SQLite command “BEGIN TRANSACTION”?

19 / 26

19. How do you terminate a transaction in SQLite without making any changes?

20 / 26

20. Which of the following statements is true about indexing in SQLite?

21 / 26

21. What is the purpose of the SQLite command “ALTER TABLE”?

22 / 26

22. Which of the following is NOT a way to interact with SQLite?

23 / 26

23. What does the acronym “ACID” stand for in the context of databases?

24 / 26

24. In SQLite, what command is used to drop a table from a database?

25 / 26

25. Which of the following is NOT a valid data type in SQLite?

26 / 26

26. What does “CRUD” stand for in the context of database operations?

Your score is

0%