Q1:
2026: 31 May Shift 1
Computer Science
Database
Easy
Computer Science
A candidate key is -
2026: 31 May Shift 1
Computer Science
Database
Easy
Computer Science
A candidate key is -
2026: 31 May Shift 1
Computer Science
Database
Easy
Computer Science
Which of the following are true about the difference between file system and database?
A. A file system does not support multiuser access, whereas a database does.
B. A database provides better security and consistency as compared to file systems.
C. A file system uses SQL querying, whereas a database does not.
D. A database suffers from higher data inconsistency as compared to file systems.
2026: 31 May Shift 1
Computer Science
Database
Easy
Computer Science
Given two tables 'R' and 'S'. What will be the output of R-S?
2026: 29 May Shift 2
Computer Science
Database
Easy
Computer Science
Match the LIST-I with LIST-II
| LIST-I | LIST-II | ||
|---|---|---|---|
| A. | Selection | I. | Combine rows from two tables based on a related column |
| B. | Union | II. | Generate all possible combinations of rows from two tables |
| C. | Cartesian product | III. | Filter rows based on the condition |
| D. | Projection | IV. | Retrieves specific columns from the table |
2026: 29 May Shift 2
Computer Science
Database
Easy
Computer Science
What is the degree of a relation in a database?
2026: 29 May Shift 1
Computer Science
Database
Easy
Computer Science
The relation GUARDIAN has four attributes:
GUID: unique id of the guardian
GName: name of the guardian
GPhone: contact number of the guardian
GAddress: contact address of the guardian
Out of which GUID and GPhone always take unique values. No two guardians will have same phone number or same GUID. Hence, these two attributes are the ______________as they both are eligible for primary key.
2026: 29 May Shift 1
Computer Science
Database
Easy
Computer Science
__________ is a set of values from which an attribute can take a value in each row in a relation.
2026: 26 May Shift 1
Computer Science
Database
Easy
Computer Science
Match List-I with List-II
| List-I | List-II |
|---|---|
| (A) Candidate Key | (I) Represents the relationship between two relations. |
| (B) Foreign Key | (II) The chosen attribute to uniquely identify the tuples. |
| (C) Primary Key | (III) More than one attribute taken together to uniquely identify the tuples. |
| (D) Composite Key | (IV) Any of the attributes that can uniquely identify the tuples. |
2026: 26 May Shift 1
Computer Science
Database
Easy
Computer Science
Each column in a table represents a feature of a ________.
2026: 24 May Shift 1
Computer Science
Database
Easy
Computer Science
Calculate the degree and cardinality of the given relation below:
| ID | Name | Address | Phone No. | |
|---|---|---|---|---|
| 001 | Ajay | [email protected] | A1-Shakti Nagar, Bangalore | 55218936 |
| 002 | Amit | [email protected] | C32- Indira Nagar, Lucknow | 45321789 |
| 003 | Ashu | [email protected] | 117/82 Patel Nagar, Delhi | 98567894 |
| 004 | Ashok | [email protected] | 249-250, Motinagar, Gujrat | 97698541 |
2026: 24 May Shift 1
Computer Science
Database
Easy
Computer Science
Match List-I with List-II
| List-I | List-II |
|---|---|
| KEY CONCEPTS IN DATABASE | DESCRIPTION |
| (A) Database Schema | (I) Snapshot of the database |
| (B) Database Instance | (II) Restriction on the type of data |
| (C) Data Dictionary | (III) Skeleton of the database |
| (D) Data Constraint | (IV) Database catalog |
2026: 23 May Shift 2
Computer Science
Database
Easy
Computer Science
Both attributes 'Roll_Number' and 'Phone_number' in a 'STUDENT' table, uniquely identify a student, but neither is chosen as the primary key. They are called as:-
2026: 23 May Shift 2
Computer Science
Database
Medium
Computer Science
Which of the following are valid relational algebra operations?
A. JOIN
B. UNION
C. DIVISION
D. CARTESIAN
2026: 23 May Shift 2
Computer Science
Database
Easy
Computer Science
Which among the following operations combines tuples from the two relations on specified conditions?
2026: 23 May Shift 1
Computer Science
Database
Medium
Computer Science
Match the LIST-I with LIST-II
| LIST-I (Operations on Relations ) | LIST-II (Description) | ||
|---|---|---|---|
| A. | SELECT | I. | to retrieve data from the tables |
| B. | INTERSECT | II. | to get the common tuples from two tables |
| C. | JOIN | III. | to combine tuples from two tables on specified conditions |
| D. | UNION | IV. | to combine the selected rows of two tables at a time. |
2026: 23 May Shift 1
Computer Science
Database
Easy
Computer Science
Assume that in a relation, more than one attributes are eligible to be primary keys. Since there can only be 1 primary key, so what we will call the other key(s)?
2026: 23 May Shift 1
Computer Science
Database
Easy
Computer Science
The columns of a relation represents ________.
2026: 21 May Shift 1
Computer Science
Database
Easy
Computer Science
In relational databases, ________are called relations that store data.
2026: 21 May Shift 1
Computer Science
Database
Easy
Computer Science
Match List-I with List-II
| List-I | List-II |
|---|---|
| (A) Primary Key | (I) One or more attributes that take distinct values |
| (B) Foreign Key | (II) More than one attribute together to form primary key |
| (C) Composite Primary Key | (III) The attribute chosen to uniquely identify the tuples among many candidate keys |
| (D) Candidate Key | (IV) Attribute whose value is derived from the primary key |
2026: 20 May Shift 1
Computer Science
Database
Easy
Computer Science
| PID | Name | Phone | Address | Age |
|---|---|---|---|---|
| 001 | Sumit | 9415177980 | Delhi | 32 |
| 002 | Rakesh | 9415288790 | Agra | 34 |
| 003 | Astha | 9415327785 | Lucknow | 28 |
| 004 | Jyoti | 9415477285 | Merrut | 30 |
In the above relation what is the degree and cardinality respectively?
2026: 20 May Shift 1
Computer Science
Database
Medium
Computer Science
Which of the following are NOT the limitations of a file system?
(A) Data Redundancy
(B) Data Consistency
(C) Data Independence
(D) Data Isolation
2026: 19 May Shift 1
Computer Science
Database
Medium
Computer Science
Match List-I with List-II
| List-I | List-II |
|---|---|
| (A) DBMS | (I) Design of a database |
| (B) Database instance | (II) A software to create and manage databases |
| (C) Database catalog | (III) Database schema and database constraints are stored |
| (D) Database schema | (IV) Snapshot of the database |
2026: 19 May Shift 1
Computer Science
Database
Easy
Computer Science
Data about data is called as _________.
2026: 19 May Shift 1
Computer Science
Database
Easy
Computer Science
An organization wants to create a database, EMP_DEPENDENT with the following relations and their attributes about its employees and their dependents.
EMPLOYEE(AadharNumber, Name, Address, Department,EmployeeID)
DEPENDENT(EmployeeID, DependentName,Relationship)
What is the degree of 'EMPLOYEE' and 'DEPENDENT' relations respectively?
2026: 18 May Shift 2
Computer Science
Database
Easy
Computer Science
_____________ is the limitation of file system when compared with DBMS.
2026: 18 May Shift 2
Computer Science
Database
Medium
Computer Science
Which of the following statements are correct?
A. Database schema is the design of a database.
B. A database constraint is a restriction on the type of data that can be inserted into the table.
C. Database schema and database constraints are stored in the database catalog.
D. Primary key is used to relate two tables or relations.
2026: 13 May Shift 2
Computer Science
Database
Easy
Computer Science
The disadvantages of file systems are:
(A) Data Redundancy
(B) Easy Access
(C) Data Inconsistency
(D) Data Isolation
2026: 13 May Shift 2
Computer Science
Database
Easy
Computer Science
The design of the database is called ______________.
2026: 11 May Shift 2
Computer Science
Database
Easy
Computer Science
Match the LIST-I with LIST-II
| LIST-I | LIST-II | ||
|---|---|---|---|
| A. | Union (U) | I. | Shows the only content which are present in the first table and not in the second table. |
| B. | Intersection (∩) | II. | Combine all the pairs of rows of the two tables. |
| C. | Minus (-) | III. | Shows the common rows of two tables. |
| D. | Cartesian Product (X) | IV. | Combine the selected rows of two tables at a time and show the common rows only once. |
2026: 11 May Shift 2
Computer Science
Database
Medium
Computer Science
Consider the following two tables:
DANCE:
| SNo | Name | Class |
|---|---|---|
| 1 | Aastha | 7A |
| 2 | Mahira | 6A |
| 3 | Mohit | 7B |
| 4 | Sanjay | 7A |
MUSIC:
| SNo | Name | Class |
|---|---|---|
| 1 | Mehak | 8A |
| 2 | Mahira | 6A |
| 3 | Lavanya | 7A |
| 4 | Sanjay | 7A |
| 5 | Abhay | 8A |
Arrange the following operations when performed on the above two tables, in the increasing order of their cardinality in the corresponding result set.
A. DANCE U MUSIC
B. DANCE ∩ MUSIC
C. MUSIC - DANCE
D. DANCE X MUSIC