0% found this document useful (0 votes)
11 views1 page

Database Management System Exam Guide

The document provides instructions for a B.Sc. degree exam in Database Management Systems and RDBMS. It contains 3 sections - the first asks short answer questions in 2-3 sentences each, the second asks longer paragraph answers to questions, and the third asks an essay question to be answered. The questions cover topics like database characteristics, normalization, joins, triggers, queries and more.

Uploaded by

tiwofic
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views1 page

Database Management System Exam Guide

The document provides instructions for a B.Sc. degree exam in Database Management Systems and RDBMS. It contains 3 sections - the first asks short answer questions in 2-3 sentences each, the second asks longer paragraph answers to questions, and the third asks an essay question to be answered. The questions cover topics like database characteristics, normalization, joins, triggers, queries and more.

Uploaded by

tiwofic
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

U 227426 Name: .......................................

Reg. No. ....................................

FOURTH SEMESTER [Link]. (CBCSS) DEGREE EXAMINATIONS,


APRIL 2022
(Regular – 2020 Admission)
Core Course
BCS4 B05: Database Management System and RDBMS
Time: 2 Hours Max. Marks: 60

I. Answer the following questions in two or three sentences


(Each question carries 2 Marks): (Ceiling 20 Marks)
1. List down any two characteristics of the database.
2. What are the two levels of independence?
3. Explain selection and projection operation with example.
4. Define mapping constraints.
5. Given relation R with attributes A, B, C, D, E, F and set of FDs as A-> BC, E-> CF, B ->E
and CD->EF. Find out closure {A, B}+ of the set of attributes.
6. List out the desirable properties of decomposition.
7. What is 4NF and 5NF?
8. What are the categories of SQL command?
9. Distinguish between commands: drop table and delete.
10. What is the significance of NULL values?
11. Give the structure of If-else statement in RDBMS.
12. Define timestamps.

II. Answer the following questions in a paragraph


(Each question carries 5 Marks): (Ceiling 30 Marks)
13. What is a data model? List the types of data model used today.
14. Explain the major constraints on Entity-Relationship model.
15. What is a join? Explain cross join and self join with example.
16. Should all relational databases be normalised? Justify your answer.
17. What is a trigger? Explain trigger creation with example.
18. What is meant by data model? Explain relational Model.
19. Consider the following relational database: Politician (pno, pname, description, partycode)
Party (partycode, partyname). Write a clustor to display partywise details of politicians.

III. Write an essay on any one of the following: (1 x 10 = 10 Marks)


20. Briefly explain database system architecture.
21. Explain SELECT query using various clauses with syntax and examples.

Common questions

Powered by AI

Cross join in relational algebra combines all rows from two tables to form a Cartesian product, used when analyzing combinations of rows. Self join is a table joined with itself, used to query hierarchical data or compare rows within the same table. Cross join example: selecting employee combinations; self join example: comparing employee records in different roles .

Mapping constraints specify the number of instances of one entity that can be associated with the related entity, which are essential for defining the cardinality between entities. They help ensure that the data integrity is maintained by enforcing rules that govern how entities relate within the database structure .

Selection operation is used to retrieve rows from a table that satisfy a given condition, while projection operation retrieves specific columns from rows. For example, selection could query: SELECT * FROM employees WHERE age > 30; This extracts all rows where the condition is met. Projection might be: SELECT name, salary FROM employees; which returns only the specified columns for each row .

Creating a trigger involves defining a set of instructions to automatically execute in response to a certain event on a particular table. The procedure typically involves specifying the triggering event (such as INSERT, UPDATE, DELETE), the timing (BEFORE, AFTER), and the operations to perform. Triggers are used for tasks like auditing changes, enforcing business rules, or synchronizing data between tables .

Closure of a set of attributes involves deriving all attributes that can be functionally determined by the given attributes based on a set of functional dependencies. For example, given a relation R and FDs such as A->BC, E->CF, B->E, CD->EF, the closure of {A, B} would include attributes A, B, C, D, E, F, as A determines BC, B determines E, and then E determines CF, covering all attributes .

Normalization organizes data to reduce redundancy and improve data integrity. However, not all databases should be fully normalized. In scenarios where performance is critical or for analytics, denormalization may be preferred to optimize read operations. Balance between normalization levels is often necessary depending on specific use cases and performance needs .

DROP TABLE command removes the entire table, including its definition and all contained data, affecting the database schema by eliminating its structure. DELETE command, however, removes rows from a table based on a condition without altering the table structure, affecting only the data within it .

Two fundamental characteristics of a database in a DBMS are data independence and security. Data independence allows the structure of the database to be changed without affecting the data access mechanism. Security ensures that only authorized users have access to certain data .

4NF eliminates multi-valued dependencies, ensuring that no table contains two or more independent and unrelated multi-valued facts about an entity. 5NF, or Project-Join Normal Form, further decomposes relationships by ensuring that every join dependency in a relation is a consequence of its candidate keys. By achieving these forms, redundancy is minimized, and anomalies in update operations are reduced .

Clustering in relational databases groups together data that is frequently accessed together, optimizing query performance. In the context of displaying partywise details of politicians, clustering can organize records by party code, allowing for efficient retrieval and summary of data based on the party each politician belongs to, thus enhancing query performance and organization .

You might also like