All mock tests are FREE till 31 December — register to save your progress
UGC NET · PAPER 2

UGC NET Paper 2 Computer Science – Unit 4: Database Management Systems PYQ (December 2022 Shift 2)

8 questions · answer key at the end · updated 11 Oct 2026
Q14. Identify the incorrect statement.
  1. A candidate key is a minimal set of one or more attributes that, taken collectively, allows us to uniquely identify any entity in the entity set.
  2. A candidate key for which no proper subset is also a candidate key is called a super key.
  3. A super key is a set of one or more attributes that, taken collectively, allows us to uniquely identify any entity in the entity set.
  4. A super key for which no proper subset is also a super key is called a candidate key.
Answer & explanation →
Q15. Consider the two relations below (primary keys: EMP.eid and DEPT.did). Identify all possible foreign key(s) based only on the two relations.
EMP (eid, ename, did)
DEPT (did, dname)
  1. eid
  2. did
  3. eid, did
  4. eid, did, ename
Answer & explanation →
Q16. Which of the following statements is correct according to the following instance of the relational schema R(X, Y, Z)?
XYZ
11a
11a
21b
32b
  1. X → Y, Z → X
  2. Y → Z, Z → X
  3. X → Y, X → Z
  4. Y → X, X → Z
Answer & explanation →
Q48. What are the drawbacks of using file systems to store data?
1. Data inconsistency
2. Difficulty in accessing data
3. Data isolation
4. Atomicity of updates
Choose the correct answer from the options given below:
  1. 1, 2 only
  2. 2, 3, 4 only
  3. 1, 2, 3 only
  4. 1, 2, 3, 4
Answer & explanation →
Q49. In which of the following database models do we have a parent-child relationship?
1. Hierarchical databases
2. Network databases
3. Relational databases
Choose the correct answer from the options given below:
  1. 1, 2
  2. 1, 3
  3. 2, 3
  4. 1, 2, 3
Answer & explanation →
Q50. Identify the correct operation that produces the given output from the two relations R1 and R2.

R1

NameClass
a19
b15
c16
d111

R2

NameClass
b15
f18

Output

NameClass
b15
  1. R1 ∩ R2
  2. R1 − R2
  3. R1 − (R1 − R2)
  4. R1 ∪ R2
Answer & explanation →
Q69. Match List I with List II.
Choose the correct answer from the options given below:
List IList II
a. Apache KafkaI. Platform for constructing data flows for extract, transform and load (ETL) processing and analysis of large datasets
b. PigII. General-purpose computing model and runtime system for distributed data analytics
c. Apache MahoutIII. Open-source platform that was created by LinkedIn
d. MapReduceIV. Open-source platform used for creating scalable machine learning algorithms
  1. a-II, b-IV, c-I, d-III
  2. a-II, b-I, c-IV, d-III
  3. a-III, b-I, c-IV, d-II
  4. a-I, b-II, c-IV, d-III
Answer & explanation →
Q79. Select the correct order of the DBSCAN algorithm.
I. Recursively find all density-connected points and assign them to the same cluster as the core point.
II. Find all neighbour points within eps and identify the core points with more than MinPts neighbours.
III. Iterate through the remaining unvisited points in the dataset.
IV. For each core point, if it is not already assigned to a cluster, create a new cluster.
  1. II, IV, III, I
  2. IV, II, III, I
  3. II, IV, I, III
  4. IV, II, I, III
Answer & explanation →

Answer key

  1. 14 – B
  2. 15 – B
  3. 16 – C
  4. 48 – D
  5. 49 – A
  6. 50 – A
  7. 69 – C
  8. 79 – C