Code: 105404Computer Science & Eng.4th Semester5 Examination Papers

Database Management System

Official Bihar Engineering University examination question papers, marks distribution, and questions transcript. Available exam sessions: 2025, 2022, 2020, 2019, 2017.

Exam Year:

Get Instant AI Answers on this Paper

Open BEU Connect Android app to solve any numerical or derive formulas step by step.

Ask AI in App
Official Exam Paper TranscriptB.Tech 4th Semester Examination, 2025
Bihar Engineering University, Patna
B.Tech 5th Semester Exam., 2025

DATABASE MANAGEMENT SYSTEMS

Time: 03 HoursCode: 105502Semester: VFull Marks: 70

Instructions:

  1. The marks are indicated in the right-hand margin.
  2. There are NINE questions in this paper.
  3. Attempt FIVE questions in all.
  4. Question No. 1 is compulsory.
Q.1 Choose the correct option / answer the following (Any seven question only):[2 x 7 = 14]
  1. Which statement is FALSE?

    1. Every weak entity depends on a strong entity
    2. A weak entity can have a partial key
    3. Every many-to-many relationship becomes a separate relation
    4. Every relation generated from ER always has a single candidate key
  2. For relation: R(A,B,C); FDs={A→B, B→A}, Which statement is true?

    1. A and B both are candidate keys
    2. Only A is key
    3. Only B is key
    4. Neither A nor B is key
  3. The relational algebra expression πA(R)−πA((πA(R)×S)−R) is equivalent to:

    1. Selection
    2. Join
    3. Division
    4. Projection
  4. Which query is best solved using division operation?

    1. Find students enrolled in DBMS
    2. Find students enrolled in all courses
    3. Find students with marks >80
    4. Find students from CSE
  5. A relation is in BCNF if:

    1. Every non-prime attribute depends on key
    2. Every FD is trivial
    3. Every determinant is a superkey
    4. Every attribute is atomic
  6. Suppose relation R(A,B,C) is decomposed into: R1(A,B) and R2(B,C)
    The decomposition is lossless if:

    1. B→A or B→C
    2. A→B
    3. A→C
    4. C→B
  7. Compared with B-tree indexing, hashing is preferred when queries mainly involve:

    1. Range searches
    2. Ordered traversal
    3. Exact match search
    4. Sorting
  8. For a B-tree of order m, every non-root internal node must have at least:

    1. m/2 children
    2. ⌈m/2⌉ children
    3. ⌊m/2⌋−1 children
    4. m−1 children
  9. Consider the schedule: R1(X), R2(X), W1(X), W2(X). The schedule is:

    1. View serializable only
    2. Conflict serializable
    3. Not serializable
    4. Recoverable
  10. Under strict two-phase locking:

    1. Exclusive locks are held until commit/abort
    2. Deadlocks are impossible
    3. Locks can be released anytime
    4. Transactions become serial
Q.2[7+7=14]
  1. Explain the three-level database architecture with a neat diagram. How does it support data abstraction and data independence?

  2. Explain integrity constraints in DBMS. Discuss different types with examples.

Q.3[7+7=14]
  1. Design an ER diagram for a Hospital Management System containing Patients, Doctors, Departments, and Appointments. Clearly identify entities, attributes, relationships, and cardinalities.

  2. What is a JOIN in SQL? Explain various JOIN operations with a suitable example for each and discuss their applications in database systems.

Q.4[10+4=14]
  1. Consider:
    Student(SID, Name, Dept, Age)
    Course(CID, CName, Faculty)
    Enroll(SID, CID, Marks)

    1. Write relational algebra expressions to find:

      1. Students enrolled in DBMS
      2. Students scoring >80 marks
      3. Students not enrolled in any course
    2. Write SQL queries:

      1. Find highest marks
      2. Find average marks department-wise
      3. Display students enrolled in more than two courses
    3. Translate the following query into tuple relational calculus: “Find names of students from CSE department.”

    4. Convert the following relational algebra into SQL:
      πName(σMarks>60(Student ⋈ Enroll))

  2. For relation R(A,B,C,D,E) functional dependencies are given as follows:
    A→BC
    CD→E
    B→D
    Find candidate keys.

Q.5[7+7=14]
  1. Explain different normal forms up to BCNF with examples.

  2. Explain different indexing techniques used in databases.

Q.6[7+7=14]
  1. Consider a hash table of size 10 with the hash function h(k)=k mod 10. Insert the keys 23, 43, 13, 27, 37, and 50 into the hash table. Construct the hash table using separate chaining for collision resolution and then reconstruct it using linear probing. Compare the final arrangements obtained using both methods.

  2. Define serializability. Explain conflict and view serializability.

Q.7[7+7=14]
  1. Explain two-phase locking protocol with an example.

  2. Explain concurrency control problems such as lost update, dirty read, and unrepeatable read.

Q.8[7+7=14]
  1. Explain authentication, authorization, and the role of encryption in DBMS security.

  2. Explain object-oriented databases and discuss their advantages over relational databases.

Q.9 Write short note on any two of the following;[7 x 2 = 14]
  1. Dependency Preservation and Lossless Decomposition

  2. Database Recovery Techniques

  3. SQL injection attacks

  4. data mining

Related Official Syllabus

Database Management System

105404

Official BEU curriculum units & topics for this examination subject.

Unit 1.0- Database system architecture

Data Abstraction • Data Independence • Data Definition Language (DDL) • Data Manipulation Language (DML) • Data models: Entity-relationship model • Network model • Relational and object oriented data models • Integrity constraints • Data manipulation operations

Unit 2.0- Relational query languages

Relational algebra • Tuple and domain relational calculus • SQL3 • DDL and DML constructs • Open source and Commercial DBMS - MYSQL • ORACLE • DB2 • SQL server • Relational database design: Domain and data dependency • Armstrong's axioms • Normal forms • Dependency preservation • Lossless design • Query processing and optimization: Evaluation of relational algebra expressions • Query equivalence • Join strategies • Query optimization algorithms

Unit 3.0-Storage strategies

Indices • B-trees • Hashing

Unit 4.0- Transaction processing

Concurrency control • ACID property • Serializability of scheduling • Locking and timestamp based schedulers • Multi-version and optimistic Concurrency Control schemes • Database recovery

Unit 5.0-Database Security

Authentication • Authorization and access control • DAC • MAC and RBAC models • Intrusion detection • SQL injection

View Complete 4th Semester Syllabus

Prepare Better with BEU Connect

  • Download papers for 100% offline study
  • Ask AI for step-by-step problem breakdown
  • Attempt official GATE CBT mock tests
  • Calculate SGPA and track attendance
Download Android App