Retrieving academic index assets...
Makaut
HomePYQsTests
Pricing
Sign Up
Makaut

The premier academic archive for MAKAUT students, providing curated previous year questions, solutions, and official syllabus resources.

Get the Mobile App
GET IT ONGoogle Play
Download on theApp Store
Download from Indus App Store
Platform
  • Home
  • PYQs
  • Question Papers
  • Viva Questions
  • Important Questions
  • Syllabus
  • Academic Tools
  • Pricing
  • Blog
Guidelines
  • Disclaimer
  • Community Guidelines
Company
  • About
  • Contact
  • FAQ
Legal
  • Privacy Policy
  • Terms of Service
  • Refund Policy
  • Cookie Policy
  • Subscription Policy
© 2026 MAKAUT Study Dev Hub. All rights reserved.
Platform version: v1.0.0
Viva Questions/PCC-CS601
Semester 6PCC-CS601

Database Management Systems (PCC-CS601) Viva Questions and Answers

35 Questions•7 min read
Prepared from MAKAUT past-year question papers.
Practice Mode:All answers visible
Jump to Topic
Keys and Integrity Constraints (1)DBMS Architecture (3)Relational Algebra (2)DML and Relational Model (1)ER Model (3)Transactions (3)Normalization (5)Concurrency Control (4)Recovery (2)Triggers and SQL (1)Views and SQL (1)Functional Dependencies (2)SQL Queries (2)Joins (1)Distributed Databases (1)Indexing (1)Keys (1)DBMS Basics (1)

Keys and Integrity Constraints

1 question
Q1.EASY

What is the difference between a super key, a candidate key, and a primary key?

A super key uniquely identifies a tuple but may contain redundant attributes. A candidate key is a minimal super key, and a primary key is the candidate key chosen by the designer.

DBMS Architecture

3 questions
Q2.MEDIUM

Why do we need the three-schema architecture in a DBMS?

It separates the physical storage (internal schema), logical structure (conceptual schema), and user views (external schema). This gives data independence and lets views change without affecting storage.
Q13.EASY

What is a data dictionary?

A data dictionary is a system catalog that stores metadata such as schemas, constraints, users, and statistics. The DBMS uses it to validate and optimize queries.
Q14.EASY

What are the three levels of data abstraction?

The physical level describes how data is stored, the logical level describes what data and relationships exist, and the view level describes user-specific portions of the database.

Relational Algebra

2 questions
Q3.EASY

What is a Cartesian product in relational algebra, and what is its main disadvantage?

It pairs every tuple of one relation with every tuple of another, producing all combinations. It can create huge, mostly meaningless results, so we usually follow it with a selection to recover useful tuples.
Q29.EASY

What is the difference between a unary and a binary operation in relational algebra?

A unary operation takes one relation, such as selection or projection. A binary operation takes two relations, such as union, join, or Cartesian product.

DML and Relational Model

1 question
Q4.MEDIUM

How does a procedural DML differ from a non-procedural DML?

A procedural DML specifies both what data is needed and how to retrieve it, as in relational algebra. A non-procedural DML specifies only what is needed, as in SQL or relational calculus.

ER Model

3 questions
Q5.EASY

What is a recursive relationship type? Give an example.

A recursive relationship is one where an entity type is related to itself. For example, an Employee entity can have a 'manages' relationship to another Employee.
Q15.MEDIUM

What is a disjointness constraint in an ER specialization?

It states that an entity can belong to at most one subclass of a specialization. If it is overlapping, an entity may belong to multiple subclasses.
Q28.EASY

What is the degree and cardinality of a relationship?

The degree is the number of entity types participating in the relationship, such as binary or ternary. Cardinality is the number of relationship instances, or the mapping ratio such as 1:1 or 1:N.

Transactions

3 questions
Q6.EASY

Explain the ACID properties of a transaction.

Atomicity means all-or-nothing execution; Consistency preserves database rules; Isolation keeps concurrent transactions separate; Durability ensures committed changes survive failures.
Q17.MEDIUM

What is the difference between a serial and a serializable schedule?

A serial schedule runs transactions one after another with no interleaving. A serializable schedule may interleave operations but produces an effect equivalent to some serial order.
Q34.MEDIUM

What is the difference between a serial schedule and a serializable schedule?

A serial schedule executes transactions one after another without interleaving. A serializable schedule interleaves operations but is equivalent to some serial schedule.

Normalization

5 questions
Q7.MEDIUM

What is a lossless-join decomposition?

A decomposition is lossless if joining the decomposed relations always reconstructs exactly the original relation, with no spurious tuples. For R split into R1 and R2, it holds if the common attributes form a super key of at least one part.
Q8.MEDIUM

When is a relation in 3NF?

A relation is in 3NF if it is in 2NF and no non-prime attribute is transitively dependent on a candidate key. Equivalently, for every nontrivial FD X→A, X is a super key or A is prime.
Q9.HARD

Is every 3NF relation with only two columns in BCNF?

Yes. With two attributes, any nontrivial FD has the left side as a candidate key, so 3NF implies BCNF. With three columns, a 3NF relation can still violate BCNF.
Q21.HARD

What is a multivalued dependency?

An MVD X→→Y means that for each X value, the set of Y values is independent of the other attributes. It leads to 4NF when nontrivial MVDs are not implied by candidate keys.
Q31.EASY

What is the purpose of normalization?

Normalization reduces redundancy and avoids insertion, deletion, and update anomalies. It organizes attributes into relations based on dependencies.

Concurrency Control

4 questions
Q10.HARD

What is the difference between two-phase locking and timestamp-based concurrency control?

Two-phase locking uses locks and a growing/shrinking phase to ensure serializability. Timestamp ordering avoids locks by aborting transactions that access data out of timestamp order.
Q25.MEDIUM

What are the major problems of concurrency in transactions?

The main problems are lost update, dirty read, and unrepeatable read. These occur when interleaved transactions read or overwrite uncommitted or changing data.
Q30.MEDIUM

What is the difference between a deadlock and a starvation in DBMS?

Deadlock is a cycle where transactions wait for each other forever. Starvation is when a transaction keeps getting delayed because others are repeatedly favored.
Q35.MEDIUM

What is the difference between a shared lock and an exclusive lock?

A shared lock allows multiple transactions to read the same item concurrently. An exclusive lock allows only one transaction to read or write the item.

Recovery

2 questions
Q11.HARD

What are the roles of the Analysis, Redo, and Undo phases in ARIES recovery?

Analysis identifies the dirty pages and active transactions at the time of crash. Redo repeats history to restore all committed updates, and Undo rolls back uncommitted transactions.
Q12.MEDIUM

What is a checkpoint in a DBMS?

A checkpoint is a point where the DBMS flushes modified buffers and logs a checkpoint record. Recovery can then start from the checkpoint instead of scanning the entire log.

Triggers and SQL

1 question
Q16.MEDIUM

What is a trigger that triggers itself called?

It is called a recursive trigger. It can cause infinite firing unless the DBMS limits recursion or the trigger condition eventually becomes false.

Views and SQL

1 question
Q18.MEDIUM

What is a view, and what are the main problems with updates through views?

A view is a virtual relation defined by a query, not stored physically. Updates through views can be ambiguous, may not map to base tuples, and may violate constraints, so many views are read-only.

Functional Dependencies

2 questions
Q19.EASY

What is a functional dependency?

An FD X→Y means that whenever two tuples agree on X, they must also agree on Y. It expresses a constraint that X determines Y.
Q20.MEDIUM

What is the closure of a set of attributes?

The closure X+ is the set of all attributes functionally determined by X under the given FDs. We compute it by repeatedly adding attributes implied by FDs whose left side is already in the closure.

SQL Queries

2 questions
Q22.MEDIUM

How would you write a SQL query to find employees who earn more than the average salary of their company?

Use a correlated subquery: SELECT e.name FROM Employee e WHERE e.salary > (SELECT AVG(salary) FROM Employee m WHERE m.company = e.company).
Q23.MEDIUM

How do you find the company with the smallest payroll in SQL?

Group by company, sum salaries, order ascending, and take the first row, for example: SELECT company FROM Employee GROUP BY company ORDER BY SUM(salary) ASC LIMIT 1.

Joins

1 question
Q24.EASY

What is the difference between a left outer join and a full outer join?

A left outer join keeps all tuples from the left relation and fills NULLs for unmatched right tuples. A full outer join keeps unmatched tuples from both relations.

Distributed Databases

1 question
Q26.HARD

What is the two-phase commit protocol?

The coordinator asks participants to prepare, and each participant votes yes or no. If all vote yes, the coordinator tells them to commit; otherwise they abort, ensuring atomic commit across sites.

Indexing

1 question
Q27.MEDIUM

What is the difference between a B-tree and a B+-tree?

In a B-tree, data records can appear in internal nodes as well as leaves. In a B+-tree, all records are in the leaves and internal nodes only guide the search, making range queries efficient.

Keys

1 question
Q32.EASY

What is the difference between a candidate key and a primary key?

A candidate key is any minimal attribute set that uniquely identifies a tuple. The primary key is the one candidate key selected for actual use, and it cannot be NULL.

DBMS Basics

1 question
Q33.EASY

What is the difference between a file system and a DBMS?

A file system stores raw files without centralized control, while a DBMS provides data independence, integrity, concurrency, recovery, and controlled access. A DBMS reduces redundancy and inconsistency.

Frequently Asked Viva Voce Questions

High-priority theoretical and lab evaluation questions typically tested by MAKAUT external examiners.

Related Course Resources

PYQDatabase Management Systems Solved PYQs
Open resource
IMPORTANTDatabase Management Systems Important Questions
Open resource
HUBDatabase Management Systems Subject Overview
Open resource
SYLLABUSDatabase Management Systems Syllabus & Handouts
Open resource

On This Page

18 Units
Keys and Integrity Constraints1
DBMS Architecture3
Relational Algebra2
DML and Relational Model1
ER Model3
Transactions3
Normalization5
Concurrency Control4
Recovery2
Triggers and SQL1
Views and SQL1
Functional Dependencies2
SQL Queries2
Joins1
Distributed Databases1
Indexing1
Keys1
DBMS Basics1