CUET-UG SERIES
Computer-science

Database Concepts

25 previous year questions.

Volume: 25 Ques
Yield: High

High-Yield Trend

9
2024
16
2023

Chapter Questions
25 MCQs

01
PYQ 2023
medium
computer-science ID: cuet-ug-
Which of the following statement is not true ?
1
Traditional file system increases data redundancy
2
Meta data is data about data
3
Number of rows in a relation called Degree of a relation
4
Candidate Key can be a Primary Key
02
PYQ 2023
medium
computer-science ID: cuet-ug-
Consider the following table -
SIDSNameContact NoAgeCourseYear
2301Rajat81677829230CS2022
2302Kamal816884239921HIS2023
2303Amit816783245520ECO2022
2304Sujata798723542220MATH2022
2305Amita627654231121ENG2023
Identify the correct pair of values :
1
Degree = 5; No. of tuples = 6
2
Cardinality = 6; Degree = 5
3
Degree = 5; Cardinality = 5
4
Degree = 6; Cardinality = 5
03
PYQ 2023
medium
computer-science ID: cuet-ug-
A row in a table is called _____
1
Cardinality
2
Primary Key
3
Tuple
4
Attribute
04
PYQ 2023
medium
computer-science ID: cuet-ug-
Match List I with List II
LIST ILIST II
A. RDBMSIII. Store data in related table
B. Primary KeyI. Unique identification of tuples
C. Tuple is collection ofII. Attribute Value
D. Database Schema and ConstraintsIV. Database catalog
1
A-IV, B-I, C-II, D-III
2
A-III, B-I, C-II, D-IV
3
A-II, B-IV, C-III, D-I
4
A-I, B-IV, C-III, D-II
05
PYQ 2023
medium
computer-science ID: cuet-ug-
Which key is used to link two tables together?
1
Primary key
2
Unique key
3
Foreign key
4
Candidate key
06
PYQ 2023
medium
computer-science ID: cuet-ug-
The criteria for selecting a primary key for a table: A. It must uniquely identify the row.
B. It cannot have NULL value.
C. It can have NULL value.
D. It can have duplicate values.
E. It never uniquely identifies the row.
%Option
1
A and B only
2
C and D only
3
B and E only
4
A and E only
07
PYQ 2023
medium
computer-science ID: cuet-ug-
Match LIST I with LIST II

LIST I
Mineral

LIST II
States
AUNIQUE IThe column which refers to value of an attributes defined primary key in another table
BPrimary key IIA value specified for the column if no value is specified
CDefault IIIThe column which can uniquely identify each row/record in a table
DForeign keyIVEnsures that all the values in a column are distinct
Choose the Correct answer from the options given below
1
(A)-(III), (B)-(IV), (C)-(II), (D)-(I)
2
(A)-(IV), (B)-(III), (C)-(II), (D)-(I)
3
(A)-(II), (B)-(III), (C)-(I), (D)-(IV)
4
(A)-(IV), (B)-(I), (C)-(II), (D)-(III)
08
PYQ 2023
medium
computer-science ID: cuet-ug-
In relational database management system RDBMS, a tuple is defined as :
1
Another name for a table
2
Another name for primary key
3
A row or record in a database table
4
An attribute attached to a record
09
PYQ 2023
medium
computer-science ID: cuet-ug-
A key is used to represent the relationship between two relations.
1
Primary key
2
Foreign key
3
Candidate key
4
Super key
10
PYQ 2023
medium
computer-science ID: cuet-ug-
Consider the tables A and B given below. How many tuples will be in the output after apply A B operation.
A
SNONameClass
1Meena8
2Meena6
3Leena7
4Vijaya7
5Sujata8
B
SNONameClass
1Asha7
2Meena6
3Mohit7
4Vijaya7
1
5
2
3
3
2
4
9
11
PYQ 2023
medium
computer-science ID: cuet-ug-
Database schema is the ____ of a database.
1
Application
2
Design
3
Use case
4
Testing
12
PYQ 2023
medium
computer-science ID: cuet-ug-
Consider the following statements relating to database:
A. Composite primary key is used to represent the relationship between two relations.
B. A foreign key is used to represent the relationship between two relations.
C. The tuples within a relation must be distinct.
Choose the correct answer from the options given below:
1
B and C are false
2
A and B are false
3
B and C are true
4
A and C are true
13
PYQ 2023
medium
computer-science ID: cuet-ug-
Which is not correct about string function?
1
UCASE("String");
2
LCASE("String");
3
MIN(Column);
4
LTRIM("String");
14
PYQ 2023
medium
computer-science ID: cuet-ug-
Consider the algorithm:
NameSearch (numList, key,n)
Step1: SET index = 0
Step2: WHILE index < n, REPEAT step3
Step3: IF numlist [index]-key THEN
PRINT "Element found at position", index + 1
STOP
ELSE
index = index+1
Step4: PRINT "Search unsuccessfull"
The algorithm performs
1
Random search
2
Search by hashing
3
Search by hashing
4
Binary search
15
PYQ 2023
medium
computer-science ID: cuet-ug-
Match LIST I with LIST II

LIST I

LIST II
ARelation INumber of rows
BTuple IILogically related data organised in a table
CDegree IIINumber of columns
DCardinality IV Row in a table
Choose the Correct answer from the options given below
1
(A)-(II), (B)-(I), (C)-(IV), (D)-(III)
2
(A)-(II), (B)-(III), (C)-(I), (D)-(IV)
3
(A)-(III), (B)-(IV), (C)-(II), (D)-(I)
4
(A)-(II), (B)-(IV), (C)-(III), (D)-(I)
16
PYQ 2023
medium
computer-science ID: cuet-ug-
Match LIST I with LIST II

LIST I
Mineral

LIST II
States
ARound()IDate function
BRtrim() IIAggregrate function
CCount() IIIMath function
DMonthname()IVString function
Choose the correct answer from the options given below:
1
(A)-(IV), (B)-(III), (C)-(II), (D)-(I)
2
(A)-(III), (B)-(IV), (C)-(II), (D)-(I)
3
(A)-(III), (B)-(II), (C)-(I), (D)-(IV)
4
(A)-(IV), (B)-(II), (C)-(I), (D)-(III)
17
PYQ 2024
medium
computer-science ID: cuet-ug-
Which of the following is called a database instance?
1
Overall design of the database
2
The snapshot of the database at any given time
3
Data about the data
4
Restriction on the type of data inserted
18
PYQ 2024
medium
computer-science ID: cuet-ug-
Match List-I with List-II:
List-IList-II
(A) Controlled Data Sharing(I) Same data maintained in different places does not match
(B) Data Isolation(II) Limited Access given to users
(C) Data Dependence(III) There is no mapping between two files
(D) Data Inconsistency(IV) If the structure of a file is changed, all the existing programs accessing that file
also need to be changed
1
(A) - (II), (B) - (III), (C) - (IV), (D) - (I)
2
(A) - (II), (B) - (III), (C) - (I), (D) - (IV)
3
(A) - (IV), (B) - (II), (C) - (III), (D) - (I)
4
(A) - (III), (B) - (IV), (C) - (I), (D) - (II)
19
PYQ 2024
medium
computer-science ID: cuet-ug-
How many candidate keys are possible with the table?
RollNoNameMobileCity
1Arun91Delhi
2Sanjay92Mumbai
3Arun93Noida
4Varun94Guwahati
5Arti95Kolkata
1
One
2
Two
3
Three
4
Four
20
PYQ 2024
medium
computer-science ID: cuet-ug-
An alternate key is ________.
1
Another name for the primary key
2
A unique identifier besides the primary key
3
A relationship between two tables
4
A synonym for a tuple
21
PYQ 2024
medium
computer-science ID: cuet-ug-
The primary key is chosen from ________.
1
The most complex candidate key available.
2
All available candidate keys for a table
3
The simplest candidate key available.
4
Any attribute within the table
22
PYQ 2024
medium
computer-science ID: cuet-ug-
A relation in a relational database is also known as:
1
A data type
2
An attribute
3
A schema
4
A table
23
PYQ 2024
medium
computer-science ID: cuet-ug-
A domain in a relational database refers to:
1
The overall database structure
2
A specific set of valid values for an attribute
3
A table containing multiple records
4
A relationship between two tables
24
PYQ 2024
medium
computer-science ID: cuet-ug-
What is the primary difference between a database and a file system?
1
Databases are slower than file systems for retrieving data
2
Databases offer structured data and relationships, while file systems do not
3
File systems support complex queries
4
Both handle data similarly
25
PYQ 2024
medium
computer-science ID: cuet-ug-
Which of the statement(s) is/are True for the given question.
Data elements are: 7, 5, 17, 13, 9, 27, 31, 25, 35.
Hash Table Size: 7
Hash Function: H(I) = (Data element) mod (Hash Table Size)
Options:
(A) Element 27 will create collision.
(B) Element 25 will create collision.
(C) Element 35 will create collision.
(D) Element 31 will create collision.
Choose the correct answer from the options given below:
1
(A), (B), and (C) only
2
(A), (C), and (D) only
3
(B), (C), and (D) only
4
(A), and (D) only