Q1:
2025: 22 May Shift 1
Common (CS/IP)
Database
Easy
Common
A={1,2,3,4} and B={3,4,5,6}
Based on the above set of 'A' and 'B', which of the following is correct?
2025: 22 May Shift 1
Common (CS/IP)
Database
Easy
Common
A={1,2,3,4} and B={3,4,5,6}
Based on the above set of 'A' and 'B', which of the following is correct?
2025: 22 May Shift 1
Common (CS/IP)
Database
Medium
Common
Consider the following table and find which of the following are candidate keys based on the data present in the table?
| Name | RollNo | Age |
|---|---|---|
| Ajay | 11 | 23 |
| Ramesh | 12 | 23 |
| Ravi | 13 | 24 |
| Manish | 14 | 22 |
2025: 22 May Shift 1
Common (CS/IP)
Database
Easy
Common
Match List-I with List-II
| List-I | List-II |
|---|---|
| (A). FOREIGN KEY | (I). Ensures that all values in a column are distinct. |
| (B). DEFAULT | (II). The column which refers to the value of an attribute is defined as the primary key in another table. |
| (C). UNIQUE | (III). The column which can uniquely identify each row in a table. |
| (D). PRIMARY KEY | (IV). A value is specified for a column if no value is provided. |
2025: 22 May Shift 1
Common (CS/IP)
Database
Easy
Common
_________ is the design of the database.
2025: 21 May Shift 1
Common (CS/IP)
Database
Easy
Common
A meta-data is __________ .
2025: 21 May Shift 1
Common (CS/IP)
Database
Easy
Common
The following code is used for pickling Python objects. Arrange these code fragments in correct order-
(A). pickle.dump(list, fileobj)
(B). fileobj= open("myfile.dat", "wb")
(C). list= [1, "John", 'f', 25]
(D). fileobj.close( )
2025: 21 May Shift 1
Common (CS/IP)
Database
Medium
Common
Match List-I with List-II
| List-I | List-II |
|---|---|
| (A) Data redundancy | (I) Data is stored in a specific format. |
| (B) Data Isolation | (II) Mismatch in the same data maintained at two places. |
| (C) Data Inconsistency | (III) There is no link or mapping between the same data in different files, separate programs to access them. |
| (D) Data Dependence | (IV) Same data duplicated at different places. |
2025: 21 May Shift 1
Common (CS/IP)
Database
Easy
Common
In SQL databases, what does the term "referential integrity" mean?
2025: 20 May Shift 1
Common (CS/IP)
Database
Easy
Common
Software that is used to create, manipulate and maintain a relational database is known as _____________.
2025: 20 May Shift 1
Common (CS/IP)
Database
Easy
Common
_______________ is an exhaustive searching technique, where every element of a given list is compared with the item to be searched.
2025: 20 May Shift 1
Common (CS/IP)
Database
Easy
Common
When two elements map to the same slot in the hash table it is called ___________.
2025: 20 May Shift 1
Common (CS/IP)
Database
Easy
Common
________ errors are detected when we have not followed the rules of the particular programming language while writing a program.
2025: 20 May Shift 1
Common (CS/IP)
Database
Easy
Common
_____ is a restriction on the type of data that can be inserted into the table.
2025: 20 May Shift 1
Common (CS/IP)
Database
Easy
Common
__________ is the inverse of pickling process, where a byte stream is converted back to Python object.
2025: 20 May Shift 1
Common (CS/IP)
Database
Medium
Common
Consider the following case of a queue, where people waiting at a bank cash counter.
Two friends come together and go to the cash counter, i.e. they form a queue - __________ operation is performed two times.
As soon as the person at the front is served, he will be removed from the queue - thus ________ operation is performed. Cashier calls Next to serve the next person who is now at the front of the queue.
Cashier wants to know the length of the queue - size of the _________ is checked.
Meanwhile, a few more people walk in the bank, and three of them join the queue at the cash counter, i.e. ________ happens 3 times.
Another person gets served and leaves the counter, i.e. ________ is performed. Cashier calls Next to serve another person.
The Next three people get served one after another, i.e. _______ is performed thrice.
Cashier calls Next and realises that there are no more people to be served - _________ situation happens.
Identify the correct queue operations for the blank spaces in sequence.
2025: 20 May Shift 1
Common (CS/IP)
Database
Easy
Common
Given:
TableA:
| Name | Course |
|---|---|
| Prakriti | IP |
| Yoshit | Maths |
TableB:
| Name | Course |
|---|---|
| Prakriti | IP |
| Anmol | Painting |
Find TableA - TableB:
2025: 16 May Shift 1
Common (CS/IP)
Database
Easy
Common
A ____________ is an attribute whose value is derived from the ____________ of another relation.
2025: 16 May Shift 1
Common (CS/IP)
Database
Easy
Common
Consider the following two tables 'SPORTSSTUDENTS' and 'MUSICSTUDENTS'.
SPORTSSTUDENTS
| Name | |
|---|---|
| Amit | [email protected] |
| Anil | [email protected] |
MUSICSTUDENTS
| Name | |
|---|---|
| Amit | [email protected] |
| Vimal | [email protected] |
What is the result of 'SPORTSSTUDENTS' - 'MUSICSTUDENTS' operation?
2025: 16 May Shift 1
Common (CS/IP)
Database
Easy
Common
Sometimes we put certain restrictions on the type of data that can be inserted in one or more columns of a table. This is done by ___________.
2025: 15 May Shift 2
Common (CS/IP)
Database
Easy
Common
Consider the following table and answer the question that follows:-
Employee
| ENO | ENAME | SALARY |
|---|---|---|
| 101 | RAM | 9000 |
| 102 | MOHAN | NULL |
| 103 | SOHAN | 8000 |
| 104 | ROHAN | 8500 |
| 105 | MANAN | 9500 |
How many tuples are there in the table?
2025: 15 May Shift 2
Common (CS/IP)
Database
Easy
Common
_____ is an attribute whose value is derived from the primary key of another relation.
2025: 15 May Shift 2
Common (CS/IP)
Database
Easy
Common
The degree of the resultant relation in the Cartesian product is calculated as:
2025: 15 May Shift 2
Common (CS/IP)
Database
Medium
Common
A company wants to create a relation 'Department' to maintain the following details about the employees in the company.
Department (ENO, ENAME, AADHARCARD, PHONENUMBER, PANCARD, ADDRESS)
Name the attributes which can be used as candidate keys.
2025: 15 May Shift 2
Common (CS/IP)
Database
Medium
Common
Consider the following tables 'BADMINTON' and 'CRICKET'.
BADMINTON
| SNO | NAME | CLASS |
|---|---|---|
| 1 | RAM | 8A |
| 2 | MOHAN | 7A |
| 3 | SOHAN | 8A |
CRICKET
| SNO | NAME | CLASS |
|---|---|---|
| 1 | RAM | 8A |
| 2 | REETA | 9A |
| 3 | SOHAN | 8A |
| 4 | MEETA | 10A |
Select the correct output of the following statement: "BADMINTON minus CRICKET"
2025: 14 May Shift 1
Common (CS/IP)
Database
Easy
Common
The area represented by symbol "A" in this image is result of ____________ operation.

2025: 14 May Shift 1
Common (CS/IP)
Database
Medium
Common
Identify Candidate Keys from the following table.
| RollNo | Name |
|---|---|
| 123 | Amit |
| 123 | Anil |
2025: 14 May Shift 1
Common (CS/IP)
Database
Easy
Common
Match List-I with List-II
| List-I | List-II |
|---|---|
| (A) Cardinality | (I) Number of tuples in a relation |
| (B) Degree | (II) Set of values from which an attributed can take a value in each row |
| (C) Domain | (III) Each row of a data in a relation |
| (D) Tuple | (IV) Number of attributes in a relation |
2025: 13 May Shift 2
Common (CS/IP)
Database
Easy
Common
Identify the correct code to read data from the file notes.dat in a binary file:
2025: 13 May Shift 2
Common (CS/IP)
Database
Easy
Common
Given:
TableA:
| Name | Hobbies |
|---|---|
| Anu | Dance |
| Anuj | Music |
TableB:
| Name | Hobbies |
|---|---|
| Prannav | Reading |
| Anuj | Music |
Find TableA U TableB ?
2025: 13 May Shift 2
Common (CS/IP)
Database
Easy
Common
Given two relations:
'Employee' with structure as ID, name, Address, Phone, Deptno
'Department' with structure as Deptno, Dname
______ is used to represent the relationship between two relations Employee and Department.