Skip to content
πŸ“š Free notes, MCQ tests & past papers β€” FBISE & BISE Rawalpindi
πŸ“’ Latest Updates

ECAT Computer Science (ICS) Chapter 5: Databases and SQL MCQs Online Test 2027

Reviewed by Sadia Shahid, Senior Science teacher (Maths, Physics, Chemistry, Biology, Computer Science)

For ICS students taking UET ECAT with Computer Science in place of Chemistry: this free test covers Databases and SQL with 25 MCQs, written by our teachers to the FSc (ICS) Computer Science syllabus, with answers and explanations.

Choose Practice mode to see each answer and explanation straight away, or Exam mode for a timed attempt (one minute per question). Questions and options are shuffled on every attempt, and after submitting you can review only the questions you got wrong.

Last reviewed: 24 November 2026 Β· Syllabus: FSc Part I and II (Punjab Textbook Board), the base for UET ECAT and the NUST NET engineering stream.

Computer Science in ECAT

UET offers combinations such as Mathematics, Physics and Computer Science, and Mathematics, Statistics and Computer Science. Computer Science then carries the same share as Chemistry: 30 of the 100 MCQs. NUST NET (Engineering and Computing) does not have a separate Computer Science section.

Databases and SQL: 25 MCQs

0/25 answered

Practice mode shows the answer as soon as you choose. Exam mode gives one minute per question and shows results at the end.

1. The SQL command used to add a new record is:

βœ” INSERT INTO table VALUES (…).
Report a mistake

2. The SQL command to remove records is:

βœ” DROP removes a whole table.
Report a mistake

3. Data integrity means that data is:

βœ” Constraints help maintain it.
Report a mistake

4. A foreign key is used to:

βœ” It refers to the primary key of another table.
Report a mistake

5. MS Access and MySQL are examples of:

βœ” They manage databases.
Report a mistake

6. A column in a table is called a:

βœ” e.g. Name, Age.
Report a mistake

7. A relationship where one record in table A relates to many records in table B is:

βœ” e.g. one class has many students.
Report a mistake

8. The SQL command used to retrieve data is:

βœ” e.g. SELECT * FROM Students.
Report a mistake

9. In an ER diagram, an entity is shown by a:

βœ” Attributes are ovals; relationships are diamonds.
Report a mistake

10. A primary key is a field that:

βœ” It cannot be null or repeated.
Report a mistake

11. Normalization of a database is done to:

βœ” Tables are split into smaller related tables.
Report a mistake

12. SQL stands for:

βœ” Used to manage relational databases.
Report a mistake

13. DBMS stands for:

βœ” Software to create and manage databases.
Report a mistake

14. In a relational database, data is stored in:

βœ” Rows and columns.
Report a mistake

15. The SQL function that counts rows is:

βœ” e.g. SELECT COUNT(*) FROM Students.
Report a mistake

16. The SQL command to create a new table is:

βœ” It defines the columns and their types.
Report a mistake

17. Data redundancy means:

βœ” Databases reduce redundancy.
Report a mistake

18. SELECT * FROM Students returns:

βœ” * means all columns.
Report a mistake

19. An ER diagram is used to:

βœ” Entity–Relationship diagram.
Report a mistake

20. A row in a table is called a:

βœ” One complete set of data.
Report a mistake

21. A query in a database is used to:

βœ” Queries filter and combine data.
Report a mistake

22. The SQL command used to change existing data is:

βœ” UPDATE table SET … WHERE …
Report a mistake

23. The SQL clause used to sort records is:

βœ” ASC or DESC.
Report a mistake

24. A database is:

βœ” e.g. student records.
Report a mistake

25. The SQL clause used to filter records is:

βœ” e.g. WHERE Age β€Ί 18.
Report a mistake

More practice: all Computer Science tests Β· all ECAT and NUST NET tests

Please confirm all dates and figures on the official websites: ecat.uet.edu.pk and ugadmissions.nust.edu.pk

Preparing for ECAT or NUST NET 2027? Join our live online classes for FSc Mathematics, Physics and Chemistry. Book a free demo class.

πŸ“Œ Struggling with this chapter? Join our live online tuition β€” one-to-one or small group classes with experienced teachers. Book a free demo class β†’

Ask a question about this topic

Your email address will not be published. Required fields are marked *