Database Management Systems · Database Management Systems With a foreign key defined as ON DELETE CASCADE, deleting a parent row will: A Fail if any child rows still reference it B Leave the child rows completely unchanged C Set the child foreign keys to NULL values D Automatically delete the matching child rows Correct answer MCQSEXAM Show answer Read explanation
Database Management Systems · Database Management Systems Which SQL statement undoes changes made in the current transaction that have not yet been committed? A RELEASE B ROLLBACK Correct answer C RESTORE D REVOKE MCQSEXAM Show answer Read explanation
Database Management Systems · Database Management Systems A candidate key in a relational schema is: A A combination of all table columns B Any column that has no NULL values C A key borrowed from another table D A minimal super key Correct answer MCQSEXAM Show answer Read explanation
Database Management Systems · Database Management Systems Under write-ahead logging (WAL), what must happen before a modified data page is written to disk? A All locks on that page must be released B Its log records must be flushed to stable storage Correct answer C A database checkpoint must be completed D The transaction must be fully committed first MCQSEXAM Show answer Read explanation
Database Management Systems · Database Management Systems A table has 10 rows, and 3 of them have NULL in the email column. What does SELECT COUNT(email) return? A 0 B 10 C 3 D 7 Correct answer MCQSEXAM Show answer Read explanation
Database Management Systems · Database Management Systems Which index structure does MySQL's InnoDB engine use by default? A Bitmap index B Hash table C Binary search tree D B+ tree Correct answer MCQSEXAM Show answer Read explanation
Database Management Systems · Database Management Systems Which of these is NOT one of the four Coffman conditions required for a deadlock? A Circular wait among processes B Mutual exclusion of resources C Hold and wait on resources D Pre-emption of held resources Correct answer MCQSEXAM Show answer Read explanation
Database Management Systems · Database Management Systems Each department has many employees, and each employee belongs to one department. From Department to Employee, the relationship is: A Self-referencing B One-to-many Correct answer C Many-to-many D One-to-one MCQSEXAM Show answer Read explanation
Database Management Systems · Database Management Systems Which SQL join returns only the rows that have matching values in both tables? A RIGHT JOIN B CROSS JOIN C LEFT JOIN D INNER JOIN Correct answer MCQSEXAM Show answer Read explanation
Database Management Systems · Database Management Systems In SQL, a view is: A A virtual table based on a query Correct answer B A physical copy of a table on disk C An index that speeds up searches D A backup snapshot of the database MCQSEXAM Show answer Read explanation
Database Management Systems · Database Management Systems Which normal form requires every column to hold atomic values, with no repeating groups? A Boyce–Codd Normal Form B Second Normal Form (2NF) C Third Normal Form (3NF) D First Normal Form (1NF) Correct answer MCQSEXAM Show answer Read explanation
Database Management Systems · Database Management Systems In an ER model, a weak entity is one that: A Takes part in no relationships at all B Is stored only in temporary tables C Has no attributes other than a key D Cannot be identified by its own attributes Correct answer MCQSEXAM Show answer Read explanation
Database Management Systems · Database Management Systems A primary key column in a relational table must be: A Unique and never NULL Correct answer B Numeric and auto-incremented C Unique but allowed to be NULL D Referenced by another table MCQSEXAM Show answer Read explanation
Database Management Systems · Database Management Systems Which SQL clause filters groups after aggregation has been applied? A ORDER BY B HAVING Correct answer C GROUP BY D WHERE MCQSEXAM Show answer Read explanation
Database Management Systems · Database Management Systems In the ACID properties of database transactions, 'A' stands for: A Aggregation B Atomicity Correct answer C Availability D Authentication MCQSEXAM Show answer Read explanation
Database Management Systems · Database Management Systems Which SQL command removes all rows from a table but keeps the table structure, usually faster than DELETE? A ALTER B ROLLBACK C DROP D TRUNCATE Correct answer MCQSEXAM Show answer Read explanation
Database Management Systems · Database Management Systems What is a database? A Organized collection of information that cannot be accessed, updated, and managed B Collection of data or information without organizing C Organized collection of data or information that can be accessed, updated, and managed Correct answer D Organized collection of data that cannot be updated MCQSEXAM Show answer Read explanation
Database Management Systems · Database Management Systems What is the full form of DBMS? A Data of Binary Management System B Database Management System Correct answer C Database Management Service D Data Backup Management System MCQSEXAM Show answer Read explanation
Database Management Systems · Database Management Systems A relation between 2 set of attributes is called as A Join dependency B Association C Functional Dependency Correct answer D Multivalued dependency MCQSEXAM Show answer Read explanation
Database Management Systems · Database Management Systems A relation Schema R is in ……….. if it is in 3NF and satisfies an additional constant thatfor every FD X->A. X must be a candidate key. A 1 NF B 2 NF C 3 NF D BCNF Correct answer MCQSEXAM Show answer Read explanation