wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Class 12 RDBMS

Total questions: 40

Worksheet time: 22mins

Name
Class
Date
1.

In a database, what is one piece of information called?

a)

Field

b)

Record

c)

Table

d)

Entry

2.

What is a database?

a)

A piece of software to do calculations

b)

A device to load information onto the computer.

c)

A structured collection of records

d)

A calculator

3.

One specific piece of information about a person or thing is called:

a)

Field

b)

File

c)

Record

d)

Table

4.

What data type would be used to store the following item code: 0024

a)

Text

b)

Numeric

c)

Calculated

d)

Boolean

5.

Text, Integer, Decimal, Boolean ,Date and Time are all examples of...

a)

Data Types

b)

Filters

c)

Sorts

d)

Validations

6.

A unique identifying field.

a)

Primary Key

b)

Integer

c)

Verification

d)

Boolean

7.

SQL is

a)

Structured Query Language

b)

Simple Query Language

c)

Structured Question Language

d)

Structure Quality Language

8.

Which is the correct DDL group

a)

CREATE, DELETE, DROP

b)

ALTER , DROP, INSERT

c)

UPDATE, SELECT, DROP

d)

CREATE, DROP, ALTER

9.

Which SQL statement would add a record to the database?

a)

INSERT INTO Designer VALUES ('SMI01', 'M Smith', 'mail@msmith.com', '01224123456');

b)

INSERT INTO Designer ('SMI01', 'M Smith', 'mail@msmith.com', '01224123456') ;

c)

INSERT Designer VALUES ('SMI01', 'M Smith', 'mail@msmith.com', '01224123456') ;

d)

INSERT INTO Designer VALUES (SMI01, 'M Smith', 'mail@msmith.com', '01224123456');

10.

Where does the CREATE Command belong?

a)

DML

b)

DDL

c)

DCL

d)

DQL

11.

A primary key can be NULL in the table.

a)

TRUE

b)

FALSE

12.

which of the following is true for the above table.

a)

EMPLOYEE has DEGREE 4 and FOREIGN KEY as EMP_ID

b)

DEPARTMENT has CARDINALITY 2 and DEGREE 6

c)

EMPLOYEE has DEGREE 8 and DEPARTMENT has CARDINALITY 2

d)

EMPLOYEE has DEGREE 4 and PRIMARY KEY as EMP_ID

13.

When David try to create a database table STUDENT he is getting an error. He is not able to create it. It is because that database table is .......................

a)

already existing table

b)

Not a valid name

c)

primary key not set

d)

foreign key not set

14.

Which of the following is not a keyword of MYSQL?

a)

Select

b)

Top

c)

Use

d)

Insert

15.

The _________ statement is used to delete a table.

a)

DROP TABLE

b)

DELETE TABLE

c)

DEL TABLE

d)

REMOVE TABLE

16.

Which of the following not a valid keys

a)

Alternate Key

b)

Candidate Key

c)

Participant Key

d)

Foreign Key

17.

INSERT________ Persons (FirstName,LastName) ________

('Lars','Monsen');

a)

VALUES, INTO

b)

INTO , VALUES

c)

TABLE , VALUES

d)

INTO TABLE, VALUE

18.

SQL is not case sensitive. SELECT is the same as select.

a)

TRUE

b)

FALSE

19.

With SQL, how do you select all the columns from a table named "Persons"?

a)

SELECT * FROM Persons;

b)

SELECT ALL Persons;

c)

SELECT [all] FROM Persons;

d)

SELECT *.Persons;

20.
Which database model represents data as records in table format?
a)
Network Model
b)
Relational Model
c)
Hierarchical Model
21.

Number of Tuples is called as ____________

a)

Domain

b)

Cardinality

c)

Degree

22.
Which of the following is not a definition of NULL Value?
a)
NULL is not the same as zero or a blank space
b)
Arithmetic operations on a NULL value does not always return a NULL Value
c)
NULL Value is the absence of any character,zero,blank space
23.
With SQL, how can you insert a new record into the "Persons" table?
a)
INSERT INTO Persons VALUES ('Jimmy', 'Jackson')  
b)
INSERT ('Jimmy', 'Jackson') INTO Persons
c)
INSERT VALUES ('Jimmy', 'Jackson') INTO Persons
d)
INSERT VALUES ('Jimmy, Jackson') INTO Persons
e)
INSERT ('Jimmy', 'Jackson') VALUES into Persons
24.

Which of the following is NOT a type of SQL constraint?

a)

Primary Key

b)

Foreign Key

c)

Alternate Key

d)

NOT NULL

25.

What will be the degree and cardinality of the cartesian product of two tables if the degree of first table is 3 and second table is 5. The cardinality of first table is 10 and cardinality of second table is 6.

a)

Degree 15, Cardinality 16

b)

Degree 8 Cardinality 16

c)

Degree 8 Cardinality 60

d)

Degree 15 cardinality 60

26.

Select DDL commands from among the options...

a)

SELECT

b)

ALTER

c)

DROP

d)

DELETE

27.

The restrictions or conditions applied on data are known as ______________

a)

Constraints

b)

Key word

c)

Scheme

d)

Term

28.
RDBMS
a)
Relational Database Basic Management System
b)
Relational Database Management System
c)
Required Database Management Setup
d)
None of these
29.
What is a record defined as?
a)
A collection of keys in a database
b)
A collection of Databases
c)
A collection of fields in a predefined format
30.
In a Relational Database a Foreign Key is:
a)
A Column (or combination of columns) designated to unqiuely ideentify all table records
b)
One or more fields which act as pointers to the records of a different table in the database.
c)
A descriptive field
31.
With regards to databases what is a domain?
a)
The address at which the database can be connection to
b)
A set of allowable values for one or more attributes
c)
The structure, connectivity and formation of the database
d)
The sheet on which the table lies
32.
What does a Primary Key do?
a)
Links tables together
b)
Makes rows more important
c)
Uniquely identifies the record/entity
d)
Nothing
33.

Which type of database management system is Oracle /MySQL?

a)

Object-oriented

b)

Hierarchical

c)

Relational

d)

Network

34.
What is a degree?
a)
The number of tuples
b)
The number of relations
c)
The number of attributes
35.

How many tuples are there in the relation?

a)

5

b)

6

c)

4

d)

3

36.

Which command is used to add a column to an existing table?

a)

Create

b)

Update

c)

Alter

d)

None of the above

37.

The SQL statement that queries or reads data from a table is ________

a)

SELECT

b)

READ

c)

QUERY

d)

None of the above is correct.

38.

A database table can have __________ primary keys.

a)

any no: of

b)

exact one

c)

three

d)

two

39.

A database table can have ____ no : of Foreign Keys.

a)

1

b)

2

c)

4

d)

any

40.

Which of the following is not a DML command?

a)

Update

b)

Insert into

c)

Delete

d)

Create Table