π― MASTER SUBJECT HUB
CS403 - Database Management Systems Questions and Answers
Practice 10 verified multiple choice questions per batch with instant answer reveal and comprehensive solutions.
Showing 1 β 10 of 403 Questions
Page 1 of 41
Q1β MCQπ Lec 30HardπRepeatedβHigh-Yieldπ‘ConceptualπStarred
Consider an 'employees' table containing the following records:
- emp_id: '001', salary: 62000, dept_id: 500
- emp_id: '002', salary: 57500, dept_id: 500
- emp_id: '003', salary: 71000, dept_id: 501
- emp_id: '004', salary: 42000, dept_id: 501
What will be the numeric output of executing the following SQL command?
SELECT COUNT(DISTINCT dept_id) AS total FROM employees WHERE salary > 50000;
Q2β MCQπ Lec 31MediumπRepeatedβHigh-Yieldπ‘ConceptualπStarred
Which relational join returns all records when there is a matching key in either the left table (table1) or the right table (table2), filling in NULLs for mismatched rows on both sides?
Q3β MCQπ Lec 23HardπRepeatedβHigh-Yieldπ‘ConceptualπStarred
Consider a fully normalized relational database schema in Second Normal Form (2NF) with two tables:
- STUDENTS(StudentID, StudentName, ClassID)
- CLASSES(ClassID, CourseTitle, Venue)
Under database maintenance guidelines, you are requested to perform a 'De-normalization' step to convert these tables back into a single, flat First Normal Form (1NF) relation [7]. What is the correct flat schema representation and what specific anomalies will be reintroduced into the design?
Q4β MCQπ Lec 28EasyπRepeatedβHigh-Yieldπ‘Conceptual
Which of the following clauses, keywords, or constraints is NOT related to or a part of the basic SQL SELECT statement structure?
Q5β MCQπ Lec 20EasyπRepeatedβHigh-Yieldπ‘Conceptual
If a database relation has successfully satisfied the Second Normal Form (2NF) requirements but is not yet in Third Normal Form (3NF), then update, insertion, and deletion anomalies are due to which of the following dependencies?
Q6β MCQπ Lec 8EasyπRepeatedβHigh-Yieldπ‘Conceptual
Under standard relational database guidelines, which key or column classification is strictly used to guarantee that every individual row (tuple) of a table can be uniquely identified?
Q7β MCQπ Lec 20MediumπRepeatedβHigh-Yieldπ‘Conceptual
The structural rules and formal definition of the Second Normal Form (2NF) are theoretically established upon which of the following functional dependency concepts?
Q8β MCQπ Lec 20EasyπRepeatedβHigh-Yieldπ‘ConceptualπStarred
A relational database table is considered to have successfully satisfied the criteria of the Second Normal Form (2NF) if it is already in 1NF and completely eliminates which of the following dependencies?
Q9β MCQπ Lec 28EasyπRepeatedβHigh-Yieldπ‘Conceptual
Which of the following statements is true regarding the use of the DISTINCT keyword in a SQL SELECT statement?
Q10β MCQπ Lec 9MediumπRepeatedβHigh-Yieldπ‘ConceptualπStarred
Consider the ERD segment representing a '1:1 Sponsored Person' relationship. Since only a single entity type ('Person') participates in this association, which classification does this relationship fall under?