wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Final Exam Review: Information Management

Total questions: 51

Worksheet time: 26mins

Name
Class
Date
1.

It is a major component of SQL that enables you to create and modify the database itself.

a)

Data Control Language

b)

Data Manipulation Language

c)

Data Definition Language

d)

Transaction Control Language

2.

It is the process of organizing data to minimize redundancy in the design of a relational database management system.

a)

Normalization

b)

Functional Dependency

c)

Transitive Dependency

d)

Full Functional Dependency

3.

A process of minimizing the differences between entities by identifying their common features.

a)

Superclass

b)

Generalization

c)

Subtype

d)

Specialization

4.

A normal form wherein the partial dependency is being eliminated.

a)

1NF

b)

2NF

c)

3NF

d)

BCNF

5.

This statement is used to edit data in a table.

a)

CHANGE

b)

EDIT

c)

UPDATE

d)

ALTER

6.

Which of the following SQL commands is not an example of Data Manipulation Language?

a)

SELECT

b)

COUNT

c)

FROM

d)

RENAME

7.

A normal form where all underlying simple domains contain atomic values only.

a)

1NF

b)

2NF

c)

3NF

d)

BCNF

8.

It is a graphical user interface that allows you to issue SQL commands to interact with the server and any databases you create.

a)

MySQL Community Server

b)

MySQL Workbench

c)

Oracle Database Express Edition

d)

SQL Server Management Studio

9.

It is used to connect to any of the SQL Server components.

a)

Solutions Explorer Window

b)

Object Explorer Window

c)

Query Editor Window

d)

Properties Window

10.

It is the key field that serves as the unique identifier of a specific tuple in a relation.

a)

Foreign Key

b)

Primary Key

c)

Candidate Key

d)

Unique attribute

11.

Which statement removes the records of the teachers under the IT department?

a)

DELETE FROM Teachers BETWEEN Department = 'IT';

b)

DELETE FROM Teachers LIKE Department = 'IT';

c)

ERASE FROM Teachers IN Department = 'IT';

d)

DELETE FROM Teachers WHERE Department = 'IT';

12.

Which of the following is not an objective of normalization?

a)

Each table represent a single entity.

b)

No data item will be unnecessary stored in more than one table.

c)

Each row contains multiple values.

d)

Each table has no data anomalies.

13.

Which of the following statements deletes a database named preDB?

a)

CLEAR DATABASE preDB:

b)

ERASE DB preDB;

c)

DELETE DB preDB:

d)

DROP DATABASE preDB;

14.

Which statement removes the record of the employees under the Marketing department?

a)

DELETE FROM Employees BETWEEN Department = 'Marketing';

b)

ERASE FROM Employees IN Department = 'Marketing';

c)

DELETE FROM Employees LIKE Department = 'Marketing';

d)

DELETE FROM Employees WHERE Department = 'Marketing';

15.

Which of the following statements deletes the Age column from the Students table?

a)

ALTER TABLE Students DROP COLUMN Age:

b)

ALTER TABLE Students DROP COLUMN Age;

c)

DROP COLUMN Age ALTER TABLE Students:

d)

DROP COLUMN Age ALTER TABLE Students:

16.

Which of the following is NOT a basic scenario as to how data can be modified?

a)

Inserting new rows into a table

b)

Inserting new columns into a table

c)

Deleting rows from a table

d)

Updating existing data in specific rows and columns in a table

17.

Which of the following is NOT the importance of Normalization

a)

Correct duplicate data and database anomalies.

b)

Prevent unwanted deletions of data.

c)

Optimize storage space.

d)

Checking and proper referencing of foreign key

18.

Which of the following statements is NOT TRUE about SQL?

a)

SQL can execute queries against a database.

b)

SQL can create stored procedures in a database.

c)

SQL can create new table in a database.

d)

SQL can set permission on tables and views only.

19.

Which statement creates a database named preDB?

a)

CREATE DATABASE preDB:

b)

CREATE DATABASE preDB;

c)

CREATE DB preDB:

d)

CREATE DB preDB;

20.

Which retrieves the unique values in the Color column of the Car table?

a)

SELECT DISTINCT Color FROM Car:

b)

SELECT UNIQUE Color FROM Car:

c)

SELECT DISTINCT Color FROM Car;

d)

SELECT UNIQUE Color FROM Car;

21.

What does the CREATE TABLE statement do in the provided SQL command?

a)

Inserts data into an existing table

b)

Deletes a table from the database

c)

Defines a new table structure in the database

d)

Retrieves data from the table

22.

In the CREATE TABLE statement, what is the purpose of the PRIMARY KEY constraint on StudID?

a)

To allow duplicate values in the StudID column

b)

To ensure that StudID uniquely identifies each row and cannot be NULL

c)

To link the StudID column with another table

d)

To automatically populate StudID with default values

23.

What does the identity(1,1) clause in the StudID column do?

a)

Sets StudID to increment by 1 for each new row, starting at 1

b)

Makes the StudID column a foreign key

c)

Ensures that StudID can accept NULL values

d)

Specifies a default value of 1 for the StudID column

24.

What is the purpose of the INSERT INTO statement in the given commands?

a)

To create a new table named tblStudents

b)

To delete rows from the tblStudents table

c)

To add a new row of data to the tblStudents table

d)

To update existing rows in the tblStudents table

25.

What does the SELECT * FROM tblStudents; command do?

a)

Retrieves all rows and columns from the tblStudents table

b)

Deletes all data from the tblStudents table

c)

Updates specific rows in the tblStudents table

d)

Creates a backup of the tblStudents table

26.

What is the date value that can be inserted into the bday column using the INSERT INTO statement?

a)

2000-01-01

b)

1900-03-28

c)

2023-13-01

d)

12-1800-15

27.

Which of the following SQL statements is used to create a new table in the database?

a)

INSERT INTO

b)

CREATE TABLE

c)

SELECT * FROM

d)

ALTER TABLE

28.

What does the PRIMARY KEY constraint ensure in a CREATE TABLE statement?

a)

Allows duplicate and NULL values in the column

b)

Ensures that each row in the table has a unique and non-NULL value for the column

c)

Restricts data modifications in the table

d)

Automatically adds foreign key constraints

29.

Which of the following is the correct syntax to insert a row of data into a table?

a)

ADD ROW INTO table_name VALUES(value1, value2, value3);

b)

INSERT INTO table_name(value1, value2, value3);

c)

INSERT INTO table_name(column1, column2) VALUES(value1, value2);

d)

ADD DATA TO table_name(column1, column2) VALUES(value1, value2);

30.

Which of the following SQL commands is used to retrieve all rows and columns from a table named Customers?

a)

GET ALL FROM Customers;

b)

SELECT ALL COLUMNS FROM Customers;

c)

SELECT FROM Customers;

d)

SHOW TABLE Customers

31.

In the INSERT INTO command, what must match between the inserted values and the table structure?

a)

The data types only

b)

The column names and the data types

c)

The table name only

d)

The primary key values

32.

How do you select specific columns, such as FirstName and LastName, from a table named Users?

a)

GET FirstName, LastName FROM Users;

b)

SELECT (FirstName, LastName) FROM Users;

c)

SELECT FirstName, LastName FROM Users

d)

SELECT ALL FirstName AND LastName FROM Users

33.

What is the correct syntax to specify a primary key for the column StudentID in a CREATE TABLE statement?

a)

StudentID INT UNIQUE PRIMARY;

b)

StudentID INT PRIMARY KEY;

c)

PRIMARY KEY StudentID INT;

d)

StudentID PRIMARY INT KEY;

34.

When using the INSERT INTO statement, what happens if you omit the column names but provide the values?

a)

The command will insert the values into all columns automatically in alphabetical order

b)

The command will insert the values based on the default order of columns in the table

c)

The command will fail with an error

d)

The command will prompt the user to specify the column names

35.

When using the INSERT INTO statement, what happens if you omit the column names but provide the values?

a)

The command will insert the values into all columns automatically in alphabetical order

b)

The command will insert the values based on the default order of columns in the table

c)

The command will fail with an error

d)

The command will prompt the user to specify the column names

36.

Which of the following SQL statements will create a table with three columns: ID, Name, and Age?

a)

CREATE TABLE Persons(ID INT, Name VARCHAR(50), Age);

b)

CREATE Persons(ID INT PRIMARY, Name CHAR(50), Age INT);

c)

CREATE TABLE Persons(ID INT, Name VARCHAR(50), Age INT);

d)

TABLE Persons(ID INT PRIMARY KEY, Name CHAR(50), Age);

37.

Normalization prevents unwanted modification of data.

a)

TRUE

b)

FALSE

38.

The ER model supported with additional semantic concepts is called Enhanced Entity-Relationship model.

a)

TRUE

b)

FALSE

39.

To reduce this complexity of modeling we have to make improvements to the existing ER model to make it able to handle the complex application in a better way.

a)

TRUE

b)

FALSE

40.

One of the main concepts of representing EER model is through superclasses.

a)

TRUE

b)

FALSE

41.

The main objective of normalization is to develop a conceptual data model to create an accurate representation of data, its relationship, and constraints.

a)

TRUE

b)

FALSE

42.

Elimination of partial dependencies are rules about disallowing multi-valued attributes.

a)

TRUE

b)

FALSE

43.

Elimination of transitive dependency is a rule that refers to the situation where in a column in the table refers to a non-key column instead of referring to the primary key of a table.

a)

TRUE

b)

FALSE

44.

In the Third Normal Form every non-key attribute that is transitively dependent on the primary key should be removed in the original table.

a)

TRUE

b)

FALSE

45.

The Second Normal Form is accomplished by eliminating partial dependencies.

a)

TRUE

b)

FALSE

46.

A relation is in the fifth normal form if and only if every join dependency in the relation is a consequence of the candidate keys of the relation.

a)

TRUE

b)

FALSE

47.

A relation is in the second normal form (2NF) every non-key attribute is fully dependent on the primary key.

a)

TRUE

b)

FALSE

48.

Partial functional dependency indicates that if A and B are attributes of a table, B is partially dependent on A if there are some attributes that can be removed from A and dependency still holds.

a)

TRUE

b)

FALSE

49.

To represent a total participation, a double line is drawn in between the superclass.

a)

TRUE

b)

FALSE

50.

Enhanced Entity Relationship model optimizes storage space.

a)

TRUE

b)

FALSE

51.

Normalization eliminates the delay and complexity of checking databases when new types of data need to be introduced.

a)

TRUE

b)

FALSE