|Database Management Systems PYQs

UGC NET Computer Science Database Management Systems Previous Year Questions (PYQs)

Practise 37 Database Management Systems questions asked in UGC NET Computer Science from 2020–2025. Questions cover Data models, Relational algebra, Integrity constraints, Functional dependencies and normalisation, Transaction processing and Locking protocols. Every question is shown with its options and the correct answer, free to read.

37 PYQs2020–2025Answers includedFree

Practise Database Management Systems as timed sets

Focused 10-question sets with instant scoring, explanations, and weak-area analysis.

Start practice

All 37 Database Management Systems PYQs

Ordered newest exam first. Each question links back to the full paper it came from.

  1. Which table contains the primary information in a data warehouse?

    1. ADimension table
    2. BFact table
    3. CLookup table
    4. DPrimary table

    Answer: (B) Fact table

    Explanation

    Sign in to read the full explanation
  2. Match List-I with List-II.

    List-IList-II
    A. Project-join normal form
    B. Lost-update problem
    C. Discretionary access control
    D. Data-manipulation language
    I. Concurrency
    II. Fifth normal form
    III. SQL
    IV. Security
    1. AA-II, B-I, C-IV, D-III
    2. BA-I, B-II, C-IV, D-III
    3. CA-I, B-II, C-III, D-IV
    4. DA-IV, B-II, C-III, D-I

    Answer: (A) A-II, B-I, C-IV, D-III

    Explanation

    Sign in to read the full explanation
  3. The degree of a relation in a database is

    1. Athe number of tuples in the relation
    2. Bthe number of attributes in the relation
    3. Cthe number of values in a domain
    4. Dthe number of keys in a relation

    Answer: (B) the number of attributes in the relation

    Explanation

    Sign in to read the full explanation
  4. What is the correct sequence of phases of database design?

    A. Physical design
    B. Conceptual design
    C. Logical design
    D. Requirement collection and analysis

    1. AD, A, B, C
    2. BD, B, C, A
    3. CD, B, A, C
    4. DD, A, C, B

    Answer: (B) D, B, C, A

    Explanation

    Sign in to read the full explanation
  5. An alternate key in a database table is also called

    1. APrimary key
    2. BCandidate key
    3. CSuper key
    4. DForeign key

    Answer: (B) Candidate key

    Explanation

    Sign in to read the full explanation
  6. In concurrency control, a phantom problem may occur when

    1. Arecords are inserted
    2. Brecords are deleted
    3. Crecords are modified
    4. Drecords are indexed

    Answer: (A) records are inserted

    Explanation

    Sign in to read the full explanation
  7. INSERT command is used to:

    A. add a single tuple to a relation
    B. add multiple tuples to a relation
    C. add values to specific attributes
    D. insert a new table

    1. AA only
    2. BA and B only
    3. CA, B and C only
    4. DB, C and D only

    Answer: (C) A, B and C only

    Explanation

    Sign in to read the full explanation
  8. Which of the following statements is/are false?

    A. A relation having only key attributes is always in BCNF, since it has no functional dependencies.
    B. If a relation is not in 4NF because of a non-trivial multivalued dependency, it should be decomposed.
    C. Decomposition can remove redundancy caused by a multivalued dependency.
    D. Third normal form is stronger than BCNF.

    1. AA only
    2. BA and B only
    3. CD only
    4. DC only

    Answer: (C) D only

    Explanation

    Sign in to read the full explanation
  9. Which of the following commands can be used to modify data in an SQL table?

    A. INSERT
    B. DELETE
    C. UPDATE
    D. SELECT

    1. AA, B and D only
    2. BA, C and D only
    3. CB, C and D only
    4. DA, B and C only

    Answer: (D) A, B and C only

    Explanation

    Sign in to read the full explanation
  10. Match List-I with List-II.

    List-IList-II
    A. Hadoop Distributed File System
    B. Veracity
    C. Apache Pig
    D. Apache Hive
    I. Trust
    II. Facebook
    III. NameNode
    IV. Yahoo
    1. AA-IV, B-III, C-I, D-II
    2. BA-III, B-I, C-II, D-IV
    3. CA-II, B-I, C-IV, D-II
    4. DA-II, B-III, C-I, D-IV

    Answer: (C) A-II, B-I, C-IV, D-II

    Explanation

    Sign in to read the full explanation
  11. In a schema R(A, B, C, D, E, F, G, H), each field of R
    contains only atomic values.
    F= {CH→G, A →BC, B→CFH, E→A, F→EG} is a set
    of functional dependencies F+ is exactly the set
    of FDs that holds R. The relation R is :

    1. AIn 1NF, but not in 2 NF
    2. BIn 2 NF , but not in 3 NF
    3. CIn 3NF, but not in BCNF
    4. DIn BCNF

    Answer: (A) In 1NF, but not in 2 NF

    Explanation

    Sign in to read the full explanation
  12. Consider a relation schema R=(U, V, W, X, Y, Z), on
    which the following functional dependencies
    hold
    {U→V, VW→X, Y→W; X→U}
    The candidate keys of R are :

    1. AUY, VY
    2. BUY, VY, XY
    3. CUYZ, VYZ, VWZ
    4. DUYZ, VYZ, XYZ

    Answer: (D) UYZ, VYZ, XYZ

    Explanation

    Sign in to read the full explanation
  13. Match List-I with List-II.

    List-IList-II
    (A) Representation of bits(I) Transport layer
    (B) Physical Address(II) Physical layer
    (C) Logical Address(III) Network layer
    (D) Segmentation and reassembly(IV) Data link layer
    1. A(A)-(I), (B)-(II), (C)-(III), (D)-(IV)
    2. B(A)-(II), (B)-(IV), (C)-(III), (D)-(I)
    3. C(A)-(III), (B)-(II), (C)-(IV), (D)-(I)
    4. D(A)-(I), (B)-(IV), (C)-(III), (D)-(II)

    Answer: (B) (A)-(II), (B)-(IV), (C)-(III), (D)-(I)

    Explanation

    Sign in to read the full explanation
  14. Consider a schema R(P, Q, R, S) and the following
    functional dependencies P → Q, Q → R, R → S, S
    → Q. Then decomposition of R (P, Q), R (Q, R)
    and R 3(Q, S) is :

    1. ADependency Preserving and lossless join
    2. BLossless Join but not dependency preserving
    3. CDependency preserving but not lossless Join
    4. DNot dependency preserving and not lossless join

    Answer: (A) Dependency Preserving and lossless join

    Explanation

    Sign in to read the full explanation
  15. What is SQL primarily used for in the context of
    relational databases ?

    1. ATo design user interfaces
    2. BTo create and manipulate databases
    3. CTo display data on web pages
    4. DTo format printed reports

    Answer: (B) To create and manipulate databases

    Explanation

    Sign in to read the full explanation
  16. How does a relational database ensure data
    integrity ?

    1. ABy encrypting all data stored
    2. BBy enforcing rules defined in the schema
    3. CBy compressing data for efficient storage
    4. DBy allowing unrestricted access to all users

    Answer: (B) By enforcing rules defined in the schema

    Explanation

    Sign in to read the full explanation
  17. Fifth normal form is concerned with :

    1. AJoin Dependency
    2. BDomain-Key
    3. CMultivalued dependency
    4. DFunctional dependency

    Answer: (A) Join Dependency

    Explanation

    Sign in to read the full explanation
  18. Consider the transactions T₁, T₂, T₃, and the
    schedules S₁ and S₂ given below.
    T₁: r₁(x); r₁(z); w₁(z)
    T₂: r₂(y); r₂(z); w₂(z)
    T₃: r₃(y); r₃(x); w₃(y)
    S₁ : r₁(x); r₃(y); r₃(x); r (y); r₂(z); w (y); w (z);
    r (z); w (x); w (z)
    S₂ : r₁(x); r₃(y); r (y), r₃(x); r₁(z); r₂(z); w₃(y);
    w₁(x); w₂(z); w₁(z)
    Which one of the following statements about the
    schedules is TRUE?

    1. AOnly S₁ is conflict-serializable
    2. BOnly S₂ is conflict-serializable
    3. CBoth S₁ and S₂ are conflict-serializable
    4. DNeither S₁ nor S₂ is conflict-serializable

    Answer: (A) Only S₁ is conflict-serializable

    Explanation

    Sign in to read the full explanation
  19. Which of the following relations can not be
    decomposed in to BCNF with a lossless join and
    dependency-preserving decomposition?

    1. AR (V,W,X,Y,Z) {VW→X, WX→V, VX→W, W→Y, Y→Z}
    2. BR (V,W,X,Y,Z) {VW→W, X→Y}
    3. CR (V,W,X,Y,Z) {VW→X,X→VY}
    4. DR (V,W,X,Y,Z) {VW→X, X→Y, Y→Z, Z→V}

    Answer: (A) R (V,W,X,Y,Z) {VW→X, WX→V, VX→W, W→Y, Y→Z}

    Explanation

    Sign in to read the full explanation
  20. Which of the following best describes the
    structure of a relational database ?

    1. AData organized into tables with rows and columns
    2. BData organized into files and folders
    3. CData organized into a hierarchical tree structure
    4. DData organized into a network of interconnected nodes

    Answer: (A) Data organized into tables with rows and columns

    Explanation

    Sign in to read the full explanation
  21. Match List-I with List-II.

    List-I (operating system concepts)List-II (characteristics)
    (A) Paging(I) Evicts least recently used process
    (B) LRU (Least Recently Used)(II) Extends physical memory
    (C) C-SCAN(III) Logical to physical mapping
    (D) Virtual Memory(IV) Circular disk access
    1. A(A)-(III), (B)-(IV), (C)-(I), (D)-(II)
    2. B(A)-(III), (B)-(I), (C)-(IV), (D)-(II)
    3. C(A)-(I), (B)-(III), (C)-(IV), (D)-(II)
    4. D(A)-(I), (B)-(IV), (C)-(III), (D)-(II)

    Answer: (B) (A)-(III), (B)-(I), (C)-(IV), (D)-(II)

    Explanation

    Sign in to read the full explanation
  22. Arrange the following phases of database design
    in the correct order :
    A. Physical Design
    B. Conceptual Design
    C. Logical Design
    D. Requirement Analysis

    1. A(B), (D), (A), (C)
    2. B(C), (A), (B), (D)
    3. C(D), (B), (C), (A)
    4. D(A), (D), (C), (B)

    Answer: (C) (D), (B), (C), (A)

    Explanation

    Sign in to read the full explanation
  23. The Hue of a colour is related to its :

    1. ALuminance
    2. BSaturation
    3. CIncandescence
    4. DWavelength

    Answer: (D) Wavelength

    Explanation

    Sign in to read the full explanation
  24. Which of the statement are CORRECT ?
    A. Constructors are invoked automatically when the objects are created.
    B. Constructors do not have return types, not even void and therefore they cannot return values.
    C. Constructors cannot be inherited though a derived class can call the base class constructors.
    D. Constructors can be declared as virtual. Choose the correct answer from the options given below :

    1. A(A), @) and (D) Only
    2. B(A), @) and (© Only
    3. C(B), (©) and (D) Only
    4. D(A), © and (D) Only

    Answer: (B) (A), @) and (© Only

    Explanation

    Sign in to read the full explanation
  25. Which one of the following statements are CORRECT ?
    A. Granularity is the size of data item in a database.
    B. Two operations in a schedule are said to be conflict if they belong to same transaction.
    C. Two schedulers are said to be conflict equivalent if the order of any two conflicting operations is the same in both schedules.
    D. Write operations which are performed without performing the write operation are known as Blind Writes. Choose the correct answer from the options given below :

    1. A(A) and @) Only
    2. B(A), (B) and (C) Only
    3. C(A), (B) and (D) Only
    4. D(B) and (C) Only

    Answer: (B) (A), (B) and (C) Only

    Explanation

    Sign in to read the full explanation
  26. Practise Database Management Systems in a timed set
  27. Which of the following is/are NOT CORRECT statement ?
    A. The first record in each block of the data file is known as actor record.
    B. Dense index has index entries for every search key value in the data file.
    C. Searching is harder in the B* tree than B— tree as the all external nodes linked to each other.
    D. In extendible hashing the size of directory is just an array of 24—, where d is global depth. Choose the correct answer from the options given below :

    1. A(A), (B) and (©) Only
    2. B(A), (©) and (D) Only
    3. C(A), (B) and (D) Only
    4. D(A), (B), ©) and (D) Only

    Answer: (B) (A), (©) and (D) Only

    Explanation

    Sign in to read the full explanation
  28. Arrange the following in ascending order :
    A. Remainder of 49!© when divided by 17
    B. Remainder of 24° when divided by 9
    C. Remainder of 155!" when divided by 17
    D. Last digits of the number 74° Choose the correct answer from the options given below : Q)
    A. @),.©,®) Q
    A. 8,0), ©

    1. AA, B, C, D
    2. BA, B, D, C
    3. CA, C, B, D
    4. DD, C, B, A

    Answer: (C) A, C, B, D

    Explanation

    Sign in to read the full explanation
  29. In most general case, the computer needs to process each instruction with the following sequence of steps :
    A. Calculate the effective address
    B. Execute the instruction
    C. Fetch the instruction from memory
    D. Fetch the operand from memory
    E. Decode the instruction Choose the correct answer from the options given below : @)
    A. , ®), ©, 0), ©

    1. AA, B, C, D, E
    2. BA, B, C, E, D
    3. CC, E, A, D, B
    4. DC, E, D, A, B

    Answer: (C) C, E, A, D, B

    Explanation

    Sign in to read the full explanation
  30. Match List-I with List-II.

    Source matching promptSource values
    See question stemSee answer choices
    1. A(D) Depth first search (IV) O(b' m) Choose the correct answer from the options given below :
    2. B(A)-C, B)-), (CCV), (D)-(Im)
    3. C(A), )-€V), (©), (P)-(Im)
    4. D(A)-(), (B)-(H), (C)-(D, (D)-@)

    Answer: (A) (D) Depth first search (IV) O(b' m) Choose the correct answer from the options given below :

    Explanation

    Sign in to read the full explanation
  31. For S = (U, V, W, X, Y, Z), the functional dependencies are {U → V, VW → X, Y → W, X → U}. Which listed sets are candidate keys?

    1. AUY, VY
    2. BUY, VY, XY
    3. CUYZ, VYZ, VWZ
    4. DUYZ, VYZ, XYZ

    Answer: (D) UYZ, VYZ, XYZ

    Explanation

    Sign in to read the full explanation
  32. Two operations from a schedule conflict when
    A. at least one operation is a write,
    B. both access the same data item, and
    C. they belong to different transactions.

    1. A(A) and (B) only
    2. B(A), (B), and (C) only
    3. C(A), (C), and (D) only
    4. D(C) and (D) only

    Answer: (B) (A), (B), and (C) only

    Explanation

    Sign in to read the full explanation
  33. Match List I with List IT.

    List I (E-R symbols) List II (Description)
    A. () Key Attribute Type

    1. — 33 (I) Weak Entity Type

    << > (II) Total Participation of Entity in a
    C. relation

    ) <> E, (IV) Multivalue Attribute type

    List IList II
    Items are listed in the question stem.Match each item to its stated description or complexity.
    1. AOCR review required
    2. BA-IV, B-I, C-II, D-III
    3. CA-II, B-I, C-IV, D-III
    4. DA-III, B-IV, C-I, D-II

    Answer: (C) A-II, B-I, C-IV, D-III

    Explanation

    Sign in to read the full explanation
  34. Using the university table structures, which query returns distinct employee IDs of employees working on projects 20, 30, or 40?

    1. ASELECT EMPID FROM PROJECTWORK WHERE PROJNO = (20,30,40);
    2. BSELECT EMPID FROM PROJECTWORK WHERE PROJNO IN (20,30,40);
    3. CSELECT DISTINCT EMPID FROM PROJECTWORK WHERE PROJNO IN (20,30,40);
    4. DSELECT DISTINCT EMPID FROM PROJECTWORK WHERE PROJNO = 20,30,40;

    Answer: (C) SELECT DISTINCT EMPID FROM PROJECTWORK WHERE PROJNO IN (20,30,40);

    Explanation

    Sign in to read the full explanation
  35. Which statement correctly computes SUM, MAX, MIN, and AVG salaries for the English department?

    Statement I joins EMPLOYEE and DEPARTMENT on DEPTNO = DID and filters DNAME = 'ENGLISH'.
    Statement II filters DNAME = 'ENGLISH' without joining the two tables.

    1. ABoth statements are true.
    2. BBoth statements are false.
    3. CStatement I is true but Statement II is false.
    4. DStatement I is false but Statement II is true.

    Answer: (C) Statement I is true but Statement II is false.

    Explanation

    Sign in to read the full explanation
  36. Which query returns employee ID and name for employees whose salary is greater than the salary of every employee in department 20, ordered by employee ID?
    A. uses SALARY > (subquery) with ORDER BY.
    B. uses SALARY > (subquery) without ORDER BY.
    C. uses SALARY > ALL (subquery) with ORDER BY.

    1. A(A) and (B) only
    2. B(A) and (C) only
    3. C(B) only
    4. D(C) only

    Answer: (D) (C) only

    Explanation

    Sign in to read the full explanation
  37. Which SQL statement(s) can drop the SALARY column from EMPLOYEE?
    A. ALTER TABLE EMPLOYEE DROP SALARY CASCADE;
    B. ALTER TABLE EMPLOYEE DROP SALARY RESTRICT;
    C. ALTER EMPLOYEE DROP SALARY;

    1. A(A) and (B) only
    2. B(A) and (C) only
    3. C(B) and (C) only
    4. D(A) only

    Answer: (A) (A) and (B) only

    Explanation

    Sign in to read the full explanation
  38. Using the university table structures, the university wants to give every employee in the SCIENCE department a 20% salary rise. Which query is correct?
    A. UPDATE EMPLOYEE SET SALARY = SALARY * 1.20 WHERE DEPTNO IN (SELECT DID FROM DEPARTMENT WHERE DNAME = 'SCIENCE');
    B. UPDATE TABLE EMPLOYEE SET SALARY = SALARY * 1.20 WHERE DNAME = 'SCIENCE';
    C. ALTER TABLE EMPLOYEE SET SALARY = SALARY * 1.20 WHERE DEPTNO IN (SELECT DNAME FROM DEPARTMENT WHERE DNAME = 'SCIENCE');

    1. A(A) and (B) only
    2. B(A) only
    3. C(B) and (C) only
    4. D(C) only

    Answer: (B) (A) only

    Explanation

    Sign in to read the full explanation

Frequently asked questions

How many Database Management Systems questions have been asked in UGC NET Computer Science?

37 Database Management Systems questions appear in the UGC NET Computer Science papers held between 2020–2025, and all of them are on this page with their answer key.

Are the answers on this page free?

Yes. Every question, its options, and the correct answer are free to read with no account. Signing in additionally unlocks the detailed explanation under each question.

Is Database Management Systems an important topic for UGC NET Computer Science?

Database Management Systems appears in every recent UGC NET Computer Science paper, across all 4 sittings covered here. Its share of the paper makes it worth revising thoroughly rather than sampling.

How should I practise Database Management Systems after reading these questions?

Attempt the Database Management Systems topic-wise sets, which put the same questions into a timed interface with instant scoring and weak-area analysis afterwards.

More Computer Science PYQs by topic

More Computer Science practice

Ready for a full paper?

Attempt Paper 1 + Paper 2 (Computer Science) together in a single timed session.

Full Mock Tests →