Anda di halaman 1dari 3

CS2255 Data Base Management Systems question bank

QUESTION BANK

UNIT II

PART A - Two Mark Questions

1. Write short notes on relational model


2. Define tuple and attribute
3. Define the term relation.
4. Define tuple variable
5. Define the term Domain.
6. What is a candidate key? Illustrate with example.
7. What is a primary key? Illustrate with example.
8. What is a super key? Illustrate with example.
9. Define- relational algebra.
10. What is a SELECT operation?
11. What is a PROJECT operation?
12. Write short notes on tuple relational calculus.
13. Write short notes on domain relational calculus
14. Define query language?
15. Write short notes on Schema diagram.
16. What is foreign key?
17. What are the parts of SQL language?
18. What are the categories of SQL command?
19. What are the three classes of SQL expression?
20. Give the general form of SQL query?
21. What is the use of rename operation?
23. List the string operations supported by SQL?
24. List the set operations of SQL?
25. What is the use of Union and intersection operation?
26. What are aggregate functions? And list the aggregate functions supported by
SQL?
27. What is the use of group by clause?
28. What is the use of sub queries?
29. What is view in SQL? How is it defined?
30. What is the use of with clause in SQL?
31. List the table modification commands in SQL?
32. List the SQL domain Types?
33. What is the use of integrity constraints?
34. Mention the 2 forms of integrity constraints in ER model?
35. What is trigger?
36. What are domain constraints?
37. What are referential integrity constraints?
38. What is assertion? Mention the forms available.
39. Give the syntax of assertion?
40. What is the need for triggers?
41. List the requirements needed to design a trigger.
42. Give the forms of triggers?
43. Name the various privileges in SQL?
44. Mention the various user privileges.
45. Give the limitations of SQL authorization.
46. List out the statements associated with a database transaction?
47. What is transaction?
48. What is a homogeneous distributed database?
49. What is a heterogeneous distributed database?
50. What are the two approaches to store relations in distributed database?
51. What are the two different schemes for fragmenting a relation?
52. What is horizontal fragmentation?
53. What is vertical fragmentation?
54. What are the various forms of data transparency?
55. Give the syntax for creating the table with composite primary key.
56. Write a query to display loan number, branch name where loan amount is between
500 and 1000 using comparison operators.
57. Find the names of all branches with customers who have an account in the bank
and who live in the Harrison city using Equi-join.
58. Find the names of all branches with customers who have an account in the bank
and who live in the Harrison city using Sub-Queries.
59. Select the rows from borrower such that the loan numbers are lesser than any loan
number where the branch name is Downtown.
60. Define self-join and give an example query to illustrate self-join with a sample
table.
61. What is a view and give an example query to create a view from an existing table.
62. Define Degree and Domain of a relation.
63. Define how a relation is defined mathematically.
64. List out the six fundamental operators and 4 additional operators in relational
algebra.
65. Which operators are called as unary operators and explain why they are called so.
66. Which operators are called as binary operators and explain why they are called so.
67. Write a relational algebra expression to find those tuples pertaining to loans of
more than 1200 made by the Perry ridge branch.
68. Explain the use of set difference operator and give an example to illustrate the
same.
69. Explain the two conditions needed for the set difference operation (union
Operation) to be valid.
70. Explain with one example why the additional operators are separated from the
fundamental operators?
71. Explain theta join.
72. Define how an expression can be expressed in tuple relational calculus and list out
the notations used.
73. Write an expression to find the names of all customers who have a loan from the
Perry ridge branch in tuple relational calculus.
74. Write an expression to find all customers who have an account at all branches
located in Brooklyn in tuple relational calculus.
75. Write an expression to find all customers who have an account, a loan or both at
the Perry ridge branch in domain relational calculus.
76. Define and give the general format used for generalized projection. Give one
example expression to illustrate the same.
77. What is the use of outer join and list out the three types of outer join with the
notations used in relational algebra?
78. Write a relational algebraic expression to delete all accounts at branches located
in Brooklyn.
79. Write a relational algebraic expression to insert the information about Smith with
his new account number ‘A-157’ taken at the Perry ridge branch with Rs.1200.
80. Write a relational algebraic expression to insert a gift amount of Rs. 200/- for all
loan customers of the Perry ridge branch.
81. Write a relational algebraic expression to update by adding the balances more
than 10000 with Rs.60/- interest and otherwise Rs. 50/- interest.
82. Define materialized views and explain the use of such views.
83. Define Distributed database systems.
84. What are the advantages of distributed system?
85. What is query processor?
86. Explain Client/Server.
87. What are the rules that have to be followed during fragmentation?
88. What are the failures in distributed DBMS?
89. Define relation schema.
90. Define degree of relation.

PART – B (16 MARK QUESTIONS)

1. Explain the various relational algebra operations


2. Explain nested Queries with examples
3. Explain embedded SQL and dynamic SQL in detail
4. Explain the integrity constraints supported by SQL
5. Explain triggers with example.
6. Explain distributed Database in detail
7. Explain in detail the recovery techniques in distributed databases.
8. Write about Structured Query Language (SQL) commands.
9. Explain about the concept of Tuple Relational Calculus
10. Explain about the concept of Domain Relational Calculus.

Anda mungkin juga menyukai