Notice: Due to an ongoing migration of our storage and publishing system, material requested since last month will not be uploaded for the time being, and new requests are paused. All existing notes remain available.

Unit 6 subjective questions Database Design

INT322 — Computing System And Technologies 20 questions with model answers. Write yours first, then compare.

Read the notes Practice MCQs
  1. Question 1 of 20

    Define a functional dependency. Explain trivial and non-trivial functional dependencies with suitable examples.

  2. Question 2 of 20

    What is a fully functional dependency? Distinguish it from a partial dependency using an example.

  3. Question 3 of 20

    Explain transitive dependency and discuss why it creates problems in a database relation.

  4. Question 4 of 20

    Explain the concept and objectives of database normalization. Describe the anomalies that normalization attempts to remove.

  5. Question 5 of 20

    Define the first normal form (1NF). Explain how an unnormalized relation can be converted to 1NF.

  6. Question 6 of 20

    Define the second normal form (2NF). Demonstrate the conversion of a relation from 1NF to 2NF.

  7. Question 7 of 20

    Define the third normal form (3NF). Show how a 2NF relation containing a transitive dependency can be converted to 3NF.

  8. Question 8 of 20

    Normalize the relation ENROLL(StudentID, StudentName, CourseID, CourseName, InstructorID, InstructorName, Grade) up to 3NF, given the relevant functional dependencies.

  9. Question 9 of 20

    What is a database transaction? Explain the roles of read and write operations in a transaction.

  10. Question 10 of 20

    Describe the different states and stages of a transaction and explain the possible transitions between them.

  11. Question 11 of 20

    Explain the ACID properties of a transaction with suitable examples.

  12. Question 12 of 20

    Using read and write operations, explain the lost update problem and state how transaction isolation can prevent it.

  13. Question 13 of 20

    Describe the structure of a PL/SQL block. Identify its sections and write a simple example.

  14. Question 14 of 20

    Explain the implementation of arithmetic, relational, logical, and concatenation operators in PL/SQL with examples.

  15. Question 15 of 20

    Explain how conditional control statements are implemented in PL/SQL. Illustrate IF, ELSIF, ELSE, and CASE.

  16. Question 16 of 20

    Describe the implementation of iterative control statements in PL/SQL. Compare basic LOOP, WHILE LOOP, and FOR LOOP.

  17. Question 17 of 20

    What is a stored procedure in PL/SQL? Write and explain a procedure that updates an employee's salary.

  18. Question 18 of 20

    What is a stored function in PL/SQL? Implement a function that calculates an employee's annual salary.

  19. Question 19 of 20

    Compare PL/SQL procedures and functions with respect to purpose, parameters, return values, and invocation.

  20. Question 20 of 20

    Develop a PL/SQL transaction that transfers an amount between two accounts. Explain its control flow, exception handling, and relationship to ACID properties.

That's unit 6

Long answers stick best when they're tested again soon. Run the MCQs on this unit, then come back to the questions you found hardest.