DB Exam Example
-
Upload
mircea-nicoleta -
Category
Documents
-
view
8 -
download
2
description
Transcript of DB Exam Example
![Page 1: DB Exam Example](https://reader036.fdocuments.net/reader036/viewer/2022080100/56d6bf971a28ab301696d441/html5/thumbnails/1.jpg)
1. Characteristics for the hierarchical
structure: a) A subordinate can be reached in
many ways b) A subordinate node can have only
one superior c) A node can have any number of
subordinates and superiors d) A subordinate node must have
many superiors e) A superior may have one or many
subordinates 2. In a table one can have:
a) A simple primary key b) A composed primary key c) A simple foreign key d) A foreign primary key e) A control key
3. The conceptual schema is the result of: a) The system study b) The system analysis c) The application requirements d) The database structure’s design e) The database functions’ design
4. The clusters are useful for: a) Optimizing the database access b) Requests c) Updates d) Data inserts e) Documentary databases
5. A components database system architecture includes: a) data b) database management system c) application programs d) legal and administrative regulations e) hardware
6. Having the table STUDENT (name,
year, group, no_stud_group,
group_secretary, birth_date), what
affirmation(s) is(are) not true: a. The table is in 2NF b. The table has a fully
functionally dependence c. The table has a non-transitive
dependence d. The table is normalized
e. The table has a composed primary key
7. In the relational model: a) There is the “record” notion b) The attributes that have a role in
making the links between tables are called composed keys
c) The links between tables are described in DML
d) There is the “table schema” notion e) Projection, negation and existential are
relational algebra operators 8. Having the tables
PRODUCTS(product_id NUMBER(15) primary key, name VARCHAR2(25), price NUMBER(7,2), release_date DATE), ORDERS (order_id NUMBER(10) primary key, product_id NUMBER(15) REFERENCES products(product_id), quantity NUMBER(7,2), order_date DATE). Select the orders that were made for the products that were released in 2000 (in two ways).