wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

DBMS Unit-1

Total questions: 52

Worksheet time: 29mins

Name
Class
Date
1.
[Remember] Which symbol is used to represent an entity in an ER diagram?
a)
A. Circle
b)
B. Diamond
c)
C. Rectangle
d)
D. Square
2.
[Remember] What does a line connecting two entities in an ER diagram represent?
a)
A. An attribute
b)
B. A relationship
c)
C. An identifier
d)
D. A subtype
3.
[Remember] What is the purpose of an ER diagram?
a)
A. To display data
b)
B. To create database tables
c)
C. To design a database schema
d)
D. To insert data
4.
[Remember] Which symbol is used to represent a relationship in an ER diagram?
a)
A. Circle
b)
B. Diamond
c)
C. Rectangle
d)
D. Square
5.
[Remember] What does a double diamond symbol in an ER diagram represent?
a)
A. A multivalued attribute
b)
B. A weak entity
c)
C. A subtype
d)
D. A derived attribute
6.
[Remember] What is an entity in an ER diagram?
a)
A. A table in a database
b)
B. A field in a table
c)
C. A diagram of a database
d)
D. A visual representation of a database
7.

An entity set that does not have sufficient attributes to form a primary key is termed a ________

a)

Strong entity set

b)

Variant set

c)

Weak entity set

d)

Variable set

8.

An ER diagram can express the overall_____of a database graphically

a)

view structure

b)

model structure

c)

logical structure

d)

Architectural structure

9.

Dashed ellipses represents

a)

derived attributes

b)

multi valued attributes

c)

weak entity sets

d)

Total participation of an entity

10.

An entity set that has attributes to form primary key,such entity set is termed as

a)

strong entity set

b)

weak entity set

c)

composite entity set

d)

owner entity set

11.

_________ specifies the number of instances of one entity that can or must be associated with each instance of another?

a)

Cardinality constraint

b)

Multi-valued attribute

c)

participation constraint

12.

The most common type of relationship encountered in data modelling is __________ relationship?

a)

binary

b)

unary

c)

ternary

d)

quartenary

13.

An attribute associated with a relationship type is called

a)

single valued attribute

b)

key attribute

c)

descriptive attribute

d)

simple attribute

14.

Which of the following is not a type of DBMS model?

a)

Hierarchical

b)

Relational

c)

Sequential

d)

Object-oriented

15.

What is the primary key in a relational database?

a)

A key that uniquely identifies each record in a table

b)

A key that is used for encryption

c)

A key that is used for indexing purposes

d)

A key that is a combination of other keys

16.

What does SQL stand for?

a)

Structured Query Language

b)

Sequential Query Language

c)

Structured Question Language

d)

Systematic Query Language

17.

Which of the following is not a SQL command?

a)

SELECT

b)

INSERT

c)

MOVE

d)

UPDATE

18.

In a relational database, what is a foreign key?

a)

A key used for opening encrypted data

b)

A key that uniquely identifies each record in a table

c)

A key that links two tables together

d)

A key that is used for indexing purposes

19.

Which of the following is an example of a DDL (Data Definition Language) statement?

a)

SELECT

b)

INSERT

c)

CREATE

d)

UPDATE

20.

What is the purpose of normalization in database design?

a)

To speed up database performance

b)

To eliminate redundancy and dependency

c)

To make databases smaller in size

d)

To encrypt sensitive data

21.

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

a)

ALTER TABLE

b)

UPDATE TABLE

c)

MODIFY TABLE

d)

ADD COLUMN

22.

What is the purpose of the DML (Data Manipulation Language) command "MERGE" in SQL?

a)

To combine multiple columns into a single column

b)

To insert new rows into a table

c)

To update existing rows or insert new rows if they do not exist

d)

To delete rows from a table based on specified conditions

23.

Which type of data can be stored in the database?

a)

Image oriented data

b)

Text, files containing data

c)

Data in the form of audio or video

d)

All of the above

24.

Identify the primary key from the following

a)

name

b)

mark

c)

telephone number

d)

Gender

25.

can a primary key be null

a)

yes

b)

no

26.

for the following two entities which is appropriate relationship Zoo/Animal

a)

one to one

b)

one to many

c)

many to one

27.

Record in a database is

a)

can have information about a person

b)

Known as row

c)

group of related record

d)

Known as column

28.

For the following two entities which is the correct option RULER/COUNTRY

a)

one to many

b)

one to one

c)

many to one

29.

for the following two entities which one is the correct option CUTOMER/ORDER

a)

one to one

b)

one to many

c)

many to one

30.

check the incorrect option

a)

ER is an conceptual Data model

b)

DBMS avoids Data redundancy

c)

we cannot create a table without a primary key

d)

An attribute of an entity can have more than one value

31.

What does ODBC in a database stand for:

a)

Oral Database Connectivity

b)

Oracle Database Connectivity

c)

Open Database Connectivity

d)

Object Database Connectivity

32.

Which of the following represents a one-to-many relationship?

a)

Many teachers have one class

b)

Many teachers have many classes

c)

One teacher has many classes

d)

One teacher has one class

33.

Which of the following is a DDL command in SQL?

a)

SELECT

b)

INSERT

c)

CREATE

d)

UPDATE

34.

Which of the following commands is used to delete a table in

SQL?

a)

DELETE

b)

DROP

c)

REMOVE

d)

ERASE

35.

Which command is used to insert new data into a table?

a)

ADD

b)

INSERT

c)

UPDATE

d)

APPEND

36.

Which command is used to change the structure of a table?

a)

ALTER

b)

MODIFY

c)

CHANGE

d)

UPDATE

37.

Which of the following commands is used to save all changes

made during the current transaction?

a)

SAVE

b)

APPLY

c)

COMMIT

d)

EXECUTE

38.

Which command removes all rows from a table without

logging the individual row deletions?

a)

DELETE

b)

ERASE

c)

CLEAR

d)

TRUNCATE

39.

What does the SQL command GRANT do?

a)

Removes user privileges

b)

Creates a new user

c)

Modifies table structure

d)

Gives user access privileges to the database

40.

The data model which describes how the data is actually stored is

a)

internal model

b)

external model

c)

logical model

d)

none of these

41.

Data about data is normally termed as

a)

directory

b)

data bank

c)

meta data

d)

none of the above

42.

A view of database that appears to an application program is known as

a)

schema

b)

subschema

c)

virtual table

d)

none of the above

43.

Collection of information stored in a database at a particular moment is

a)

view

b)

schema

c)

instance

d)

none of the above

44.

DBA stands for

a)

Data Bank Access

b)

Database Access

c)

Data Bank Administration

d)

Database Administrator

45.

Data items grouped together for storage purposes are called a :

a)

Record

b)

title

c)

list

d)

string

46.

A different diagrammatic representation other than schema diagram is known as the

a)

Unstructured diagram

b)

Semi structured diagram

c)

Structured diagram

d)

Entity-relationship diagram

47.

CREATE TABLE employee (name VARCHAR, id INTEGER)

What type of statement is this?

a)

DML

b)

DDL

c)

View

d)

Integrity constraint

48.

The SQL used by front-end application programs to request data from the DBMS is called _______

a)

A. DML

b)

B .DDL

c)

C .VDL

d)

D. SDL

49.

A database management system (DBMS) is a collection of programs that enables users to

a)

create a database

b)

manipulate a database

c)

both create and manipulate a database

d)

for storing data only

50.
A database entity is also known as:
a)
a table
b)
a field
c)
a row
d)
a report
51.

How do we select all rows for the "Designer" table?

a)

SELECT * FROM Designer

b)

SELECT [All] FROM Designer

c)

SELECT Designer.*

d)

SELECT FROM Designer

52.

The term "Data" refers to

a)

The electronic representation of the information( or data)

b)

Basic information

c)

Row Facts and figures

d)

Both A and C