Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 3

Quiz#1

Q#1)
Convert the following query into relational Algebra

1. SELECT movieTitle   
2. FROM   
3. StarsIn, MovieStar   
4. WHERE starName = name AND birthdate = 1960  

Ans:

πmovieTitle σ starName=name ∧birthdate=1960 (StarsIn × MovieStar)

Q#2)

A distributed database is which of the following?


A single logical database that is spread to multiple locations and is interconnected by a
A.
network

A loose collection of file that is spread to multiple locations and is interconnected by a


B.
network

C. A single logical database that is limited to one location.

D
A loose collection of file that is limited to one location.
.
Ans: A Option

Q#3)

Some of the columns of a relation are at different sites is which of the following?
A
Data Replication
.

B
Horizontal Partitioning
.

C
Vertical Partitioning
.

D
Horizontal and Vertical Partitioning
.

Ans: C Option
Q#4)

A homogenous distributed database is which of the following?


A
The same DBMS is used at each location and data are not distributed across all nodes.
.

B
The same DBMS is used at each location and data are distributed across all nodes.
.

C
A different DBMS is used at each location and data are not distributed across all nodes.
.

D
A different DBMS is used at each location and data are distributed across all nodes.
.

Ans: B Option
Q#5)
Storing a separate copy of the database at multiple locations is which of the following?
A
Data Replication
.

B
Horizontal Partitioning
.
C
Vertical Partitioning
.

D
Horizontal and Vertical Partitioning
.

Ans: A Option
Q#6)
How Performance Improvement is achieved in DDBS?
Ans:
Improved Performance in DDBS:

The case for the improved performance of distributed DBMSs is typically made based on two
points. First, a distributed DBMS fragments the conceptual database, enabling data to be stored
in close proximity to its points of use (also called data localization). This has two potential
advantages:

1. Since each site handles only a portion of the database, contention for CPU and I/O
services is not as severe as for centralized databases.
2. Localization reduces remote access delays that are usually involved in wide area
networks (for example, the minimum round-trip message propagation delay in satellite-
based systems is about 1 second).

Most distributed DBMSs are structured to gain maximum benefit from data localization. Full
benefits of reduced contention and reduced communication overhead can be obtained by a proper
fragmentation and distribution of the database.

You might also like