AM501
AM501
Tech/AIML/AM501/Odd/R21/R / 1
Roll Number
Group A
(Multiple Choice Type Questions)
Answer any ten from the following, choosing the correct alternative of each question: 10×1=10
1. A characteristic of an entity (1) CO2 BL2
a) relation
b) attribute
c) parameter
d) constraint
2. In a relational data model, the columns of a table are called (1) CO2 BL2
a) relation
b) tuple
c) attribute
d) schema
12/16/2023 8:37:46 AM
B.Tech/AIML/AM501/Odd/R21/R / 1
6. Which of the following operation is used if we are interested in only (1) CO4 BL4
certain columns of a table ?
a) PROJECTION
b) SELECTION
c) UNION
d) JOIN
11. A top-to bottom relationship among the items in a database is (1) CO3 BL4
established by
a) Hierarchical Schema
b) relational schema
c) network schema
d) all of these
12. The concurrency control has the problem of (1) CO3 BL3
a) lost updates
b) dirty read
c) uprepeatable read
d) all of these
Group B
(Short Answer Type Questions)
(Answer any three of the following) 3x5=15
13a. Using relational algebra write down the query that finds (3) CO4 BL2
customers, who have a balance of over 1000 from the relation
12/16/2023 8:37:46 AM
B.Tech/AIML/AM501/Odd/R21/R / 1
Borrower
13b. What is difference between ‘strong entity set’ and ‘weak entity (2) CO3 BL3
set’?
14. Consider the following relations for a database that keeps track of (5) CO3 BL4
business
trips of salesperson in a sales office :
SALESPERSON ( SSN Name, Start_ Year, Dept_No)
TRIP (SSN, From_City, To_City, Departure_Date, Return_Date, Trip
ID)
EXPENSE (Trip ID, Account#, Amount)
Specify the following queries in either relational algebra or in SQL :
a) Give the details (all attributes of TRIP relation ) for trip that
exceeded Rs.
3,000 in expenses.
b) Print SSN of salesman who took trips to 'New York'.
15. Explain ACID properties in transaction? Why it is important. (5) CO3 BL2
16. A Company has several departments. Each department has a (5) CO3 BL4
supervisor and at least one employee. Employee must be assigned
to at least one, but possibly more department
i. Identify all entities and relationships
iv. List all suppliers supplying DOOR Lock from ‘Jaipur’ city
18b. discuss in detail the operators SELECT, PROJECT, UNION with (5) CO3 BL4
suitable
example?
19a. Consider the following Schema: Customer (custname, street, city) (10) CO3 BL3
Branch (branchname, branchcity) Account (accno,branchname,
12/16/2023 8:37:46 AM
B.Tech/AIML/AM501/Odd/R21/R / 1
i) Find the loan no, branch and amount of loans where amount
is greater than 1000$.
ii) Find the names of all customers who have a loan and an
account at the bank.
iii) Find the loan no. for each loan of an amount greater than
10000
19b. Define BCNF? Why BCNF is stricter than 3NF? (5) CO3 BL2
20a. Explain two phase locking protocol with example. (5) CO3 BL1
20b. What is mean by Relational Algebra? List out the relational (5) CO2 BL3
Algebra operation with its example
20c. Write a short note on extended features of ERD (5) CO1 BL1
21a. What are Armstrong axioms? Explain (5) CO3 BL4
21b. AC prides itself on having up-to-date information on the (10) CO5 BL4
processing and current location of each shipped item. To do this,
AC relies on a company-wide information system. Shipped items
are the heart of the AC product tracking information system.
Shipped items can be characterized by item number (unique),
weight, dimensions, insurance amount, destination, and final
delivery date. Shipped items are received into the AC system at a
single retail center. Retail centers are characterized by their type,
uniqueID, and address. Shipped items make their way to their
destination via one or more standard AC transportation events
(i.e., flights, truck deliveries). These transportation events are
characterized by a unique scheduleNumber, a type (e.g, flight,
truck), and a deliveryRoute.
12/16/2023 8:37:46 AM