1/34
Looks like no tags are added yet.
sql cannot be executed in host language:
False
object-oriented model uses ‘class’ structure for logical level
True
network model has more expressive power than relational model
True
relation model is a proper model for multi media data
False
“Collection of (interrelated) computerized data” is
Database
What is “data dependency” in file system
Program depends on data
is NOT the drawbacks of file system.
all of the above
( ) is NOT true
atomic transactions are easily implemented in file system
__ is NOT the drawbacks of db
data independency
DB application programs access ( ) and ( )
logical level and view
( ) is NOT a DB model
E-R model
Which of the following is not a logical database structure?
chain
database management system
all of the above
Which of the following is a database administrator’s function
all of the above
The data dictionary contains information about
all of the above
In ( ), a parent record type can be linked to one or more “child” record types, but a child
record type can have only one parent.
4) hierarchical database
Network model uses ( ) as a tool for logical level.
graph or network
( ) can NOT uniquely identifies a single record.
foreign key
( ) is NOT a basic operation in relational algebra
join
employee (p_id, name, dept, city)
works (p_id, proj_id, salary)
project (proj_id, budget)
Show candidate keys in employee
p_id
employee (p_id, name, dept, city)
works (p_id, proj_id, salary)
project (proj_id, budget)
show the primary key of each table
4-1) employee
4-2) works
4-3) project:
4-1) p_id
4-2) (p_id and proj_id) together
4-3) proj_id
employee (p_id, name, dept, city)
works (p_id, proj_id, salary)
project (proj_id, budget)
show foreign key(s) in ‘works’ table: there are two foreign keys
p_id and proj_id
express the following using relational algebra
1) Find information about employees who live in city “Miami”.
city=“Miami ( )
employee
express the following using relational algebra
Find the name of employees who live in city “Miami”.
OOOOO (city=“Miami” (employee))
city=’Miami’ or city=”Miami”