2021 question paper

DATABASE MANAGEMENT SYSTEM

23 questions

  1. 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

    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
    View this question on its own page →
  2. 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

    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
    View this question on its own page →
  3. 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

    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
    View this question on its own page →
  4. 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

    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
    View this question on its own page →
  5. 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

    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
    View this question on its own page →
  6. 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

    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
    View this question on its own page →
  7. 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

    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
    View this question on its own page →
  8. 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

    ______________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)
    View this question on its own page →
  9. 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

    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
    View this question on its own page →
  10. 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

    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
    View this question on its own page →
  11. 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

    List five responsibilities of the database manager. For each responsibility, explain the problem that would arise if the responsibility were not discharged.

    View this question on its own page →
  12. 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

    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.

    View this question on its own page →
  13. 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

    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..

    View this question on its own page →
  14. Q4a. What are DDL and DML? Explain with the help of examples.20217m

    Unit 1: Database System Architecture

    What are DDL and DML? Explain with the help of examples.

    View this question on its own page →
  15. 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

    Explain the following operations with the help of examples:

    • (i) Set of intersection operation
      (ii) Natural join operation
      (iii) Division operation
    View this question on its own page →
  16. Q5a. What are the differences between primary index and secondary index?20217m

    Unit 3: Storage and Transaction Processing

    What are the differences between primary index and secondary index?

    View this question on its own page →
  17. Q5b. How does the remapping of bad sectors by disk controllers affect data retrievals rates?20217m

    Unit 3: Storage and Transaction Processing

    How does the remapping of bad sectors by disk controllers affect data retrievals rates?

    View this question on its own page →
  18. 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

    Show that the two-phase locking protocol ensures conflict serializability and that transaction can be serialized according to their lock points.

    View this question on its own page →
  19. 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

    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.

    View this question on its own page →
  20. Q7b. Explain web and distributed database with the help of example.20217m

    Unit 5 – Advanced Topics

    Explain web and distributed database with the help of example.

    View this question on its own page →
  21. 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

    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.

    View this question on its own page →
  22. Q9a. Write a short note on any one of the foflowing: - (a) SQL injection20217m

    Unit 4 – Database Security

    Write a short note on any one of the foflowing:

    • (a) SQL injection
    View this question on its own page →
  23. Q9b. Write a short note on any one of the foflowing: - (b) Database recovery20217m

    Unit 3: Storage and Transaction Processing

    Write a short note on any one of the foflowing:

    • (b) Database recovery
    View this question on its own page →