wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Unit 26 - Develop Databases

Total questions: 20

Worksheet time: 39mins

Name
Class
Date
1.

Relational Databases save information as...

a)

text files

b)

Separate Documents

c)

Structured tables without relations

d)

Structured tables with relations

2.

Many to many relation means..

a)

One table record relates to another record in another table

b)

One table record relates to many records in another table.

c)

More than one table record relates to another table record

d)

More than one table record relates to more than one record in another table

3.

Some examples of relational databases include

a)

Microsoft SQL Server

b)

MySQL

c)

Oracle

d)

All of the above

4.

A labeled element of a tuple, e.g. "Address" or "Date of birth" is called

a)

Row

b)

Tuple

c)

Attribute

d)

Record

5.

A data report from the RDBMS in response to a query is called

a)

Column

b)

Result Set

c)

Base Relation

d)

Field

6.

A constraint can restrict a given integer attribute to values between 1 and 10. This is called...

a)

Primary Key Constraint

b)

Foreign Key Constraint

c)

Domain Constraint

d)

Syntax Constraint

7.

DDL stands for

a)

Data Define Language

b)

Define Data Language

c)

Data Definition Language

d)

Definition Data Language

8.

DML includes

a)

SELECT query

b)

INSERT query

c)

DELETE query

d)

All of the above

9.

A language consisting of diagrams that help developers to program (code) an application is known as

a)

Structure Query Language

b)

Unified Modeling Language

c)

Hypertext Markup Language

d)

eXtensible Markup Language

10.

DBMS is...

a)

a software used to create, update and delete user profiles in a computer system

b)

a software used to only update a database in a computer system

c)

a software that handles the storage, retrieval, and updating of data in a computer system.

d)

a software used to alter the memory cache in a computer system

11.

The names assigned to each piece of data and their data types are known as

a)

Identifiers

b)

Data definitions

c)

Administration

d)

Security

12.

For instance there is an attribute “student-name”. Its type is varchar. It has a limit of maximum 20 characters. These all are...

a)

Identifiers

b)

Data Definitions

c)

Administration

d)

Security

13.

What best describes a data dictionary?

a)

A set of files that contains meta data for a database

b)

A definition of relationships used in a database

c)

A set of SQL statements to create a database

d)

A glossary of terms used in database structures

14.

Which one of the following best describes a relational database?

a)

Each entity in an entity-relationship (ER) diagram converts to a table

b)

Key values must be null before the entity relationship is defined

c)

Primary keys must be joined in a one to many entity relationship

d)

Entities are defined by a list of unique attributes

15.

Which one of the following is a Database management environment?

a)

MySQL

b)

IDE

c)

DTD

d)

ODBC

16.

Which one of the following segments of SQL code adds a new column for startdate to the courses table?

a)

INSERT startdate INTO TABLE courses

b)

ALTER TABLE courses ADD (startdate (DATE))

c)

ALTER TABLE courses ADD (startdate DATE)

d)

INSERT INTO TABLE courses (startdate)

17.

A name of a database, table, or table column is known as...

a)

Identifier

b)

Data Definition

c)

Administration

d)

Security

18.

Information on schema and all the other information regarding access, storage, built in programs or any other information about database elements or usage is known as

a)

Identifier

b)

Meta Data

c)

Primary Key

d)

Constraint

19.

SQL is..

a)

ANSI Standard

b)

ISO Standard

c)

W3C Standard

d)

ANSI/ISO Standard

20.

A query that removes structure and data of a table

a)

Truncate

b)

Drop

c)

Delete

d)

None of the above