wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

FDS_MIDTERM

Total questions: 60

Worksheet time: 35mins

Name
Class
Date
1.

What is the primary purpose of a Database Management System (DBMS)?

a)

To create hardware interfaces

b)

To store and retrieve user's data

c)

To design network protocols

d)

To develop application programs

2.

T/F: Process is NOT a component of a database system.

a)

True

b)

False

3.

In database terminology, these are raw and unorganized facts.

(a)  

4.

Which type of database organizes data in a tree-like structure?

(a)  

5.

What language is commonly used to access and manipulate data in relational databases?

(a)  

6.

Which of the following is NOT an example of a popular DBMS?

a)

Oracle

b)

MySQL

c)

PostgreSQL

d)

SQL

7.

When was the first DBMS, known as Integrated Data Store, designed?

a)

1950

b)

1960

c)

1970

d)

1980

8.

What type of database is designed for unstructured data and can store data in various formats?

a)

Relational

b)

Hierarchical

c)

NoSQL

d)

Network

9.

Who introduced the Entity-relationship model in database design?

(a)  

10.

MS Access is a personal DBMS product, released in (a)   , displaced all other personal DBMS products.

11.

What is the primary goal of database design in DBMS?

a)

To produce physical design models only

b)

To produce logical and physical design models

c)

To implement hardware resources

d)

To implement software resources

12.

Which of the following is NOT a benefit of a properly designed database?

a)

Improved data consistency

b)

Cost-effectiveness in terms of storage space

c)

Increased data redundancy

d)

Ease of maintenance

13.

What does the logical model in database design focus on?

(a)  

14.

During which stage of the Database Development Life Cycle is the scope and boundaries of the proposed database system defined?

a)

Requirement analysis

b)

System definition

c)

Logical model design

d)

Physical model design

15.

What is the primary concern of the physical data design model?

a)

Defining user requirements

b)

Translating logical to physical media

c)

Creating entity-relationship diagrams

d)

Analyzing business processes

16.

Which statement best describes the relationship between database design and SQL operations?

a)

SQL operations are more crucial than database design

b)

Structuring databases outweighs proficiency in SQL queries

c)

SQL operations and database design are equally complex

d)

Database design is unnecessary if SQL is well-written

17.

In the context of database development, what does the 'Implementation' phase include?

a)

Requirement analysis and planning

b)

Logical model design

c)

Data conversion, loading, and testing

d)

System definition and scoping

18.

What is the purpose of the 'Testing' stage in database development?

a)

To design the logical model

b)

To convert data from old systems

c)

To identify errors in the new system

d)

To plan the entire development lifecycle

19.

Which of the following is true about the database development life cycle?

a)

It can be flexible in its application

b)

It is only applicable to large database systems

c)

It must always be followed in a strict sequential manner

d)

It ends after the logical model is created

20.

T/F: Considering the system of organization is the primary focus of the 'Planning' stage in database design.

a)

True

b)

False

21.

The primary purpose of database normalization is to eliminate (a)   in data manipulation.

22.

Who proposed the theory of normalization of data?

a)

Raymond E. Boyce

b)

Edgar F. Codd

c)

Donald D. Chamberlin

d)

Charles W. Bachman

23.

Which of the following is NOT a normal form in SQL?

a)

First Normal Form (1NF)

b)

Third Normal Form (3NF)

c)

Seventh Normal Form (7NF)

d)

Boyce-Codd Normal Form (BCNF)

24.

What is a key characteristic of the First Normal Form (1NF)?

a)

It eliminates all functional dependencies

b)

It requires a composite primary key

c)

Each table cell should contain a single value

d)

It removes all foreign keys

25.

T/F: A composite key in database design is composed of single column.

a)

True

b)

False

26.

Which normal form deals with removing transitive functional dependencies?

a)

First Normal Form (1NF)

b)

Second Normal Form (2NF)

c)

Third Normal Form (3NF)

d)

Fourth Normal Form (4NF)

27.

What is the main purpose of a foreign key in a database?

a)

To ensure that each record in a table is unique

b)

To speed up query performance

c)

To encrypt sensitive data

d)

To establish relationships between tables

28.

In the context of normalization, what does BCNF stand for?

a)

Boyce-Codd Normal Form

b)

Boyce-Cadd Normal Form

c)

Boyce-Chen Normal Form

d)

Boyce-Crows Normal Form

29.

Which normal form ensures that there are no multi-valued dependencies?

a)

Second Normal Form (2NF)

b)

Third Normal Form (3NF)

c)

Fourth Normal Form (4NF)

d)

Fifth Normal Form (5NF)

30.

What is the highest normal form that is commonly used in practical database design?

a)

Third Normal Form (3NF)

b)

Boyce-Codd Normal Form (BCNF)

c)

Fourth Normal Form (4NF)

d)

Fifth Normal Form (5NF)

31.

What is the primary purpose of Entity Relationship (ER) Modeling?

a)

To create user interfaces for database systems

b)

To graphically represent database design

c)

To optimize database query performance

d)

To implement security protocols in databases

32.

Which of the following best describes an entity in ER Modeling?

a)

A relationship between two tables

b)

A column in a database table

c)

A distinguishable object in the real world

d)

A primary key in a relational database

33.

What does EER stand for in the context of database modeling?

(a)  

34.

In ER Modeling, how are relationships typically represented using UML notation?

a)

As class diagrams

b)

As entity boxes

c)

As associations between entities

d)

As attribute lists

35.

Why is ER Modeling considered important in database design?

a)

It automatically generates SQL code

b)

It eliminates the need for database normalization

c)

It serves as a communication tool between stakeholders

d)

It replaces the need for actual database implementation

36.

What type of relationship exists between an Employee that belongs only to a specific Department?

a)

One-to-one

b)

One-to-many

c)

Many-to-many

d)

No direct relationship

37.

Which of the following is NOT a characteristic of a junction table?

a)

It is a link between keys

b)

It is a solution to RDBMS limitation

c)

It acts as a transaction table

d)

It connects two tables

38.

What does 'U' stands for in UML notation?

a)

Universal

b)

Unique

c)

United

d)

Unified

39.

Which of the following is NOT a characteristic of entities in ER Modeling?

a)

Entities have a set of properties

b)

Entity properties can have values

c)

Entities must always have a many-to-many relationship

d)

Entities represent distinguishable objects in the real world

40.

What notation does the Enhanced Entity Relationship (EER) model typically use?

a)

SQL

b)

XML

c)

UML

d)

JSON

41.

What command is used to create a database in MySQL aside from the keyword CREATE DATABASE?

(a)  

42.

Which clause is used to check if a database already exists before creating it?

(a)  

43.

What is the purpose of collation in MySQL?

a)

To encrypt the database

b)

To compress the data

c)

To set rules for data comparison

d)

To define the storage engine

44.

Which of the following is NOT a main category of data types in MySQL?

a)

Numeric

b)

Text

c)

Date/Time

d)

Boolean

45.

What is the correct syntax to create a table in MySQL?

a)

NEW TABLE tablename (fieldname datatype);

b)

MAKE TABLE tablename (fieldname datatype);

c)

CREATE TABLE tablename (fieldname datatype);

d)

INSERT TABLE tablename (fieldname datatype);

46.

T/F: The optional parameter AUTO_INCREMENT can be used to automatically increment a field value.

a)

True

b)

False

47.

What is the purpose of the PRIMARY KEY in a table creation statement?

a)

To encrypt the data in the column of a table

b)

To uniquely identify each record in the table

c)

To set the default value for the column of a table

d)

To allow null values in the record in a table

48.

Which storage engine is commonly used in MySQL table creation?

(a)  

49.

What is the recommended practice for naming schemas, tables, and fields in MySQL?

a)

Use spaces between words

b)

Use camelCase in the names

c)

Use underscores between words

d)

Use all capital letters in the names

50.

T/F: The valid way to specify the character set when creating a database is: CREATE DATABASE dbname CHARSET utf8;

a)

True

b)

False

51.

What is the primary purpose of the SELECT statement in MySQL?

a)

To retrieve data from a database

b)

To insert data into a database

c)

To update existing records in a table

d)

To delete data from a table

52.

Which of the following is the correct syntax for selecting specific columns from a table?

a)

SELECT FROM (column1, column2) table_name;

b)

SELECT column1, column2 FROM table_name;

c)

SELECT table_name FROM column1, column2;

d)

SELECT * FROM column1, column2;

53.

What does the asterisk (*) represent in a SELECT statement?

a)

It selects only the primary key column

b)

It selects a random sample of rows

c)

It selects all columns from the specified table

d)

It performs a mathematical operation on the data

54.

Which keyword is used to eliminate duplicate values in the result set?

(a)  

55.

What is the purpose of the FROM clause in a SELECT statement?

a)

To specify the columns to be selected

b)

To filter the results based on a condition

c)

To indicate the table from which to retrieve data

d)

To sort the result set in a specific order

56.

How would you select all columns from a table named 'Customers'?

(a)  

57.

Write a query that will return the number of distinct countries in the 'Customers' table.

(a)  

58.

What is the result of executing 'SELECT DISTINCT Country FROM Customers;'?

a)

It returns all countries, including duplicates

b)

It returns only the first occurrence of each country

c)

It returns the total number of countries

d)

It returns an error because DISTINCT is used incorrectly

59.

Which of the following is true about the result-set in MySQL?

a)

It is a permanent table stored in the database

b)

It is a temporary table holding query results

c)

It can only contain numeric data

d)

It is limited to 100 rows by default

60.

T/F: In the context of SELECT statements, an expression refer to a combination of column names and functions?

a)

True

b)

False