week 4 -practice quiz Flashcards

1
Q

How is a horizontal fragmentation of a database table created?

1) Place table attributes in to multiple smaller tables.
2) Place table records in to multiple smaller tables.
3) Place the same table in to multiple databases that are connected horizontally.
4) Place table fields in to multiple smaller tables.

A

2) Place table records in to multiple smaller tables.

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

Which table key should be copied to each of the subtables created in a vertical fragmentation?

1) Vertical key
2) Primary key
3) Foreign key
4) Alternating key

A

2) Primary key

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

Which of the following is made less efficient when data is replicated across multiple sites?

1) Updating Data
2) Data Redundancy
3) Query Evaluation
4) Information Retrieval

A

1) Updating Data

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

The shared memory parallel database architecture is typically seen in which type of network structure?

1) Multiple servers
2) Centralized
3) Multiple clients
4) Distributed

A

Centralized

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

Which of the following parallel database architectures is easy to build and scale up?

1) Shared nothing
2) Shared CPU
3) Shared memory
4) Shared disk

A

1) Shared nothing

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

In which type of database parallelism do all machines work together to compute a given operation at the same time?

1) Inter-operator parallelism
2) Inter-database parallelism
3) Intra-operator parallelism
4) Inter-query parallelism

A

3) Intra-operator parallelism

Intra-query parallelism is a form of parallelism in the evaluation of database queries, in which a single query is decomposed into smaller tasks that execute concurrently on multiple processors.

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

In parallel sorting that uses range partition, which attribute is the range partition based on?

1) Sort attribute
2) Sample attribute
3) Randomize attribute
4) Order attribute

A

1) Sort attribute

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

What is the high-level query processing language used by database management systems?

1) SQL
2) XML
3) PL
4) HTML

A

1) SQL

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

What is the correct order of tasks in a typical distributed query processing?

1) Localization, Decomposition, Optimization
2) Decomposition, Localization, Optimization
3) Decomposition, Optimization, Localization
4) Optimization, Decomposition, Localization

A

2) Decomposition, Localization, Optimization

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

In database terminology, what does the separation of higher level semantics of a database system from the lower level implementation issues refer to?

1) Transparency
2) Fragmentation
3) Parallelism
4) Isolation

A

1) Transparency

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

In database terminology, what does the ability of a database system to expand and serve more users refer to?

1) Vertical fragmentation
2) Horizontal fragmentation
3) Integration
4) Scalability

A

4) Scalability

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

What kind of data fragmentation is created by placing table rows into multiple smaller tables?

1) Horizontal fragmentation
2) Parallel fragmentation
3) Vertical fragmentation
4) Distributed fragmentation

A

1) Horizontal fragmentation

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

What kind of data fragmentation is created by placing table columns into multiple smaller tables?

1) Columnar fragmentation
2) Vertical fragmentation
3) Disjoint fragmentation
4) Horizontal fragmentation

A

2) Vertical fragmentation

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

What is the name of the database fragmentation property where each data item in the original database appears in one and only one fragment?

1) Disjointness
2) Uniqueness
3) Isolation
4) Separation

A

1) Disjointness

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

For which of the following scenarios would database replication be preferred?

1) Number of update queries = 1000, Number of read-only queries = 10.
2) Number of update queries = 10000, Number of read-only queries = 10000.
3) Number of update queries = 10, Number of read-only queries = 10.
4) Number of update queries = 10, Number of read-only queries = 1000.

A

4) Number of update queries = 10, Number of read-only queries = 1000.

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

Which of the following methods is implemented in a centralized network?

1) Shared nothing
2) Distributed memory
3) Shared memory
4) Distributed storage

A

3) Shared memory

Nope 2) Distributed memory
Nope 4) Distributed storage
Nope 1) Shared nothing

17
Q

What does “SQL”, the query processing language used by database management systems, stand for?

1) Structural Query Language
2) Standard Query Language
3) Structured Query Language
4) System Query Language

A

3) Structured Query Language

Nope 1) Structural Query Language

18
Q

Which of the following should be a goal in a query processing?

1) Minimize processing time
2) Minimize throughput
3) Maximize transfers among sites
4) Maximize storage space

A

1) Minimize processing time

19
Q

Which of the following search algorithms gives the precise solution?

1) Heuristic algorithm
2) Genetic algorithm
3) Simulated annealing
4) Exhaustive search

A

4) Exhaustive search