Probability Engine · CSC461

Advanced Database (BSc CSIT, CSC461): the questions likely to come

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

8
Papers analyzed
2074-2082
36
Analyzed questions
across 6 syllabus units
4
Very likely units
high-probability topics
4
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
U2 · Q1/9 · 208010 marks
Parallel and Distributed Databases

What is concurrency control? Explain the two-phase locking protocol and timestamp-based ordering protocol for concurrency control with suitable examples.

33%
Possible to appearAppeared in 3 of the last 3 board papers
Seen in
How well do you know this?rating moves you on
MODEL ANSWERU2 · 10 marks

Concurrency Control

Concurrency control is the activity of coordinating the concurrent (interleaved) execution of transactions in a multi-user database so that the result is equivalent to some serial execution (serializability), while preserving the ACID properties. Without it, anomalies such as lost update, dirty read, and unrepeatable read can occur.

Two-Phase Locking (2PL) Protocol

2PL is a lock-based protocol. A transaction must obtain a shared lock (S) before reading and an exclusive lock (X) before writing a data item. Locking proceeds in two phases:

  1. Growing phase — the transaction may acquire locks but cannot release any.
  2. Shrinking phase — the transaction may release locks but cannot acquire any new lock.

The point after the last lock is acquired is the lock point. 2PL guarantees conflict serializability.

Variants: Strict 2PL holds all exclusive locks until commit/abort (prevents cascading rollback); Rigorous 2PL holds all locks until commit.

Example:

T1: lock-X(A); read(A); A=A-50; write(A);
    lock-X(B); release(A); read(B); B=B+50; write(B); release(B);

All locks are acquired before any is released, so T1 obeys 2PL. A drawback is the possibility of deadlock.

Timestamp-Based Ordering Protocol

Each transaction TiT_i gets a unique timestamp TS(Ti)TS(T_i) at start. Each data item XX has two values: W-timestamp(X) (largest timestamp of a transaction that wrote X) and R-timestamp(X) (largest timestamp that read X). The protocol orders transactions by their timestamps and ensures the schedule is equivalent to executing them in timestamp order.

Read rule (Ti reads X):

  • If TS(Ti)<W-TS(X)TS(T_i) < W\text{-}TS(X)TiT_i is too late; reject and roll back TiT_i.
  • Else read is allowed; set R-TS(X)=max(R-TS(X),TS(Ti))R\text{-}TS(X) = \max(R\text{-}TS(X), TS(T_i)).

Write rule (Ti writes X):

  • If TS(Ti)<R-TS(X)TS(T_i) < R\text{-}TS(X) or TS(Ti)<W-TS(X)TS(T_i) < W\text{-}TS(X)reject and roll back TiT_i.
  • Else write is allowed; set W-TS(X)=TS(Ti)W\text{-}TS(X) = TS(T_i).

Example: Suppose TS(T1)=5TS(T_1)=5, TS(T2)=10TS(T_2)=10. If T2T_2 writes XX (so W-TS(X)=10W\text{-}TS(X)=10) and then T1T_1 (timestamp 5) tries to write XX, since TS(T1)=5<W-TS(X)=10TS(T_1)=5 < W\text{-}TS(X)=10, T1T_1 is rolled back and restarted with a new timestamp.

Timestamp ordering is deadlock-free (no waiting) but can cause repeated rollbacks/starvation.

AI-generated answer · unverifiedView in 2080 paper →
U2 · Question 1 of 9
Question Priority · U2ranked by appearance likelihood — study top-down

Parallel and Distributed Databases

Analyzed next42%
1
★ TOP PICK

What is concurrency control? Explain the two-phase locking protocol and timestamp-based ordering protocol for concurrency control with suitable examples.

10 marksSEEN IN
33%
2

What is a distributed database management system (DDBMS)? Explain data fragmentation, replication and allocation techniques used in distributed databases with suitable examples.

10 marksSEEN IN
31%
3

List the types of transparency in distributed database. Explain the distributed database architecture.

10 marksSEEN IN
24%
4

Define fragmentation. Explain horizontal fragmentation with an example.

5 marksSEEN IN
42%
5

Explain the two-phase locking (2PL) protocol for concurrency control.

5 marksSEEN IN
33%
6

Explain the two-phase commit (2PC) protocol used in distributed transactions.

5 marksSEEN IN
33%
7

Explain the architecture of parallel databases. What is inter-query and intra-query parallelism?

5 marksSEEN IN
33%
8

Explain log-based recovery techniques in a database system.

5 marksSEEN IN
33%
9

Discuss the replication and allocation techniques for distributed database design.

5 marksSEEN IN
24%
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 8 past papers

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

    What is concurrency control? Explain the two-phase locking protocol and timestamp-based ordering protocol for concurrency control with suitable examples.

    [10 marks]
    Parallel and Distributed DatabasesVery likelyfrom 2080 paper →

    This question has recurred in 3 of 8 years; so far only in internal assessments, not the board; and its topic (Parallel and Distributed Databases) appears in 100% of years.

  2. 2.

    What is a distributed database management system (DDBMS)? Explain data fragmentation, replication and allocation techniques used in distributed databases with suitable examples.

    [10 marks]
    Parallel and Distributed DatabasesVery likelyfrom 2080 paper →

    This question has recurred in 3 of 8 years; so far only in internal assessments, not the board; and its topic (Parallel and Distributed Databases) appears in 100% of years.

  3. 3.

    Explain the Enhanced Entity-Relationship (EER) model. Discuss specialization, generalization, categorization and aggregation with suitable diagrams and examples.

    [10 marks]
    Object-Based and Object-Relational DatabasesVery likelyfrom 2081 paper →

    This question has recurred in 3 of 8 years; so far only in internal assessments, not the board; and its topic (Object-Based and Object-Relational Databases) appears in 100% of years.

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

    What are the characteristics of NoSQL systems? Explain.

    [5 marks]
    Advanced Data Management and Emerging TrendsVery likelyfrom 2082 paper →

    This question has recurred in 5 of 8 years; so far only in internal assessments, not the board; and its topic (Advanced Data Management and Emerging Trends) appears in 100% of years.

  2. 2.

    Define fragmentation. Explain horizontal fragmentation with an example.

    [5 marks]
    Parallel and Distributed DatabasesVery likelyfrom 2081 paper →

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

  3. 3.

    Explain aggregation with a suitable example.

    [5 marks]
    Object-Based and Object-Relational DatabasesVery likelyfrom 2081 paper →

    This question has recurred in 4 of 8 years; so far only in internal assessments, not the board; and its topic (Object-Based and Object-Relational Databases) appears in 100% of years.

  4. 4.

    What is the ODMG object model? What is Object Definition Language (ODL)?

    [5 marks]
    Object-Based and Object-Relational DatabasesVery likelyfrom 2081 paper →

    This question has recurred in 4 of 8 years; so far only in internal assessments, not the board; and its topic (Object-Based and Object-Relational Databases) appears in 100% of years.

  5. 5.

    What is the concept of an active database? What are triggers?

    [5 marks]
    Advanced Data Management and Emerging TrendsVery likelyfrom 2081 paper →

    This question has recurred in 4 of 8 years; so far only in internal assessments, not the board; and its topic (Advanced Data Management and Emerging Trends) appears in 100% of years.

  6. 6.

    Write short notes on: (a) Big Data (b) Information Retrieval.

    [5 marks]
    Advanced Data Management and Emerging TrendsVery likelyfrom 2081 paper →

    This question has recurred in 4 of 8 years; so far only in internal assessments, not the board; and its topic (Advanced Data Management and Emerging Trends) appears in 100% of years.

  7. 7.

    Explain the different steps in query processing.

    [5 marks]
    Query Processing and OptimizationVery likelyfrom 2081 paper →

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

  8. 8.

    Why is hashing important to store data in databases? What is primary file organization?

    [5 marks]
    Query Processing and OptimizationVery likelyfrom 2081 paper →

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

  9. 9.

    Why is query optimization essential in databases? What is heuristic optimization?

    [5 marks]
    Query Processing and OptimizationVery likelyfrom 2081 paper →

    This question has recurred in 4 of 8 years; so far only in internal assessments, not the board; and its topic (Query Processing and Optimization) appears in 100% of 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
2082
Total
U2Parallel and Distributed Databases
155
U3Object-Based and Object-Relational Databases
150
U6Advanced Data Management and Emerging Trends
150
U1Query Processing and Optimization
120
U4XML and Semi-Structured Data
15
U5Spatial and Temporal Databases
10
#Syllabus unitProbabilityAppearedAvg marksSyllabus weightExam vs syllabusTrendQuestions
1U2Parallel and Distributed DatabasesVery likely100%19.422%10 lecture hrsBalancedexam 26% · syllabus 22%Steady7 recurring9 total
2U3Object-Based and Object-Relational DatabasesVery likely100%18.818%8 lecture hrsOver-examinedexam 25% · syllabus 18%Rising5 recurring12 total
3U6Advanced Data Management and Emerging TrendsVery likely100%18.813%6 lecture hrsOver-examinedexam 25% · syllabus 13%Steady7 recurring7 total
4U1Query Processing and OptimizationVery likely100%1520%9 lecture hrsBalancedexam 20% · syllabus 20%Steady4 recurring6 total
5U4XML and Semi-Structured DataPossible38%513%6 lecture hrsUnder-examinedexam 2% · syllabus 13%Steady1 recurring1 total
6U5Spatial and Temporal DatabasesOccasional12%1013%6 lecture hrsUnder-examinedexam 2% · syllabus 13%Risingnone repeat1 total

Study smart, not hard

Drag the slider: studying the top 4 units in priority order covers ~96% 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.

U2Parallel and Distributed Databases
22% of lectures → 26% of marks
U3Object-Based and Object-Relational Databases
18% of lectures → 25% of markshigh yield
U6Advanced Data Management and Emerging Trends
13% of lectures → 25% of markshigh yield
U1Query Processing and Optimization
20% of lectures → 20% of marks
U4XML and Semi-Structured Data
13% of lectures → 2% of markslow yield
U5Spatial and Temporal Databases
13% of lectures → 2% of markslow yield

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