Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Database Concepts Quiz

Total questions: 75

Worksheet time: 38mins

Name
Class
Date
1.

In an E-R diagram that uses Chen Notation attributes are represented by

a)

rectangle.

b)

square.

c)

ellipse.

d)

triangle.

2.

A logical schema,

a)

is a model usually a diagram with data structures expressed which are independent of DBMS.

b)

is a standard way of organizing information into accessible parts.

c)

describes how data is actually stored on disk.

d)

both (A) and (C)

3.

Related fields in a database are grouped to form a

a)

data file.

b)

data record.

c)

menu.

d)

bank.

4.

In an E-R diagram the uses Crows Foot Notation an entity set is represent by a

a)

rectangle.

b)

ellipse.

c)

diamond box.

d)

circle.

5.

The property / properties of a database system is / are :

a)

It is an integrated collection of logically related records.

b)

It consolidates separate files into a common pool of data records.

c)

Data stored in a database is independent of the application programs using it.

d)

All of the above.

6.

The DBMS language component which can be embedded in a program is

a)

The data definition language (DDL).

b)

The data manipulation language (DML).

c)

The database administrator (DBA).

d)

A query language.

7.

The statement in SQL which allows to change the definition of a table is

a)

Alter.

b)

Update.

c)

Create.

d)

Select.

8.

The Chen Notation ER model uses this symbol to represent weak entity set?

a)

Dotted rectangle.

b)

Diamond

c)

Doubly outlined rectangle

d)

None of these

9.

Which of the following operation is used if we are interested in only certain columns of a table?

a)

PROJECTION

b)

SELECTION

c)

UNION

d)

JOIN

10.

The RDBMS terminology for a row is

a)

tuple.

b)

relation.

c)

attribute.

d)

degree.

11.

The entity integrity rule requires that ________.

a)

all primary key entries are unique

b)

a part of the key may be null

c)

foreign key values do not reference primary key values

d)

duplicate object values are allowed

12.

A relational operator that allows for the combination of information from two or more tables is known as the ____ operator.

a)

SELECT

b)

PROJECT

c)

JOIN

d)

DIFFERENCE

13.

A primary key that consists of more than one field is called a ____ key.

a)

composite

b)

secondary

c)

group

d)

foreign

14.

A relational operator that yields all rows in one table that are not found in the other table is the ____ operator.

a)

UNION

b)

INTERSECT

c)

DIFFERENCE

d)

PRODUCT

15.

An ad hoc query is a ____.

a)

pre-scheduled question

b)

spur-of-the-moment question

c)

pre-planned question

d)

question that will not return any results

16.

Where does the DBMS store the definitions of data elements and their relationships?

a)

Data file

b)

Index

c)

Data dictionary

d)

Data map

17.

A raw fact, such as an invoice date, is known as ____.

a)

information

b)

a record

c)

a relationship

d)

data

18.

Another name for a production database is a ____ database.

a)

development

b)

warehousing

c)

transactional

d)

data-mining

19.

A DBMS performs several important functions that guarantee the integrity and consistency of the data in the database. Which of the following is NOT one of those functions?

a)

Data integrity management

b)

Data storage management

c)

Data reports

d)

Security management

20.

Which of the following is a benefit of using a DBMS?

a)

They provide full security to data using private/public key encryption

b)

They create automatic queries

c)

They help create an environment for centralized control

d)

They provide seamless Internet access to database data

21.

Software that defines a database, stores the data, supports a query language, produces reports and creates data entry screens is a:

a)

data dictionary

b)

database management system (DBMS)

c)

decision support system

d)

relational database

22.

Which of the following items is not the advantage of a DBMS?

a)

Improved ability to enforce standards

b)

Improved data consistency

c)

Local control over the data

d)

Minimal data redundancy

23.

The property (or set of properties) that uniquely defines each row in a table is called the:

a)

identifier

b)

index

c)

primary key

d)

symmetric key

24.

The database design that consists of multiple tables that are linked together through matching data stored in each table is called a:

a)

Hierarchical database

b)

Network database

c)

Object oriented database

d)

Relational database

25.

Which of the following statements is not correct?

a)

All many-to-many relationships must be converted to a set of one-to-many relationships by adding a new entity

b)

Data Normalization is the process of defining the table structure

c)

Individual objects are stored as rows in a table

d)

A primary goal of a database system is to share data with multiple users

26.

In the relational modes, cardinality is termed as:

a)

Number of tuples

b)

Number of attributes

c)

Number of tables

d)

Number of constraints

27.

DML is provided for

a)

Description of the logical structure of the database

b)

Addition of new structures n the database system

c)

Manipulation & processing of database

d)

Definition of physical structure of the database system

28.

The database schema is written in

a)

SQL

b)

DML

c)

DDL

d)

DCL

29.

The view of total database contents is

a)

Conceptual view

b)

Internal view

c)

External view

d)

Physical view

30.

The separation of the data definition from the program is known as:

a)

data dictionary

b)

data independence

c)

data integrity

d)

referential integrity

31.

The statement in SQL which changes the definition of a table

a)

Alter

b)

Update

c)

Create

d)

Select

32.

Which of the following is a legal expression in SQL?

a)

SELECT NULL FROM EMPLOYEE;

b)

SELECT NAME FROM EMPLOYEE;

c)

SELECT NAME FROM EMPLOYEE WHERE SALARY = NULL;

d)

None of the above

33.

Which of the following is a valid SQL type?

a)

CHARACTER

b)

NUMERIC

c)

FLOAT

d)

All of the above

34.

NULL is

a)

The same as 0 for an integer

b)

The same as blank for a character

c)

Both A and B

d)

Not a value

35.

The DROP TABLE statement:

a)

Deletes the table structure only

b)

Deletes the table structure along with the table data

c)

Works whether or not referential integrity constraints would be violated

d)

Is not an SQL Statement

36.

When using the SQL INSERT statement:

a)

Rows can be modified according to criteria only

b)

Rows cannot be copied in mass from one table to another only

c)

Rows can be inserted into a table only one at a time

d)

Rows can either be inserted into a table one at a time or in groups

37.

Normalization _______________ data duplication

a)

Eliminates

b)

Reduces

c)

Increases

d)

Maximizes

38.

Which of the following symbols is NOT used in a Chen Notation ERD?

a)

Rectangle

b)

Oval

c)

Diamond

d)

Circle

39.

Tables in second normal form (2NF):

a)

Eliminate all hidden dependencies

b)

Eliminate the possibility of a insertion anomalies

c)

Have a composite key

d)

Have all non key fields depend on the whole primary key

40.

A functional dependency is a relationship between or among:

a)

Tables

b)

Rows

c)

Relations

d)

Attributes

41.

While inserting new rows in a table you must list values in the default order of the columns.

a)

True

b)

False

42.

Which of the following is true about removing rows from a table?

a)

You remove existing rows from a table using the DELETE statement

b)

No rows are deleted if you omit the WHERE clause.

c)

You cannot delete rows based on values from another table.

d)

All of the above.

43.

Which operator performs pattern matching?

a)

BETWEEN operator

b)

LIKE operator

c)

EXISTS operator

d)

None of these

44.

What operator tests column for the absence of data?

a)

EXISTS operator

b)

NOT operator

c)

IS NULL operator

d)

None of these

45.

Find all the cities whose humidity is 89

a)

SELECT city WHERE humidity = 89

b)

SELECT city FROM weather WHERE humidity = 89

c)

SELECT humidity = 89 FROM weather

d)

SELECT city FROM weather

46.

What is the meaning of LIKE ‘%0%0%’

a)

Feature begins with two 0’s

b)

Feature ends with two 0’s

c)

Feature has more than two 0’s

d)

Feature has two 0’s in it, at any position

47.

Third normal form is based on the concept of ___________

a)

Closure Dependency

b)

Transitive Dependency

c)

Normal Dependency

d)

Functional Dependency

48.

A function that has no partial functional dependencies is in __________ form

a)

3NF

b)

2NF

c)

4NF

d)

BCNF

49.

The ___________ operation allows the combining of two relations by merging pairs of tuples, one from each relation, into a single tuple

a)

Select

b)

Join

c)

Union

d)

Intersection

50.

An attribute in a relation is a foreign key if the ____________ key from one relation is used as an attribute in that relation

a)

Candidate

b)

Primary

c)

Super

d)

Sub

51.

All of the following are features of a flat file database except

a)

All records are stored in one place

b)

Easy to setup

c)

Easy to understand

d)

Unique records

52.

All of the following meets database objectives except

a)

to control redundancy

b)

to standardize data storage

c)

to prevent sharing of data

d)

to maintain data integrity

53.

Which of the following is NOT an expectation we have for a database management system, whether it is relational or not

a)

More complicated handling of requests for information

b)

backup and recovery

c)

efficient storage handling

d)

concurrency

54.

Which of the following is NOT a type of schema corresponding to the three levels in the ANSI-SPARC architecture

a)

Internal

b)

Conceptual

c)

Physical

d)

External

55.

Physical data independence is

a)

The ability to modify the conceptual schema without having alteration in external schema or application programs

b)

The ability to modify the physical schema without causing the conceptual schema application programs to be rewritten

c)

none of these

d)

all of these

56.

Which of the following is NOT true of relational database management systems

a)

Tables are organized into columns

b)

One or more columns uniquely identify a row within the table

c)

Stores data in flat files

d)

An index provides a quick way to look up data

57.

Which of the following is NOT a tool that is available with a complete database management system

a)

Presentation

b)

Report writer

c)

Graphics

d)

Ad-hoc query

58.

Which of the following is NOT true about an Entity Relationship Diagram (ERD)

a)

It shows how the database is physically represented on the computer system

b)

It is based on an abstract, conceptual representation of data called an entity relationship model (ERM)

c)

It consists of a collection of entity types and relationships

d)

It includes attributes for each entity, and multiplicity and participation for each relationship

59.

Which of the following is NOT an acronym of sub languages of SQL

a)

DQL

b)

DHL

c)

DDL

d)

DML

60.

The goal of third normal form (3NF) is to

a)

Eliminate repeating groups

b)

Make non-key attributes fully dependent on the primary key

c)

Remove transitive dependencies

d)

All of these

61.

In which Normal Form should you eliminate repeating groups?

a)

First Normal Form (1NF)

b)

Second Normal Form (2NF)

c)

Third Normal Form (3NF)

d)

None of these

62.

The Boyce-Codd Normal Form is another name for?

a)

First Normal Form (1NF)

b)

Second Normal Form (2NF)

c)

Third Normal Form (3NF)

d)

None of these

63.

When all non-key attributes are fully functionally dependent on the primary key, a table is in

a)

First Normal Form (1NF)

b)

Second Normal Form (2NF)

c)

Third Normal Form (3NF)

d)

None of these

64.

A candidate key that will most commonly be used to uniquely identify a single entity instance is said to be a

a)

Candidate key

b)

Primary key

c)

Concatenated key

d)

Alternate key

65.

A natural business association that exists between one or more entities is a

a)

Relationship

b)

An associative entity

c)

Cardinality

d)

Domain

66.

An atomic transaction is a set of SQL statements where

a)

All succeed

b)

All fail

c)

All succeed or fail

d)

None succeed of fail

67.

The SQL operator that is used where an exact match is not necessary is

a)

%

b)

LIKE

c)

BETWEEN

d)

ANY

68.

A value that is not available or not known is a

a)

Zero value

b)

Unknown value

c)

Missing value

d)

NULL value

69.

To check for a value outside of a range, you can use

a)

NOT RANGE operator

b)

NOT LIKE operator

c)

NOT BETWEEN operator

d)

None of these

70.

The OR operator combines two relational expressions where only one must be true to provide a true result

a)

True

b)

False

71.

The AND operator combines two relational expressions where only one must be true to provide a true result

a)

True

b)

False

72.

The SQL statement ‘Select mod (10,4) from dual’ will display 2 as the result

a)

True

b)

False

73.

The SQL statement ‘select round (1047.785,2) from dual’ will display 1047.78

a)

True

b)

False

74.

‘%abc’ matches strings beginning with ‘abc’

a)

True

b)

False

75.

The HAVING is similar to WHERE, but it can operate on the GROUP BY aggregate functions, whereas WHERE operates only on columns

a)

True

b)

False