wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Database Concepts Class 12 Quiz

Total questions: 68

Worksheet time: 51mins

Name
Class
Date
1.

Data is a collection of ________ facts which have not been processed to reveal useful information.

a)

Raw

b)

None of the above

c)

Facts

d)

Processed

2.

Which of the following properties belong to the database _______________.

a)

A database is a representation of some aspect of the real world also called miniworld.

b)

It is designed, built and populated with data for specific purposes.

c)

It can be of any size and complexity.

d)

All of the above

3.

What are the benefits of databases ___________.

a)

Lack of Data Integration

b)

Data Inconsistency

c)

All of the these

d)

Data Redundancy

4.

A ____________ is a collection of programs that enables users to rate, maintain and use a database.

a)

None of the above

b)

Database updation system

c)

Database manageable system

d)

Database management system

5.

Which of the following is not a valid SQL type?

a)

FLOAT

b)

NUMERIC

c)

DECIMAL

d)

CHARACTER

6.

Which of the following is not a DDL command?

a)

TRUNCATE

b)

UPDATE

c)

ALTER

d)

CREATE

7.

What are the various operations that need to be performed on a database _____________.

a)

Sharing the database

b)

Manipulating the database

c)

Defining the database

d)

All of the above

8.

What are the different characteristics of Database management systems?

a)

Sharing of data

b)

All of these

c)

Insulation between programs and data

d)

Self – describing Nature of a database system

9.

A multiuser environment allows multiple users to access the database simultaneously; it means ___________.

a)

Self-describing Nature of database system

b)

Insulation between Program and data

c)

None of these

d)

Sharing of data

10.

Any change in the structure of data would be done in the catalog and hence programs which access this data need not be modified. This property is called_____________.

a)

Program-Data Independence

b)

None of the above

c)

Self describing

d)

Sharing of data

11.

What are the different types of DBMS users ____________.

a)

All of these

b)

Application programmers

c)

Database Administrator

d)

End users

12.

Users who use the database for querying, modifying and generating reports as per their needs. They are not concerned about the working and designing of the database known as _________.

a)

All of these

b)

Application programmers

c)

Database Administrator

d)

End users

13.

How many Primary keys can there be in a table?

a)

Depends on DBA

b)

Depends on number of Columns

c)

Only 2

d)

Only 1

14.

Which of the following is not a Constraint in SQL?

a)

Union

b)

Primary Key

c)

Not Null

d)

Check

15.

What operator tests column for absence of data?

a)

Exists Operator

b)

None of the above

c)

IS NULL Operator

d)

NOT Operator

16.

__________ is responsible for authoring access, monitoring its use, providing technical support, acquiring software and hardware resources.

a)

All of these

b)

End users

c)

Application programmers

d)

Database Administrator

17.

___________ write application program to interact with the database.

a)

All of these

b)

Application programmers

c)

Database Administrator

d)

End users

18.

_________ determines the requirements of the end users and then develops specifications to meet these requirements.

a)

End users

b)

All of these

c)

Database Administrator

d)

System Analyst

19.

__________ plays a major role in the database design and all the technical, economic and feasibility aspects.

a)

End users

b)

All of these

c)

Database Administrator

d)

System Analyst

20.

Advantages of using DBMS approach.

a)

All of these

b)

Improved availability

c)

Improved consistency

d)

Reduction in Redundancy

21.

Data in a DBMS is more concise because of the __________ of data.

a)

None of these

b)

Data is not Security

c)

Central repository

d)

Non availability of data

22.

By making use of ___________, the DBA can provide security to the database.

a)

All of these

b)

Password

c)

Database access rights

d)

Controlling users

23.

Limitation of using DBMS approach _________.

a)

Both a) and b)

b)

Security and recovery overheads

c)

High cost

d)

None of the above

24.

__________ organize collection of data as a collection of relations where each relation corresponds to a table of values.

a)

None of these

b)

Data system

c)

Database

d)

Data method

25.

A row is also called a ________.

a)

None of the above

b)

Both a) and b)

c)

Field

d)

Tuple

26.

A column is also called ________.

a)

Domain

b)

Degree

c)

Relation

d)

Attribute

27.

The data types of values in each column are called __________.

a)

Degree

b)

Domain

c)

Attribute

d)

Relation

28.

The number of attributes in a relation is called the _________ of a relation.

a)

Attribute

b)

Relation

c)

Domain

d)

Degree

29.

The number of rows in a relation is called the _________ of a relation.

a)

Relation

b)

Cardinality

c)

Domain

d)

Degree

30.

Some of the examples of databases are ___________.

a)

IBM DB2

b)

Oracle

c)

MySQL

d)

All of the above

31.

__________ are restrictions on the values, stored in a database based on the requirements.

a)

None of these

b)

Properties

c)

Constraints

d)

Method

32.

What are examples of constraints in relational models?

a)

Entity Integrity constraint

b)

All of these

c)

Key constraint

d)

Domain constraint

33.

What are the examples of key constraints?

a)

Super key

b)

All of these

c)

Candidate key

d)

Primary key

34.

__________ is a set of attributes in a relation, for which no two tuples in a relation state have the same combination of values.

a)

Super key

b)

Candidate key

c)

Primary key

d)

All of the above

35.

_________ key helps to protect duplication in the table.

a)

All of these

b)

Primary key

c)

Candidate key

d)

Super key

36.

____________ is a language that is used to manage data stored in a RDBMS.

a)

DDL

b)

DML

c)

SQL

d)

None of the above

37.

SQL Stands for __________.

a)

Structured Query Language

b)

System Query Language

c)

None of the above

d)

Social Query Language

38.

DDL Stands for ___________.

a)

Data Definition Language

b)

None of the above

c)

Domain Definition Language

d)

Data Database Language

39.

DML Stands for ___________.

a)

Data Manipulation Language

b)

None of the above

c)

Data Manageable Language

d)

Domain Manipulation Language

40.

Database system needs to be installed on the Computer and this computer is known as ___________.

a)

Database Server

b)

Database storage

c)

Database memory

d)

None of the above

41.

_________ command is used to create a new table in the database.

a)

Select command

b)

Alter command

c)

Create command

d)

Modify command

42.

Which datatype belongs to numerical type?

a)

Decimal

b)

All of these

c)

Number

d)

Integer

43.

What data type has a fixed length in the database?

a)

None of these

b)

Longvarchar(n)

c)

Char(n)

d)

Varchar(n)

44.

Which syntax is correct for creating a table _________.

a)

Create ( );

b)

Create table

( );

c)

Create Table ( )

d)

None of the above

45.

Which command is used to creating a Database?

a)

None of the above

b)

Database Create ;

c)

Create Database ;

d)

Create ;

46.

Which command is used to display a Database?

a)

Display DATABASE;

b)

Show DATABASE;

c)

Check DATABASE;

d)

None of the above

47.

A command that lets you change one or more fields in a table is:

a)

INSERT

b)

MODIFY

c)

LOOK-UP

d)

All of the above

48.

How can you change 'Mehta' into 'Sinha' in the 'LastName' column in the Users table?

a)

UPDATE User SET LastName = 'Mehta' INTO LastName = 'Singh'

b)

UPDATE Users SET LastName = 'Mehta' WHERE LastName = 'Sinha'

c)

MODIFY Users SET LastName = 'Mehta' INTO LastName = 'Sinha'

d)

MODIFY Users SET LastName = 'Sinha' LAST LastName = 'Sinha'

49.

What are the several constraints for smooth operations in the database?

a)

CHECK

b)

DEFAULT

c)

All of the above

d)

NOT NULL

50.

If a user has not entered a value for an attribute, then the default value specified while creating the table is used; this constraint is done by using _________.

a)

NOT NULL

b)

All of the above

c)

CHECK

d)

DEFAULT

51.

__________ ensures that there must always exist a valid relationship between two relational database tables.

a)

None of the above

b)

Referential Integrity Constraint

c)

Default Constraint

d)

Key Constraint

52.

A foreign key constraint can reference columns within the same table. These tables are called ___________.

a)

None of the above

b)

Self-referencing tables

c)

Default Constraint

d)

Key Constraint

53.

The advantage is that named constraints can be easily _________ using the alter Table command.

a)

Updated

b)

Deleted

c)

Both a) and b)

d)

None of the above

54.

The command is used to delete tables from a database _________.

a)

None of the above

b)

Drop Table

c)

Remove Table

d)

Delete Table

55.

____________ command is used to modify the base table definition. The modifications that can be done using this command.

a)

Alter Table

b)

None of the above

c)

Modify Table

d)

Update Table

56.

A column can be dropped using this command but one must specify the options __________ for the drop behavior.

a)

Restrict

b)

Both a) and b)

c)

Cascade

d)

None of these

57.

If the reference is given in another table then ________ command is not allowed to drop the table.

a)

Restrict

b)

Cascade

c)

None of the above

d)

Both a) and b)

58.

If the reference is given in another table then ________ command is allowed to drop the table.

a)

None of the above

b)

Cascade

c)

Restrict

d)

Both a) and b)

59.

A __________ key can be dropped by using the ALTER TABLE command.

a)

Foreign key

b)

None of the above

c)

Primary key

d)

Both a) and b)

60.

___________ command is used to update the attribute values of one or more tuples in a table.

a)

Update table

b)

Insert table

c)

None of the above

d)

Alter table

61.

In order to delete one or more tuples, _________ command is used.

a)

Erase command

b)

Delete command

c)

Drop command

d)

Remove command

62.

The ____________ Command is used to retrieve information from a database.

a)

None of the above

b)

Select command

c)

Show command

d)

Display command

63.

Where clause you can use in which of the following commands.

a)

Delete command

b)

Select command

c)

Both a) and b)

d)

None of these

64.

________ helps to count the number of tuples in the database.

a)

Max

b)

Min

c)

Sum

d)

Count

65.

_______ finds the sum of all the values for a selected attribute which has a numeric data type.

a)

Min

b)

Max

c)

Sum

d)

Count

66.

_______ finds the maximum value out of all the values for a selected attribute which has numeric data type.

a)

Minimum

b)

Greatest

c)

Maximum

d)

Max

67.

_______ helps to find the minimum value out of all values for a selected attribute which has numeric data type.

a)

Lowest

b)

Minimum

c)

Min

d)

None of the above

68.

_______ helps to find the average value of all the values for a selected attribute which has numeric data type.

a)

Middle

b)

Average

c)

AVG

d)

None of the above