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 -
Identify the correct pair of values :
| SID | SName | Contact No | Age | Course | Year |
| 2301 | Rajat | 8167782923 | 0 | CS | 2022 |
| 2302 | Kamal | 8168842399 | 21 | HIS | 2023 |
| 2303 | Amit | 8167832455 | 20 | ECO | 2022 |
| 2304 | Sujata | 7987235422 | 20 | MATH | 2022 |
| 2305 | Amita | 6276542311 | 21 | ENG | 2023 |
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 I | LIST II |
|---|---|
| A. RDBMS | III. Store data in related table |
| B. Primary Key | I. Unique identification of tuples |
| C. Tuple is collection of | II. Attribute Value |
| D. Database Schema and Constraints | IV. 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
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
Choose the Correct answer from the options given below
LIST I | LIST II States | ||
| A | UNIQUE | I | The column which refers to value of an attributes defined primary key in another table |
| B | Primary key | II | A value specified for the column if no value is specified |
| C | Default | III | The column which can uniquely identify each row/record in a table |
| D | Foreign key | IV | Ensures that all the values in a column are distinct |
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
B
A
| SNO | Name | Class |
| 1 | Meena | 8 |
| 2 | Meena | 6 |
| 3 | Leena | 7 |
| 4 | Vijaya | 7 |
| 5 | Sujata | 8 |
| SNO | Name | Class |
| 1 | Asha | 7 |
| 2 | Meena | 6 |
| 3 | Mohit | 7 |
| 4 | Vijaya | 7 |
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:
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
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
Choose the Correct answer from the options given below
LIST I | LIST II | ||
| A | Relation | I | Number of rows |
| B | Tuple | II | Logically related data organised in a table |
| C | Degree | III | Number of columns |
| D | Cardinality | IV | Row in a table |
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
Choose the correct answer from the options given below:
LIST I | LIST II States | ||
| A | Round() | I | Date function |
| B | Rtrim() | II | Aggregrate function |
| C | Count() | III | Math function |
| D | Monthname() | IV | String function |
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-I | List-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?
| RollNo | Name | Mobile | City |
| 1 | Arun | 91 | Delhi |
| 2 | Sanjay | 92 | Mumbai |
| 3 | Arun | 93 | Noida |
| 4 | Varun | 94 | Guwahati |
| 5 | Arti | 95 | Kolkata |
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:
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