Past Exam Flashcards

1
Q

_____ is the result of revealing the meaning of raw
facts

a. End-user data
b. An encoded sample
c. An encrypted bit
d. Information

A

Information

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

_____ is the body of information and facts about a specific subject

a. Validation
b. A format
c. Knowledge
d. A database

A

Knowledge

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

Which of the following refers to the situation where different versions of the same data are stored at different places because they weren’t updated consistently?

a. Data query
b. Data integrity
c. Data dictionary
d. Data redundancy

A

Data redundancy

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

A workgroup database is a (n) _____ database

a. single-user
b. multiuser
c. desktop
d. distributed

A

multiuser

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

A (n) _____ database is used by an organization and supports many users across many departments

a. desktop
b. workgroup
c. enterprise
d. transactional

A

enterprise

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

A (n) _____ is anything about which data are to be collected and stored

a. attribute
b. entity
c. relationship
d. constraint

A

entity

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

A (n) _____ is bidirectional.

a. attribute
b. entity
c. relationship
d. constraint

A

relationship

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

A (n) _____ is a restriction placed on the data

a. attribute
b. entity
c. relationship
d. constraint

A

constraint

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

In the _____ model, the basic logical structure is represented as an upside-down tree

a. hierarchical
b. network
c. relational
d. entity relationship

A

hierarchical

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

A (n) _____ enables a database administrator to describe schema components

a. extensible markup language (XML)
b. data definition language (DDL)
c. unified modeling language (UML)
d. query language

A

data definition language (DDL)

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

In the relational model, _____ are important because they are used to ensure that each row in a table is uniquely identifiable

a. relations
b. keys
c. indexes
d. logical structures

A

keys

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

A _____ is any key that uniquely identifies each row

a. superkey
b. special key
c. foreign key
d. candidate key

A

superkey

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

A _____ key can be described as a minimal superkey, a superkey without any unnecessary attributes

a. secondary
b. candidate
c. primary
d. foreign

A

candidate

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

A _____ is the primary key of one table that has been placed into another table to create a common attribute

a. superkey
b. composite primary key
c. candidate key
d. foreign key

A

foreign key

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

A _____ key is defined as a key that is used strictly for data retrieval purposes

a. lookup
b. foreign
c. candidate
d. secondary

A

secondary

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

The CUSTOMER table’s primary key is CUS_CODE. The CUSTOMER primary key column has no null entries, and all entries are unique. This is an example of _____ integrity

a. entity
b. referential
c. relational
d. null

17
Q

The entity relationship diagram (ERD) represents the _____ database as viewed by the end user

a. condensed
b. physical
c. logical
d. conceptual

A

conceptual

18
Q

Ideally, an entity identifier is composed of _____ attribute(s)

a. one
b. two
c. three
d. six

19
Q

A _____ attribute is one that cannot be subdivided

a. composite
b. simple
c. single-valued
d. multivalued

20
Q

Knowing the minimum and maximum number of _____ occurrences is very helpful at the application software level

a. object
b. attribute
c. data
d. entity

21
Q

Attribute A _____ attribute B if all of the rows in the table that agree in value for attribute A also agree in value for attribute B

a. determines
b. derives from
c. controls
d. owns

A

determines

22
Q

A table that has all key attributes defined, has no repeating groups, and all its attributes are dependent on the primary key is said to be in _____

a. 1NF
b. 2NF
c. 3NF
d. 4NF

23
Q

The SQL command that allows a user to permanently save data changes is _____

a. INSERT
b. SELECT
c. COMMIT
d. UPDATE

24
Q

The special operator used to check whether an attribute value is within a range of values is _____

a. BETWEEN
b. NULL
c. LIKE
d. IN

25
Q

The _____ command is used to restore the database to its previous condition

a. ROWCOUNT
b. BACKUP
c. COMMIT
d. ROLLBACK

26
Q

Which is a feature of a correlated subquery?

a. The inner subquery executes first.
b. The outer subquery initiates the process of execution in a subquery.
c. The inner subquery initiates the process of execution in a subquery.
d. The outer subquery executes independent of the inner subquery

A

The outer subquery initiates the process of execution in a subquery

27
Q

The SQL aggregate function that gives the number of rows containing non-null values for a given column is _____

a. COUNT
b. MIN
c. MAX
d. SUM

28
Q

Which command would be used to delete the table row where the P_CODE is ‘BRT-345’?

a. DELETE FROM PRODUCT WHERE P_CODE = ‘BRT-345’;
b. REMOVE FROM PRODUCT WHERE P_CODE = ‘BRT-345’;
c. ERASE FROM PRODUCT WHERE P_CODE = ‘BRT-345’;
d. ROLLBACK FROM PRODUCT WHERE P_CODE = ‘BRT-345’;

A

DELETE FROM PRODUCT WHERE P_CODE = ‘BRT-345’;

29
Q

The special operator used to check whether a subquery returns any rows is _____

a. BETWEEN
b. EXISTS
c. LIKE
d. IN

30
Q

The SQL data manipulation command HAVING:

a. restricts the selection of rows based on a conditional expression.
b. restricts the selection of grouped rows based on a condition.
c. modifies an attribute’s values in one or more table’s rows.
d. groups the selected rows based on one or more attributes.

A

restricts the selection of grouped rows based on a condition