Dbms-1 Question Bank
Dbms-1 Question Bank
Objective Questions
1. Which of the following is not the type of file organization?
a. heap
b. sort
c. hash
d. sparse
3. _________describes what data items and possible processing operations can be performed on a file.
a. Logical file
b. physical file
c. both
d. none of these
4. In _______index, index records are created for only some of the records.
a. sparse
b. dense
c. both
d. none of the above
Objective Questions
2. ______________ is the capacity to chnage the schema at one level of database system without having
to chnage schema at next higher level.
a. Logical data independence
b. Physical data independence
c. Data independence
d. None of the above
3. The language that requires a user to specify the data to be retrived without specifying exact to get it is
a. procedural DML
b. non-procedural DML
c. procedural DDL
d. non-procedural
Objective questions
1. In ER diagram, weak entity is represented by __________
a. double rectangle
b. rectangle
c. double ellipse
d. dashed ellipse
Objective Questions
1. In relationship model, relations are termed as ____________.
a. tuples
b. attributes
c. tables
d. rows
Unit 5 : SQL
Objective questions
1. SQL uses logical connectives not as _________
a. and
b. or
c. not
d. as
2. Which of the following is not an aggregate function?
a. min
b. max
c. avg
d. order by
7. Consider the following relations and solve the queries: (L6: Create)
Item (i_code, i_name, price)
Order(o_code, date, cust_name)
Item_order(o_code, o_code, qty)
a. List all order numbers along with different items.
b. List all orders before 4th October, 2010.
c. List all items along with their price.
8. Consider the following database: (L6: Create)
Person(SS_NO. name, address)
Car(lic, year,model)
Accident(date, driver, damage_amount)
Owns(SS_No, lic)
Log(lic, date, drivers)
Write SQL statements for the following:
a. Find the total number of people whose cars were involved in accidents in 2000
b. Find the number of accidents in which the cars belonging to 'Sachin' wew involved.
c. Add a new person to the database.
d. Delete the Fiat belong to "Rahul".
e. Add a new accident record for the Toyata belong to "Rahul"\
Objective questions
1. If A -> C, CD -> E then A -> E is ____________
a. transivity rule
b. pseudo transivity rule
c. union rule
d. none
2. The meaning of the notation X -> Y is___________
a. X functionally determines Y
b. Y functionally depend on Y
c. Both a and b
d. None of the above
3. Process of braking a large relation R into a set of small relations r1, r2, r3, ....rn is called as __________
a. association
b. generalization
c. decomposition
d. none of the above
4. A record is referred as __________
a. a criteria
b. a relation
c. a tuple
d. an attribute
5. BCNF is more strict form than is __________
a. 1NF
b. 2NF
c. 3NF
d. 4 NF