Chapter 1 · Class 12 · CBSE · Science Computer Science
Database Management System
25 practice questions
Topics in this chapter
- DBMS Fundamentals and Architecture
- Database Models and Schema
- Entity Relationship Modeling
- Relational Tables and Keys
- SQL Queries and Commands
- Normalization and Data Integrity
- Database Security and Transactions
Cheat sheet
Cheat SheetPractice questions
- Question 1Q-61d54aSee the answer and solution
Whatever whatever we do do do ???
- A.we do ?
- B.They do ?
- C.really ?
- D.not really ?
- Question 2Q-D1D6CESee the answer and solution
Test
- Question 3Q-9A4967See the answer and solution
A relation named STUDENT has attributes RollNo, Name, Class and Email. RollNo is unique and never contains a NULL value, while the other attributes may contain duplicate values. Which attribute is most suitable as the primary key?
- A.Name
- B.Class
- C.RollNo
- D.Email
- Question 4Q-BE5DF8See the answer and solution
A relation named Employee has the attributes EmpID, EmpName, Department and Salary. Which SQL query displays the names of employees who belong to the IT department, earn more than 50000, and whose names are arranged in ascending alphabetical order?
- A.SELECT EmpName FROM Employee WHERE Department = 'IT' AND Salary > 50000 ORDER BY EmpName ASC;
- B.SELECT EmpName FROM Employee WHERE Department = 'IT' OR Salary > 50000 ORDER BY EmpName ASC;
- C.SELECT EmpName FROM Employee WHERE Department = 'IT' AND Salary < 50000 ORDER BY EmpName DESC;
- D.SELECT EmpName FROM Employee ORDER BY Department = 'IT' AND Salary > 50000;
- Question 5Q-B67FC5See the answer and solution
Explain why storing several phone numbers as a single comma-separated value in one attribute violates First Normal Form (1NF). Suggest a suitable relational design to store multiple phone numbers for each customer.
20 more questions on Database Management System
Sign up free to practise the full chapter. Questions you get wrong come back until you've mastered them.
Start practising freeFree to start · No credit card needed