Quiz (1-4) Flashcards

1
Q

A DBMS is

A

A collection of software that creates and manages databases

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How can a database system solve the problems with traditional file processing system?

A

By separating a program from data.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Which of the following is NOT true about “unstructured data” type?

A

Unstructured data is often stored in a table with rows and columns.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

A mid-managerial, highly technical position in charge of DB (database) resources best defines ______________.

A

Database administrator (DBA)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Compared with the file processing system, a database system ____________.

A

Is more complex
Is more expensive

Answers 1 and 2

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

The goal of DB conceptual design (modeling) is:

A

To define the information contents to be included in a database

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

The DBMS function that handles data backup and data recovery best defines:

A

Data administration

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

A DB designer is concerned with _______________ during the physical DB deign phase.

A

DB efficiency (performance)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

We discussed differences between data and information. Which of the following provides an example of “DATA”?

A

An employee’s hire date

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

With DBMS, you can do ___________.

A
  • Data definition
  • Data manipulation
  • Data administration (control)

Answer - All of the above

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is the “cardinality” of the relationship between the following two entities?

A

One-to-One

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

In ER Modeling, a bubble (circle) is used to represent ________________.

A

Optional situation

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

An attribute that has more than one values at any given time, best defines a(an) _______________.

A

Multi-valued attribute

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Name and Address of EMPLOYEE are examples of a(an) ___________.

A

Attribute

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

In a Video Rental System, VIDEO, RENTAL, and EMPLOYEE are examples of a(n):

A

Entity

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is the output of the conceptual design (modeling)?

A

ER model

17
Q

In ER modeling,

A

An entity must be uniquely identified

18
Q

In a payroll system, Gross Pay is calculated by multiplying Number of Hours Worked and Hourly Wage. The Gross Pay is an example of:

A

Derived attribute

19
Q

Which of the following provides an example of a composite attribute?

A

Address (e.g., 13 “A” street, Little Rock, AR)

20
Q

Which of the following is a true statement about ERM (Entity Relationship Model)?

A

Its purpose is to define the information contents to be included in the target Database

21
Q

The goal of the logical modeling is to specify the ____________ of the database.

A

structure

22
Q

An input to the relational modeling is a(n) _____________?

A

Entity-Relationship model

23
Q

Which of the following is NOT an option for enforcing “referential integrity constraint” in the relational model?

A

Assertion

24
Q

In the relational model, which of the following is a possible answer for a cardinality?

A

Ten (10)

25
Q

Which of the following is a true statement about the relational model?

A
  1. SQL is a data manipulation language for the relational model.
  2. Data integrity constraints make sure that a database does not give false information about the data it stores
  3. “Relation” is a single data structure in the relational model.

Answer - 1, 2, and 3

26
Q

In the ORDER table, there is an order with the OrderDate of 2/1/2020 and ShippingDate of 1/1/2020. This must be an error. The shippingDate cannot be earlier than the order date. Which data integrity constraint can catch this error?

A

Semantic integrity constraint

27
Q

In the EMPLOYEE table, a primary key (i.e., EmpID) value for John is missing. Which data integrity constraint catch the error?

A

Entity integrity constraint

28
Q

An attribute that is common in two tables and used for linking the tables best defines a ________________.

A

Foreign key

29
Q

In the general business applications, _________ is acceptable.

A

3 NF

30
Q

When you add a row, you’ll have to enter null for PK. This is an example of __________ anomaly

A

Insertion

31
Q

The normalization is the process of _____________.

A

Breaking a table into smaller and well structured tables

32
Q

If a table’s non-key attribute functionally determines other non-key attribute, the table has ____________.

A

Transitive (functional) dependency

33
Q

_______ normal form has __________ integrity than __________ normal form.

A

Higher, higher, lower

34
Q

If a table has only one multi-valued attribute, _______________________.

A

It is not even in the 1 NF

35
Q

A highly normalized table (e.g., a table in BCNF) ______________.

A

Has a minimal update anomaly