0% found this document useful (0 votes)
6 views4 pages

DBMS QUESTIONS (FINAL)

The document contains a series of questions related to Database Management Systems (DBMS), covering topics such as normalization, primary keys, SQL queries, and the differences between file systems and DBMS. It also discusses concepts like entity-relationship models, data integrity, and the advantages of using a DBMS. Additionally, it includes practical SQL query exercises and theoretical explanations of various DBMS concepts.

Uploaded by

fopivac546
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)
6 views4 pages

DBMS QUESTIONS (FINAL)

The document contains a series of questions related to Database Management Systems (DBMS), covering topics such as normalization, primary keys, SQL queries, and the differences between file systems and DBMS. It also discusses concepts like entity-relationship models, data integrity, and the advantages of using a DBMS. Additionally, it includes practical SQL query exercises and theoretical explanations of various DBMS concepts.

Uploaded by

fopivac546
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
You are on page 1/ 4

PART-A

Q1. What is DBMS?


Q2. What is Entity? Explain with a suitable example.
Q3. What is the purpose of normalization in DBMS?
Q4. Explain the concepts of Primary key.
Q5. What is the meaning of sub-query in terms of SQL?
Q6. What do you mean by Referential Integrity?
Q7. Why E-R model used in DBMS?
Q8. Explain the role of Triggers in SQL programming.
Q9. Give the disadvantages of file processing systems.
Q10. What are the three levels of abstraction?
Q11. Discuss how you can alter and destroy tables.
Q12. Define instance and schema.
Q13.Define Aggregate Functions.
Q14. Define the term Data Dictionary.
Q15. Which data independence is difficult to achieve and why?
(a) Physical data independence
(b) Logical data independence
Q16.Which out of these are Data Manipulation Language (DML) commands
and why?

Create, Update, Alter, Delete, Drop, Insert.

Q17.What are the properties of a weak entity? How the primary key of a weak
entity is defined when it is converted to a relation in relational model?

Q18. What is the upper limit on number of primary keys and candidate keys for
any relation in relational model?

Q19.How does aggregate operators of SQL treat NULL values? Explain with
example.

Q20.Difference between Join and Cartesian product. Explain with an example.

Q21.Draw a neat diagram of database system architecture.

Q22.What are Queries in DBMS?

Q23.What structure of a DBMS?


Q24.What is Entity & Attributes?

Q25.What is Set Operations?

Q26.What are Nested Queries?

Q27.What is ODBC and JDBC?

Q28.What is Concurrency?

PART-B
Q1.Differentiate between File System and DBMS.Explain the ternary
relationship with a suitable example.

Q2.Explain the features of the E-R model.Draw and explain E-R model for
Library Management System.

Q3.Explain Entity and Attribute.

Q4.What do you mean by Null Values? Explain Dynamic SQL in detail.

Q5.What are the differences between JDBC and ODBC?

Q6. Explain the role and importance of relational algebra. Also, explain six basic
operators of relation algebra with example.

Q7. Define briefly with example –


(a) Data Integrity
(b) Aggregation in E - R model
(c) Tuple relational calculus
Q8.Explain ternary relationship with example. Can we represent every
ternary relationship with multiple binary relation?
Q9.Differentiate Dynamic and Embedded SQL. Give an example of Dynamic
SQL.

PART-C
Q1.Consider the following relational schema:

Employee
(empno,name,office,age)

Books(isbn, title,
authors,publisher)

Loan(empno,
isbn,date)

Write the following queries in relational algebra.

(a)Find the names of employees who have borrowed a


book Published by 1 McGraw- Hill?

(b) Find the names of employees who have borrowed all books Published
by McGraw- Hill?

(c) Find the names of employees who have borrowed more than five
different books published by McGraw-Hill?

(d) For each publisher, find the names of employees who have
borrowed?

Q2.Describe the advantage of DBMS.


Q3.Describe the relationship Algebra selection and projection with an
example.
Q4. Draw the E-R diagram for the University management system with complete
labeling. Convert the drawn E-R diagram into a relational model. For each relation in
relational model, clearly specify primary key and foreign keys.
Q5.Explain the followings in detail :

(a) Aggregation and ternary relationship.

(b) Entity and Attribute.


Q6.Consider the following three relations with attributes shown in brackets for an
organization.
employee (eno, ename, esalary, dcode),

dept (dcode, dname)


dependent (depndtname, eno, relation).
Here primary keys are underlined
Write SQL queries for the following -
(a) Show the names of employees with at least one dependent.
(b) List names of department(s) for which average salary for department is more
then
10,000. https://www.rtuonline.com

(c) Find the number of employees in each department.


(d) Find the name of department which have less than 10 employees.

(e) List all employees whose name contain at least one 'a' and one 'h' at any position.
(f) Find the total salary paid to employees of "accounts" department.
(g) Print the total number of employees whose salary is more than 40,000.

(h) Find the average salary of complete organization.


(i) Update the dcode of employee having eno = 101 to dcode = 10.
(j) Change the datatype of ename from char(20) to char(30).

You might also like