Batch 2 Set4
Batch 2 Set4
Part - A
(10 x 1 = 10 Marks)
Instructions: Answer all
Q. Question Marks BL CO PO PI
No Code
1 Which of the following is NOT a component of a typical 1 L1 1 1 1.6.1
DBMS architecture?
a) Query Processor
b) Database Administrator
c) Data Warehouse
d) Data Storage Manager
Answer: C
2 Which of the following is an advantage of using a DBMS over 1 L2 1 1 1.7.1
traditional file systems?
a) Increased data redundancy
b) Improved data integrity
c) Limited query capabilities
d) Simplified data storage
Answer: B
3 What is the purpose of a Database Administrator (DBA) in a 1 L1 1 1 1.7.1
DBMS?
a) To design and implement the database schema
b) To optimize SQL queries for performance
c) To manage user access and permissions
d) To interact with users and perform data analysis
Answer: a & c
4 Which of the following is NOT a property of ACID in database 1 L1 1 1 1.6.1
transactions?
a) Accuracy
b) Atomicity
c) Consistency
d) Durability
Answer:a
5 Which data model represents data in a tree-like structure with a 1 L1 1 1 1.7.1
single root and multiple children?
a) Relational Data Model
b) Hierarchical Data Model
c) Network Data Model
d) Entity-Relationship Model
Answer: b
6 Which of the following is an example of a relational database 1 L1 1 1 1.6.1
management system?
a) MongoDB
b) Oracle Database
c) Redis
d) Cassandra
Answer: b
7 Existence of business logic in 1 L1 1 1 1.6.1
a) Two-tier architecture
b) Three-tier architecture
c) Both a and b
d) Client-server machine
Answer: b
8 In DDL, which statement is used to define constraints on a 1 L1 1 1 1.7.1
table?
a) Create constraint
b) Add constraint
c) Set constraint
d) Enforce constraint
Answer: b
Answer: d
10 One department account (C) is debited and another department 1 L1 1 1 1.6.1
account (D) is credited, either both the credit and debit should
occur, or that neither should occur is an example of _________.
a) Durability
b) Consistency
c) Atomicity
d) Integrity
Answer: c
11.a List the components of Storage Manager and Query processor 7.5 L2 1 1 1.7.1
and explain them
1. Data Files:
2. Buffer Manager:
5. Storage Interface:
1. Query Parser:
2. Query Optimizer:
3. Query Executor:
4. Transaction Manager:
6. Database Scheduler:
OR
11.b Describe in detail about Relational Data model and design the 7.5 L3 1 1 1.7.1
relational data model for online movie ticket system.
1. Table (Relation):
3. Tuple (Row):
4. Key:
5. Relationship:
1. Movies Table:
2. Cinemas Table:
3. Users Table:
4. Bookings Table:
- Explanation:
Title VARCHAR(255),
Genre VARCHAR(50),
ReleaseDate DATE,
Duration INT
);
Name VARCHAR(100),
Location VARCHAR(255),
Capacity INT
);
FirstName VARCHAR(50),
LastName VARCHAR(50),
Email VARCHAR(255),
Password VARCHAR(50)
);
UserID INT,
MovieID INT,
CinemaID INT,
Date DATE,
Time TIME,
);
```
a.Write the query to create the following table and to insert the
records.(2.5 Marks)
VALUES
UPDATE Employee
*Program Indicators are available separately for Computer Science and Engineering in AICTE
examination reforms policy.