You are on page 1of 2

REVISION QUESTIONS SHEET

CLASS XII
COMPUTER SCIENCE (083)
TOPIC: DATABASE CONCEPTS
Objective/MCQ based:
1. RDBMSstands for ____________________. 1
2. RDBMS maintains data redundancy.(True/False) 1
3. Assertion (A): The degree of a relation or table cannot be zero. 1
Reason(R): A relation or table must have at least one or more columns.
a) A is True and R is True
b) A is False and R is False
c) A is True and R is True and R is correct explanation for A.
d) A is False and R is True and R is not the correct explanation for A.
4. Match the following: 1
COL-A COL-B
I Primary key A One or more columns that is eligible to
become primary key
II Alternate key B The candidate key that is not a primary key
III Unique key C Can have null
IV Candidate key D Not null and unique
Select the correct option from the following:
a)I-C,II-A,III-B,IV-D b) I-A,II-C,III-B ,IV-D c)I-D,II-B,III-C,IV-A d)I-B,II-D,III-A,IV-A
Case Study
5. Look carefully the following tables and do as directed:
CAR
CID BID COLOR FUEL type
121 A1 GREY PETROL MANUAL
131 B1 BLUE PETROL AMT
141 C1 RED DIESEL AMT
151 A1 YELLOW FLEX MANUAL
COMPANY
BID BRAND
A1 CITROEN
B1 TATA
C1 FORD

Now select the appropriate option for the following.(any four) 4


I) Identify the foreign key in the above tables.
a. BIDin car table c.BIDin company table
b. CIDin car table d.None
II) What is the cardinality of CAR table?
a. 4 b. 4 c.5 d.2
III) What is the degree of CAR table?
a. 2 b. 3 c.4 d.3
IV) How many combination of records will be returned by doing Cartesian product
operation on CAR and company?
a. 12 c.7
b. 4 d.20
V) How many records will be returned by doing Equi-join operation on CAR and
company?
a. 4 b. 3 c. 7 d. 12

Source based
6. A school has a rule that each student must participate in a sports activity. So each one should
give only one preference for sports activity. Suppose there are five students in a class, each
having a unique roll number. The class representativehas prepared a list of sports
preferences as shown below.
Table: Sports
Roll no Preference
9 Cricket
13 Football
17 Badminton
17 Football
21 Hockey
24 NULL
NULL Kabaddi

Answer the following:


Now select the appropriate option for the following. 4
I) Roll no 24 may not be interested in sports. Can a NULL value be assigned to that
student’s preference field?
a. True b. False
II) Roll no 17 has given two preferences sports. Can we use any constraint or key in
the relational DBMS to check against such violation, if any,name it?
a. UNIQUE B. NOT NULL C. DEFAULT B.PRIMARY KEY
III) Kabaddi was not chosen by any student. Is it possible tohave this tuple in the
Sports Preferences relation?
a. True b. False
IV) How many tuples are stored in above table?
a. 2 b.7 c.8 d.Null

Subjective questions
7. Give one difference between primary key and unique. 1
8. Give 2 advantages of using Relational Database. 1
9. Explain the difference between UNION and JOIN operations. 2
10. What are constraints? Define the types of constraints. 2
11. Explain the role of foreign key using an example. How it maintains referential integrity
among tables? 3
12. Define the following terms: 4
I. Domain
II. Attribute
III. Relation
IV. Tuple
V. Key
VI. Selection
VII. Projection
VIII. View

You might also like