2021 question paper
DATABASE MANAGEMENT SYSTEM
23 questions
Q1a. The relational model feature is that there - (i) is no need for primary key data (ii) is much more data independence than some other database models (iii) are explicit relationships among records (iv) are tables with many dimensions20212m
Unit 1: Database System Architecture
View this question on its own page →The relational model feature is that there
- (i) is no need for primary key data
(ii) is much more data independence than some other database models
(iii) are explicit relationships among records
(iv) are tables with many dimensions
- (i) is no need for primary key data
Q1b. Which of the following operations is used if we are interested in only certain columns of a table? - (i) PROJECTION (ii) SELECTION (ii) UNION (iv) JOIN20212m
Unit 2: Relational Query Languages
View this question on its own page →Which of the following operations is used if we are interested in only certain columns of a table?
- (i) PROJECTION
(ii) SELECTION
(ii) UNION
(iv) JOIN
- (i) PROJECTION
Q1c. Which of the following is the original purpose of SQL? - (i) To specify the syntax and semantics of SQL data definition language (ii) To specify the syntax and semantics of SQL manipulation language (ii) To define the data structures (iv) All of the above20212m
Unit 2: Relational Query Languages
View this question on its own page →Which of the following is the original purpose of SQL?
- (i) To specify the syntax and semantics of SQL data definition language
(ii) To specify the syntax and semantics of SQL manipulation language
(ii) To define the data structures
(iv) All of the above
- (i) To specify the syntax and semantics of SQL data definition language
Q1d. Which of the following is true? - (i) B+ tree allows only the rapid random access (ii) B+ tree allows only the rapid sequential access (iii) B + tree allows rapid random access as well as rapid sequential access (iv) B + tree allows rapid random access and slower sequential access20212m
Unit 3: Storage and Transaction Processing
View this question on its own page →Which of the following is true?
- (i) B+ tree allows only the rapid random access
(ii) B+ tree allows only the rapid sequential access
(iii) B + tree allows rapid random access as well as rapid sequential access
(iv) B + tree allows rapid random access and slower sequential access
- (i) B+ tree allows only the rapid random access
Q1e. Transaction processing is associated with everything below, except - (i) conforming an action or triggering a response (ii) producing detailed summary or exception report (iii) recording a business activity (iv) maintaining a data20212m
Unit 3: Storage and Transaction Processing
View this question on its own page →Transaction processing is associated with everything below, except
- (i) conforming an action or triggering a response
(ii) producing detailed summary or exception report
(iii) recording a business activity
(iv) maintaining a data
- (i) conforming an action or triggering a response
Q1f. Which of the following is used at the end of the view to reject the tuples which do not satisfy the condition in where clause? - (i) With (ii) Check (iii) With check (iv) All of the above20212m
Unit 2: Relational Query Languages
View this question on its own page →Which of the following is used at the end of the view to reject the tuples which do not satisfy the condition in where clause?
- (i) With
(ii) Check
(iii) With check
(iv) All of the above
- (i) With
Q1g. Many applications use where two independent factors are used to identify a user. - (i) Two-factor authentication (ii) Cross-site request forgery (iii) Cross-site scripting (iv) Cross-site scoring scripting20212m
Unit 4 – Database Security
View this question on its own page →Many applications use where two independent factors are used to identify a user.
- (i) Two-factor authentication
(ii) Cross-site request forgery
(iii) Cross-site scripting
(iv) Cross-site scoring scripting
- (i) Two-factor authentication
Q1h. ______________allows a system administrator to associate a function with a relation; the function returns a predicate that must be added to any query that uses the relation. - (i) OpenID (ii) Single-site system (iii) Security Assertion Markup Language (SAML) (iv) Virtual Private Database (VPD)20212m
Unit 4 – Database Security
View this question on its own page →______________allows a system administrator to associate a function with a relation; the function returns a predicate that must be added to any query that uses the relation.
- (i) OpenID
(ii) Single-site system
(iii) Security Assertion Markup Language (SAML)
(iv) Virtual Private Database (VPD)
- (i) OpenID
Q1i. The Object Query Language is which of the following? - (i) Similar to SQL and uses a select-from-where structure (ii) Similar to SQL and uses a select-where structure (ii) Similar to SQL and uses a from-where structure (iv) Not similar to SQL20212m
Unit 5 – Advanced Topics
View this question on its own page →The Object Query Language is which of the following?
- (i) Similar to SQL and uses a select-from-where structure
(ii) Similar to SQL and uses a select-where structure
(ii) Similar to SQL and uses a from-where structure
(iv) Not similar to SQL
- (i) Similar to SQL and uses a select-from-where structure
Q1j. Which join refers to join records from the right table that have no matching key in the left table and are included in the result set? - (i) Left outer join (i) Right outer join (iii) Full outer join (iv) Half outer join20212m
Unit 2: Relational Query Languages
View this question on its own page →Which join refers to join records from the right table that have no matching key in the left table and are included in the result set?
- (i) Left outer join
(i) Right outer join
(iii) Full outer join
(iv) Half outer join
- (i) Left outer join
Q2a. List five responsibilities of the database manager. For each responsibility, explain the problem that would arise if the responsibility were not discharged.20217m
Unit 1: Database System Architecture
View this question on its own page →List five responsibilities of the database manager. For each responsibility, explain the problem that would arise if the responsibility were not discharged.
Q2b. Consider a two-dimensional integer array of size name that is to be used in your favourite programming language. Using the array as an example, illustrate the difference (i) between the three levels of data abstraction and (ii) between a schema and instances.20217m
Unit 1: Database System Architecture
View this question on its own page →Consider a two-dimensional integer array of size name that is to be used in your favourite programming language. Using the array as an example, illustrate the difference (i) between the three levels of data abstraction and (ii) between a schema and instances.
Q3. Construct an E-R diagram for a car insurance company that has a set of customers, each of whom owns one or more cars. Each car has associated with it zero to any number of recorded accidents..202114m
Unit 1: Database System Architecture
View this question on its own page →Construct an E-R diagram for a car insurance company that has a set of customers, each of whom owns one or more cars. Each car has associated with it zero to any number of recorded accidents..
Q4a. What are DDL and DML? Explain with the help of examples.20217m
Unit 1: Database System Architecture
View this question on its own page →What are DDL and DML? Explain with the help of examples.
Q4b. Explain the following operations with the help of examples: - (i) Set of intersection operation (ii) Natural join operation (iii) Division operation20217m
Unit 2: Relational Query Languages
View this question on its own page →Explain the following operations with the help of examples:
- (i) Set of intersection operation
(ii) Natural join operation
(iii) Division operation
- (i) Set of intersection operation
Q5a. What are the differences between primary index and secondary index?20217m
Unit 3: Storage and Transaction Processing
View this question on its own page →What are the differences between primary index and secondary index?
Q5b. How does the remapping of bad sectors by disk controllers affect data retrievals rates?20217m
Unit 3: Storage and Transaction Processing
View this question on its own page →How does the remapping of bad sectors by disk controllers affect data retrievals rates?
Q6. Show that the two-phase locking protocol ensures conflict serializability and that transaction can be serialized according to their lock points.202114m
Unit 3: Storage and Transaction Processing
View this question on its own page →Show that the two-phase locking protocol ensures conflict serializability and that transaction can be serialized according to their lock points.
Q7a. Make a list of security concerns for a bank. For each item on your list, state whether this concern relates to physical security, human security, operating-system security or database security.20217m
Unit 4 – Database Security
View this question on its own page →Make a list of security concerns for a bank. For each item on your list, state whether this concern relates to physical security, human security, operating-system security or database security.
Q7b. Explain web and distributed database with the help of example.20217m
Unit 5 – Advanced Topics
View this question on its own page →Explain web and distributed database with the help of example.
Q8. Consider the following ordering schedule — S’ of transactions: `` T1 : R(A); T1 : A := A + 5; T1 : commit; T2 : R(B); T2 : B := B + 5; T3 : R(C); T3 : C := C + 5; T3 : C := C + 5; T4 : R(A); T4 : A := A + 5; T4 : R(D); T4 : D := D + 5; T4 : commit; T2 : commit; T3 : commit; ` Let the initial value of A = B = C = D = 0. The system follows log-based recovery process of *immediate database modification*. The assumption is the concurrency control system uses strict 2PL, and all transactions share a common disk buffer and single log. Explain what happens during the recovery process if a failure occurs at T2 : commit` statement.202114m
Unit 3: Storage and Transaction Processing
View this question on its own page →Consider the following ordering schedule —
S’ of transactions:T1 : R(A); T1 : A := A + 5; T1 : commit; T2 : R(B); T2 : B := B + 5; T3 : R(C); T3 : C := C + 5; T3 : C := C + 5; T4 : R(A); T4 : A := A + 5; T4 : R(D); T4 : D := D + 5; T4 : commit; T2 : commit; T3 : commit;Let the initial value of A = B = C = D = 0.
The system follows log-based recovery process of immediate database modification.The assumption is the concurrency control system uses strict 2PL, and all transactions share a common disk buffer and single log.
Explain what happens during the recovery process if a failure occurs at
T2 : commitstatement.Q9a. Write a short note on any one of the foflowing: - (a) SQL injection20217m
Unit 4 – Database Security
View this question on its own page →Write a short note on any one of the foflowing:
- (a) SQL injection
Q9b. Write a short note on any one of the foflowing: - (b) Database recovery20217m
Unit 3: Storage and Transaction Processing
View this question on its own page →Write a short note on any one of the foflowing:
- (b) Database recovery