0% found this document useful (0 votes)
7 views

231CSC401T -DBMS CAT 1 QB

The document outlines the Continuous Assessment Test for Database Management Systems for second-year students in various Computer Science and Engineering programs. It includes learning objectives, a series of questions categorized into parts A, B, and C, covering topics such as relational databases, database design, transactions, and SQL queries. The questions assess students' understanding of key concepts, practical applications, and the ability to analyze and design database systems.

Uploaded by

balajithiru454
Copyright
© © All Rights Reserved
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views

231CSC401T -DBMS CAT 1 QB

The document outlines the Continuous Assessment Test for Database Management Systems for second-year students in various Computer Science and Engineering programs. It includes learning objectives, a series of questions categorized into parts A, B, and C, covering topics such as relational databases, database design, transactions, and SQL queries. The questions assess students' understanding of key concepts, practical applications, and the ability to analyze and design database systems.

Uploaded by

balajithiru454
Copyright
© © All Rights Reserved
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 6

CONTINUOUS ASSESSMENT TEST – 1

Regulations R 2023

Department of Computer Science and Engineering


Second Year / Fourth Semester
231ADC401T / 231CSC401T / 231ALC401T / 231CBC401T/ 231ITC401T– Database
Management Systems
Common to AIDS, CSE, CSE(AIML), CSE(CS) and IT

CO1: Develop proficiency in designing, implementing, and querying relational databases


using SQL.
CO2: Design database using ER model and normalize the database.
CO3: Construct queries to handle transaction processing and maintain consistency of the
database.
CO4: Analyze indexing strategies for File organization and Query Optimization.
CO5: Evaluate the distributed database and security challenges.

Unit – I RELATIONAL DATABASES


CO’s Bloom’s
Q.No Questions
Level
PART A
1. Who is a DBA? What are the responsibilities of a DBA? CO1 K1
2. What is a data model? List the types of data model used. CO1 K1
3. Define database management system. CO1 K1
4. List any eight applications of DBMS. CO1 K1
5. What are the disadvantages of file processing system? CO1 K1
6. Describe the advantages of using a DBMS. CO1 K2
7. Illustrate the levels of data abstraction. CO1 K2
8. Define instance and schema. CO1 K1
9. Define: DDL, DML and TCL. CO1 K1
10. Summarize embedded SQL. CO1 K2

Show SQL query to find loan number and name of all customers who
11. CO1 K3
have loan at branch “XYZ”.

12. List the string operations supported by SQL. CO1 K1


Consider following relation : Emp( eno , name , date_of_birth, sex, CO1
13. date_of_joining, basic, dept). Develop an SQL query to find and K3
display average basic in each dept.
Discuss aggregate functions and list the aggregate functions CO1
14. K2
supported by SQL.
Determine why Parent Keys Not Found Error occurs during the CO1
15. enforcement of foreign keys and how will you fixes it with a suitable K3
example.

CO’s Bloom’s
Q.No Questions
Level
Part – B
Illustrate the key challenges in traditional file processing systems, CO1
1. K4
and how do database systems resolve these challenges?
CO1

Summarize about data definition language and data manipulation


2. K5
language comments for student database using SQL with examples.

With a neat diagram explain the architecture of a Database Manage- CO1


ment System (DBMS) and how its components work together to
3. K4
manage data. What are the key advantages of using a DBMS in real-
world applications?
Outline how embedded SQL is used to integrate SQL queries within CO1
4. K4
general-purpose programming languages.
Consider the relational table given below and assess about the CO1
following SQL queries.
Employee (Empno, Name, Department, Salary).
(i) List all the employees whose name starts with the letter 'L'. K5
(ii) Find the maximum salary given to employees in each
5. department.
(iii)Find the number of employees working in 'accounts' department.
(iv)Find the second maximum salary from the table.
(v) Find the employee who is getting the minimum Salary.

Summarize the different types of data models used in database man- CO1
6. agement systems, and analyze how do they help in organizing and K5
structuring data?
Analyze the fundamental operations of relational algebra and provide CO1
comprehensive explanations with suitable examples for each
7 operation. Explore how these operations manipulate relations and K4
contribute to the querying and manipulation of data in relational
database systems.
CO1
Analyze the role of different integrity constraints (e.g., PRIMARY KEY,
8 FOREIGN KEY, UNIQUE, CHECK) in ensuring data integrity in a rela- K4
tional database. How do these constraints help enforce business rules and
maintain data quality?

CO’s Bloom’s
Q.No Questions
Level
Part c
Create the following table.
Degree(degcode, name, subject)
Candidate(seatno, degcode, semester, month, year, result)
1. Marks(seatno, degcode, semester, month, year, papcode, marks) CO1 K6
Degcode-degree code, Name-name of the degree (MSc, MCOM)
Subject-subject of the course. E.g. Phy, Papcode- Paper code E.g.
Solve the following queries using SQL:
(i) Write a SELECT statement to display all the degree codes which
are there in the candidate table but not present in degree table in the
order of degcode.
(ii) Write a SELECT statement to display the name of all the
candidates who have got less than 40 marks in exactly 2 subjects.
(iii) Write a SELECT statement to display the name, subject and
number of candidates for all degrees in which there are less than 5
candidates.
(iv) Write a SELECT statement to display the names of all the
candidates who have got highest total marks in MSc.,(Maths)
Consider the following relational database
Employee(person_name,street,city)
Works(person_name,company_name,salary)
Manages(person_name,manager_name)
Write SQL statements for following queries
1. Find the names and cities of residence of all employees who
work for First Bank Corporation.
2. 2. Find names, street, cities of residence of all employees and who CO1 K6
earn more than 10,000 per annum.
3. Find the names of all employees who live in same city as the
company for which they work.
4. Find the names of all employees who do not work for First
Bank Corporation.
5. Find the names of all employees who earn more than every
employee of State Bank Corporation.

Unit – II DATABASE DESIGN


Q.N CO’s Bloom’s
Questions
o Level
Part A
1. Explain entity relationship model. CO2 K2
2. What is a weak entity? Give example. CO2 K1
3. Define single valued and multivalued attributes. CO2 K1
4. What is the use of integrity constraints? CO2 K1
5. Define canonical cover. CO2 K1
6. Compare and Contrast between unique and primary key? CO2 K2
Determine a set of FDs for the relation schema R(A,B,C,D) with CO2
7. K3
primary key AB under which R is in 1NF but not in 2NF.
8. Define Functional dependency. CO2 K1
9. What is meant by lossless join decomposition? CO2 K1
A relation R={A,B,C,D} has functional dependencies F={(AB->C), (C- CO2
10. K3
>D), (D->A)}. Examine whether R is in 2NF?
11. Compare and contrast third normal form and Boyce Codd normal form. CO2 K2
12. Define Multivalued dependency. CO2 K1
13. Explain about partial functional dependency. CO2 K2
14. Define trivial functional dependency. CO2 K1
15. Discuss transitive functional dependency. CO2 K2
Q.N CO’s Bloom’s
Questions
o Level
Part B

Draw an ER diagram for a small marketing company database assuming


1. CO2 K4
your own requirements.

2. Design an ER Diagram for employee payroll system. CO2 K4

Analyze the concept of Functional Dependency and demonstrate its


3. importance by applying inference rules to solve database normalization CO2 K4
problems. Provide an illustrative example.

4. Outline functional dependency in database design with its properties. CO2 K4


5. Illustrate the various components of ER diagram with examples. CO2 K4
Construct an ER diagram for a car insurance company whose customers
own one or moe cars each. Each car has associated with it zero to any
number of recorded accidents.Each insurance policy covers one or more
6. CO2 K4
cars, and has one or more premium payments associated with it. Each
payment is for a particular period of time, and has an associated due date,
and the date when the payment was received
Analyze how can we represent a banking system through an Entity-Re- CO2
7 lationship (ER) diagram, capturing the key entities, attributes, and rela- K4
tionships involved?
Consider a scenario where a company maintains a database to store CO2
information about its employees, departments, and projects.
Recommend a relational schema for this database and then apply the
8 following normalization levels: first normal form (1NF), second normal K5
form (2NF), third normal form (3NF), and Boyce-Codd normal form
(BCNF).

Q.N CO’s Bloom’s


Questions
o Level
Part- C
Design a relational schema for an employee information system that
includes functional dependencies between employee project and
1. employee department. Ensure the schema is normalized to Boyce- CO5 K6
Codd Normal Form (BCNF). Justify your design choices and explain
how they address issues of redundancy and data integrity.
2. Draw E – R Diagram for the “Restaurant Menu Ordering System”, which CO5 K6
will facilitate the food items ordering and services within a restaurant. The
entire restaurant scenario is detailed as follows. The Customer is able to
view the food items menu, call the waiter, place orders and obtain the
final bill through the computer kept in their table. The waiters through
their wireless tablet PC are able to initialize a table for customers, control
the table functions to assist customers, orders, send orders to food
preparation staff (chef) and finalize the customer’s bill. The food
preparation staffs (Chefs), with their touch-display interface to the system,
are able to view orders sent to the kitchen by waiters. During preparation,
they are able to let the waiter know the status of each item, and can send
notification when items are completed. The system should have full
accountability and logging facilities, and should support supervisor
actions to account for exceptional circumstances, such as a meal being
refunded or walked out on.

Unit III – TRANSACTIONS


CO’s Bloom’s
Q.No Questions
Level
Part A
1. List the ACID properties. CO3 K1
Differentiate strict two phase locking protocol and rigorous two phase
2. CO3 K2
locking protocol.
3. Define a transaction in a database and explain its significance. CO3 K2
4. Summarize the reasons for allowing concurrency. CO3 K2
5. Determine When two schedules are said to be conflict equivalent? CO3 K3
6. Define upgrade and downgrade. CO3 K1
7. What are the two types of serializability? CO3 K1
8. Define the phases of two phase locking protocol. CO3 K1

CO’s Bloom’s
Q.No Questions
Level
Part – B
Analyze the different concurrency control schemes and evaluate their
1. CO3 K4
effectiveness in ensuring database consistency.
Critically examine the Two-Phase Locking (2PL) technique in
2. concurrency control and assess its role in maintaining transaction CO3 K4
isolation.
Evaluate the ACID properties of a transaction and analyze how they
3. CO3 K5
ensure reliable and consistent database operations.
Summarize the concept of Serializability in database transactions and
4. analyze its importance in maintaining correctness in concurrent execu- CO3 K5
tion.

CO’s Bloom’s
Q.No Questions
Level
Part C
For the given schedule find the conflict serializable by checking the
precedence graph and by swapping procedure. If it not serializable
then check the view serializable and conclude whether the schedule is
1. recoverable or not. CO3
T1 T2 T3 T4

R(A)
W(A)
W(B)
R(B)
W(A)
W(A) K6
W( C )
R(C)
W(A)

R(D)
W(D)
R(D)
R(C)
W(C)
For the given schedule find the conflict serializable by checking the
precedence graph and by swapping procedure. If it not serializable
then check the view serializable and conclude whether the schedule is
recoverable or not.

2 CO3 K6

You might also like