Sie sind auf Seite 1von 6

1. ( Database ) is a collection of related data. (0.

5 point)

2. ( DBMS ) is the software that manages and controls access tot the database.
(0.5 point)

3. ( DB application ) is a program that interacts with the database at some point in its
execution. (1 point)
4. Which of the following is not the disadvantage of the traditional file system? ( d ) (0.5 point)

a. duplication of data
b. data dependency
c. incompatibility of files
d. system is simple comparing to a DBMS.

5. Which of the following is not the database environment? (0.5 points) (b)

a. hardware
b. business rules
c. software
d. people

6. ( Data Administrator) is responsible for the management of the data resource including
database planning, development and maintenance of standards, policies, and procedures, and
conceptual/logical database design. (1 point)

7. Which of the following is an advantage of the database? (0.5 point) (a)

a. sharing of data
b. data redundancy
c. data dependency
d. fixed query

8. Which of the following is not a disadvantage of the database? (0.5 point) (c)

a. cost of DBMS
b. complexity
c. increased concurrency
d. higher impact of failure

9. which of the following is not a levels of ANSI-SPARC Architecture? ( d )(0.5 point)


a. external
b. conceptual
c. external
d. midware

10. ( External Level ) is the users’ view of the database. This level describes that part of
the database that is relevant to each user. (1 point)

11. ( Conceptual Level ) is the community view of the database. This level describes what
data is stored in the database and the relationships among the data.
(1 point)
12. ( Data Instance ) is the data in the database at any particular point in time.
(1 point)

13. ( a ) is a language that provides a set of operations to support the basic data manipulation
operations on the data held in the database. (0.5 point)
a. Dababase Manipulation Language
b. Data Definition Language
c. Transaction Describing Language.
d. Data Picture Description

14. Which of the following is not par of the data model? ( d ) (0.5 point)

a. structural part
b. manipulation part
c. set of integrity rules
d. data picture

Use following table for #15 and #16.

15. Write the result table of ( clientNo, fName, lName(Client))▹◁ ( clientNo, propertyNo, comment(Viewing)) . ( 2
point)

clientNo fName lName propertyNo comment


CR76 John Kay PG4 Too remote
CR62 Mary Tregear PA14 No dining
room

16. Write a relational algebra for “list all client numbers (client number only) who saw property
PG4 from the View Table”. (2 point)

 ClientNumber ( Client ⊳⊲ ( propertyNo=’PG4’ (Viewing))

17. ( Entity Integrity ) rule means that no attribute of a primary key can be null in a base relation.
(1 point)

18. How long is the pay back period of following table? ( between 3-4 ) years. (2 points)
note: the given costs and benefits are not cumulative values.

Year Cost Benefit


0 30,000 0
1 1,000 12,000
2 2,000 12,000
3 2,000 8,000
4 3,000 8,000

19. Which of the following fact find method can collect information from individuals face-to-
face.? (0.5 point) ( a )

a. interview
b. questionnaire
c. observation
d. examining documents

20. Design an ER diagram for keeping track of information about votes taken in the U.S. House
of Representatives during the current two-year congressional session. (7 points)

The database needs to keep track of each U.S. State’s Name (e.g., Texas, New York, California)
and includes the Region of the state (whose domain is {North-east, Midwest, Southeast,
Southwest, West}). Each congressperson in the House of Representatives is described by their
name, and includes the District represented, the StartDate when they were first selected, and the
political party they belong to (whose domain is {Republican, Democrat, Independent, Other}).
The database keeps track of each bill (i.e., proposed law), and includes the BillName, the
DateOfVote on the bill, whether the bill PassedOrFailed (whose domain is {YES, NO}), and the
Sponsor (the congressperson(s) who sponsored – i.e., prposed – the bill). The database keeps
track of how each congressperson voted on each bill (domain of vote attribute is {Yes, No,
Abstain, Absent}). State clearly any assumptions you make.

Note) in cardinality, please use (min, max) notation.


A state can have more than one representative.
A congressperson can represent only one state.
A congressperson can vote for many bills.
A bill can be voted by many congresspersons.
A congressperson can sponsor many or no bills.
A bill must be sponsored by one or more congresspersons.

20.1 identify all the entities.

20.2. put attributes to the entity.

20.3. identify relations (please use the UML notation).

20.4 put cardinality using (min, max) notation.


State
CongressPers Represents
on ►

(1..* (1..1) Name


startDate ) Region
Name
District
Party
(435..43
)
(1..*

5)
ed
Sponsor

Vote

Vote
)
(0..*

(M..M)

Bill

DateOfVot
e
BillName
result

Das könnte Ihnen auch gefallen