Probability Engine · CSC265

Database Management System (BSc CSIT, CSC260): the questions likely to come

30 analyzed questions from 7 past papers (2074-2081), grouped by syllabus unit — each with its probability, how often it's been asked, and where to study the answer.

7
Papers analyzed
2074-2081
30
Analyzed questions
across 10 syllabus units
2
Very likely units
high-probability topics
6
Units = 80% of marks
study these first
Model answers for this subject are being written. Every question links to its original paper so you can study from the source meanwhile.
Pick a unit
U6 · Q1/8 · 20815 marks
SQL

What is a trigger? Explain with an example.

59%
Likely to appearAppeared in 5 of the last 5 board papers
Seen in
How well do you know this?rating moves you on
MODEL ANSWERU6 · 5 marks

Trigger

A trigger is a special stored procedure that is automatically executed (fired) by the DBMS in response to a specified event (INSERT, UPDATE, or DELETE) on a table or view. Triggers are used to enforce business rules, maintain integrity constraints, audit changes, and automatically update related data.

Classification:

  • By timing: BEFORE or AFTER the triggering event.
  • By granularity: row-level (FOR EACH ROW) or statement-level.
  • Pseudo-records OLD (existing values) and NEW (new values) reference the affected row.

Example (audit on salary change):

CREATE TRIGGER salary_audit
AFTER UPDATE OF salary ON Employee
FOR EACH ROW
BEGIN
  INSERT INTO Salary_Log(empno, old_sal, new_sal, changed_on)
  VALUES (:OLD.empno, :OLD.salary, :NEW.salary, SYSDATE);
END;

Whenever an employee's salary is updated, this trigger fires automatically and records the old value, new value, and timestamp in Salary_Log — without any explicit call from the application.

AI-generated answer · unverifiedView in 2081 paper →
U6 · Question 1 of 8
Question Priority · U6ranked by appearance likelihood — study top-down

SQL

Analyzed next59%
1
★ TOP PICK

What is a trigger? Explain with an example.

5 marksSEEN IN
59%
2

Differentiate between the DELETE, DROP, and TRUNCATE commands.

5 marksSEEN IN
50%
3

Explain aggregate functions in SQL with examples.

5 marksSEEN IN
50%
4

Explain indexing in databases. Differentiate between primary, secondary, and clustering indexes, and explain the structure of a B+ tree index.

10 marksSEEN IN
24%
5

Explain the concept of a stored procedure.

5 marksSEEN IN
46%
6

Explain SQL with examples. Write SQL queries to create tables, insert data, and perform join, group by, and nested subquery operations on a given schema.

10 marksSEEN IN
22%
7

What is a join? Explain inner join and outer join.

5 marksSEEN IN
44%
8

What is a view in SQL? Explain its advantages.

5 marksSEEN IN
35%
03The mock

Sit a probable paper

A full mock exam built from the most likely questions, mirroring the real paper's structure. Every slot is a real past question.

Most Probable Paper

Mirrors the real structure · 60 marks · based on 7 past papers

Section A: Long Answer QuestionsAttempt any TWO questions.
  1. 1.

    Define a transaction and explain its ACID properties. Discuss the various states of a transaction with a state diagram.

    [10 marks]
    Introduction to Transaction Processing Concepts and TheoryLikelyfrom 2081 paper →

    This question has recurred in 3 of 7 years; so far only in internal assessments, not the board; and its topic recurs in 4 of 7 years.

  2. 2.

    Explain Boyce-Codd Normal Form (BCNF). Differentiate it from 3NF and decompose a given relation into BCNF with an example.

    [10 marks]
    Relational Database DesignVery likelyfrom 2081 paper →

    This question has recurred in 2 of 7 years; so far only in internal assessments, not the board; and its topic (Relational Database Design) appears in 100% of years.

  3. 3.

    What is normalization? Explain 1NF, 2NF, and 3NF with suitable examples, and discuss why normalization is necessary.

    [10 marks]
    Relational Database DesignVery likelyfrom 2080 paper →

    This question has recurred in 2 of 7 years; so far only in internal assessments, not the board; and its topic (Relational Database Design) appears in 100% of years.

Section B: Short Answer QuestionsAttempt any EIGHT questions.
  1. 1.

    What is a trigger? Explain with an example.

    [5 marks]
    SQLVery likelyfrom 2081 paper →

    This question has recurred in 5 of 7 years; so far only in internal assessments, not the board; and its topic (SQL) appears in 100% of years.

  2. 2.

    Differentiate between the DELETE, DROP, and TRUNCATE commands.

    [5 marks]
    SQLVery likelyfrom 2081 paper →

    This question has recurred in 4 of 7 years; so far only in internal assessments, not the board; and its topic (SQL) appears in 100% of years.

  3. 3.

    Explain aggregate functions in SQL with examples.

    [5 marks]
    SQLVery likelyfrom 2081 paper →

    This question has recurred in 4 of 7 years; so far only in internal assessments, not the board; and its topic (SQL) appears in 100% of years.

  4. 4.

    What is data redundancy? How does normalization reduce it?

    [5 marks]
    Relational Database DesignVery likelyfrom 2081 paper →

    This question has recurred in 4 of 7 years; so far only in internal assessments, not the board; and its topic (Relational Database Design) appears in 100% of years.

  5. 5.

    Explain lossless join and dependency-preserving decomposition.

    [5 marks]
    Relational Database DesignVery likelyfrom 2081 paper →

    This question has recurred in 4 of 7 years; so far only in internal assessments, not the board; and its topic (Relational Database Design) appears in 100% of years.

  6. 6.

    Explain the concept of a weak entity set with an example.

    [5 marks]
    Data Modeling Using the Entity-Relational ModelLikelyfrom 2080 paper →

    This question has recurred in 4 of 7 years; so far only in internal assessments, not the board; and its topic recurs in 5 of 7 years.

  7. 7.

    Differentiate between relational algebra and relational calculus.

    [5 marks]
    The Relational Algebra and Relational CalculusLikelyfrom 2081 paper →

    This question has recurred in 4 of 7 years; so far only in internal assessments, not the board; and its topic recurs in 5 of 7 years.

  8. 8.

    Define schedule. Differentiate between serial and serializable schedules.

    [5 marks]
    Introduction to Transaction Processing Concepts and TheoryLikelyfrom 2081 paper →

    This question has recurred in 4 of 7 years; so far only in internal assessments, not the board; and its topic recurs in 4 of 7 years.

  9. 9.

    What is a deadlock in a database? How is it handled?

    [5 marks]
    Concurrency Control TechniquesLikelyfrom 2081 paper →

    This question has recurred in 4 of 7 years; so far only in internal assessments, not the board; and its topic recurs in 4 of 7 years.

04The receipts

Behind the numbers

The raw evidence the predictions are computed from: marks per unit per year, syllabus weights, trends, and coverage.

Show the heatmap, topic table and coverage analysis

The receipt: marks per unit, per year

Each row is a syllabus unit, each column an exam year, each cell the marks that unit earned that year. Click any cell to see the actual questions behind it.

Marks:nonefew → many
2074
2075
2077
2078
2079
2080
2081
Total
U6SQL
130
U7Relational Database Design
125
U3Data Modeling Using the Entity-Relational Model
50
U5The Relational Algebra and Relational Calculus
40
U8Introduction to Transaction Processing Concepts and Theory
50
U1Database and Database Users
45
U9Concurrency Control Techniques
40
U4The Relational Data Model and Relational Database Constraints
15
U10Database Recovery Techniques
20
U2Database System – Concepts and Architecture
10
#Syllabus unitProbabilityAppearedAvg marksSyllabus weightExam vs syllabusTrendQuestions
1U6SQLVery likely100%18.618%8 lecture hrsOver-examinedexam 25% · syllabus 18%Steady6 recurring8 total
2U7Relational Database DesignVery likely100%17.916%7 lecture hrsOver-examinedexam 24% · syllabus 16%Steady6 recurring7 total
3U3Data Modeling Using the Entity-Relational ModelLikely71%1013%6 lecture hrsBalancedexam 10% · syllabus 13%Steady3 recurring3 total
4U5The Relational Algebra and Relational CalculusLikely71%811%5 lecture hrsBalancedexam 8% · syllabus 11%Steady2 recurring2 total
5U8Introduction to Transaction Processing Concepts and TheoryLikely57%12.59%4 lecture hrsBalancedexam 10% · syllabus 9%Steady2 recurring2 total
6U1Database and Database UsersLikely57%11.24%2 lecture hrsBalancedexam 9% · syllabus 4%Steady3 recurring3 total
7U9Concurrency Control TechniquesLikely57%109%4 lecture hrsBalancedexam 8% · syllabus 9%Steady2 recurring2 total
8U4The Relational Data Model and Relational Database ConstraintsPossible43%57%3 lecture hrsBalancedexam 3% · syllabus 7%Steady1 recurring1 total
9U10Database Recovery TechniquesOccasional29%107%3 lecture hrsBalancedexam 4% · syllabus 7%Steady1 recurring1 total
10U2Database System – Concepts and ArchitectureOccasional14%107%3 lecture hrsBalancedexam 2% · syllabus 7%Fadingnone repeat1 total

Study smart, not hard

Drag the slider: studying the top 6 units in priority order covers ~84% of all observed marks.

  1. ~80% line

Lecture time vs exam marks

Where the exam pays more than the curriculum spends: ● lectures vs ● exam marks, as a share of the whole course. A long teal-leading bar = high-yield unit.

U6SQL
18% of lectures → 25% of markshigh yield
U7Relational Database Design
16% of lectures → 24% of markshigh yield
U3Data Modeling Using the Entity-Relational Model
13% of lectures → 10% of marks
U5The Relational Algebra and Relational Calculus
11% of lectures → 8% of marks
U8Introduction to Transaction Processing Concepts and Theory
9% of lectures → 10% of marks
U1Database and Database Users
4% of lectures → 9% of marks
U9Concurrency Control Techniques
9% of lectures → 8% of marks
U4The Relational Data Model and Relational Database Constraints
7% of lectures → 3% of marks
U10Database Recovery Techniques
7% of lectures → 4% of marks
U2Database System – Concepts and Architecture
7% of lectures → 2% of marks

Topics are the official CSC265 syllabus units. Predictions are data-driven probabilities computed from 7 past papers (2074-2081) by mapping each real question to its syllabus unit. They indicate what has historically been likely, not guaranteed questions. Always study the full syllabus.