Probability Engine · CSC208

Computer Architecture (BSc CSIT, CSC208): the questions likely to come

20 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
20
Analyzed questions
across 8 syllabus units
7
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
U8 · Q1/4 · 208010 marks
Memory Organization

What is cache memory? Explain the different cache mapping techniques (direct, associative and set-associative) with suitable diagrams.

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

Cache Memory

Cache memory is a small, high-speed memory placed between the CPU and main memory (RAM). It stores copies of frequently accessed instructions and data so that the CPU can access them faster than fetching from slower main memory. It works on the principle of locality of reference (temporal and spatial locality).

When the CPU needs a word, it first checks the cache:

  • Cache hit — the word is found in cache (fast access).
  • Cache miss — the word is not in cache, so it is fetched from main memory and a block is copied into cache.

The ratio of hits to total references is the hit ratio, a key measure of cache performance.

Main memory is divided into blocks and cache into lines of the same size. A mapping function decides which main-memory block goes to which cache line.

Cache Mapping Techniques

1. Direct Mapping

Each main-memory block maps to exactly one fixed cache line, given by:

Cache line=(Block number)mod(Number of cache lines)\text{Cache line} = (\text{Block number}) \bmod (\text{Number of cache lines})

The physical address is split into three fields:

TagLine (Index)Word (Offset)
  • Word selects the byte/word within a block.
  • Line selects the cache line directly.
  • Tag is stored with the line and compared to verify the right block.

Diagram (in words): Each cache line has a tag field and a data block. The line field of the address indexes one line; its stored tag is compared with the address tag — equal means hit.

Advantage: Simple and cheap (one comparison). Disadvantage: High conflict misses — two blocks mapping to the same line repeatedly evict each other.

2. Associative (Fully Associative) Mapping

A main-memory block can be placed in any cache line. The address has only two fields:

TagWord

The tag must be compared with the tags of all cache lines simultaneously (using associative/content-addressable memory).

Diagram (in words): All cache-line tags are searched in parallel by comparators; any match is a hit.

Advantage: Most flexible, lowest conflict misses, best hit ratio. Disadvantage: Expensive hardware (many comparators) and needs a replacement algorithm (LRU/FIFO).

3. Set-Associative Mapping

A compromise between the two. The cache is divided into sets, each containing kk lines (a k-way set-associative cache). A block maps to one fixed set but can occupy any line within that set:

Set number=(Block number)mod(Number of sets)\text{Set number} = (\text{Block number}) \bmod (\text{Number of sets})

The address has three fields:

TagSetWord

Diagram (in words): The set field indexes one set; the tag is compared in parallel with the kk lines of that set only.

Advantage: Lower conflict misses than direct mapping and far cheaper than fully associative (kk comparators only). Most real caches use 2-way, 4-way or 8-way set-associative mapping.

Summary

Direct mapping is the special case k=1k=1; fully associative is the case where the whole cache is one set. Set-associative balances cost and performance.

AI-generated answer · unverifiedView in 2080 paper →
U8 · Question 1 of 4
Question Priority · U8ranked by appearance likelihood — study top-down

Memory Organization

Analyzed next71%
1
★ TOP PICK

What is cache memory? Explain the different cache mapping techniques (direct, associative and set-associative) with suitable diagrams.

10 marksSEEN IN
54%
2

What is virtual memory? Explain the concept of paging.

5 marksSEEN IN
71%
3

Explain set-associative mapping technique of cache memory with an example.

5 marksSEEN IN
71%
4

Explain the memory hierarchy in a computer system with a suitable diagram.

5 marksSEEN IN
68%
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.

    What is cache memory? Explain the different cache mapping techniques (direct, associative and set-associative) with suitable diagrams.

    [10 marks]
    Memory OrganizationVery likelyfrom 2080 paper →

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

  2. 2.

    Explain the design of a binary adder-subtractor circuit. Describe Booth's multiplication algorithm and multiply (-5) x (3) using it.

    [10 marks]
    Computer ArithmeticVery likelyfrom 2079 paper →

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

  3. 3.

    Explain Flynn's classification of computer architectures (SISD, SIMD, MISD, MIMD) with examples.

    [10 marks]
    Pipeline and Vector ProcessingLikelyfrom 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 5 of 7 years.

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

    What is DMA? Explain how direct memory access transfers data without CPU intervention.

    [5 marks]
    Input-Output OrganizationVery likelyfrom 2081 paper →

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

  2. 2.

    Explain the algorithm for division of unsigned integers (restoring division) with an example.

    [5 marks]
    Computer ArithmeticVery likelyfrom 2081 paper →

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

  3. 3.

    Explain the concept of microprogrammed control and microinstruction format.

    [5 marks]
    Microprogrammed ControlVery likelyfrom 2081 paper →

    This question has recurred in 6 of 7 years; so far only in internal assessments, not the board; and its topic (Microprogrammed Control) appears in 86% of years.

  4. 4.

    Explain register transfer language with examples of micro-operations.

    [5 marks]
    Register Transfer and MicrooperationsVery likelyfrom 2081 paper →

    This question has recurred in 6 of 7 years; so far only in internal assessments, not the board; and its topic (Register Transfer and Microoperations) appears in 86% of years.

  5. 5.

    What is virtual memory? Explain the concept of paging.

    [5 marks]
    Memory OrganizationVery likelyfrom 2081 paper →

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

  6. 6.

    Explain set-associative mapping technique of cache memory with an example.

    [5 marks]
    Memory OrganizationVery likelyfrom 2081 paper →

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

  7. 7.

    Explain the memory hierarchy in a computer system with a suitable diagram.

    [5 marks]
    Memory OrganizationVery likelyfrom 2081 paper →

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

  8. 8.

    Explain the instruction format and the types of instructions based on the number of addresses.

    [5 marks]
    Central Processing UnitVery likelyfrom 2081 paper →

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

  9. 9.

    Differentiate between RISC and CISC architectures.

    [5 marks]
    Central Processing UnitVery likelyfrom 2080 paper →

    This question has recurred in 5 of 7 years; so far only in internal assessments, not the board; and its topic (Central Processing Unit) 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
Total
U8Memory Organization
115
U4Central Processing Unit
85
U6Computer Arithmetic
85
U7Input-Output Organization
65
U3Microprogrammed Control
50
U2Basic Computer Organization and Design
45
U5Pipeline and Vector Processing
50
U1Register Transfer and Microoperations
30
#Syllabus unitProbabilityAppearedAvg marksSyllabus weightExam vs syllabusTrendQuestions
1U8Memory OrganizationVery likely100%16.410%5 lecture hrsOver-examinedexam 22% · syllabus 10%Steady4 recurring4 total
2U4Central Processing UnitVery likely100%12.116%8 lecture hrsBalancedexam 16% · syllabus 16%Rising3 recurring5 total
3U6Computer ArithmeticVery likely100%12.110%5 lecture hrsOver-examinedexam 16% · syllabus 10%Steady3 recurring3 total
4U7Input-Output OrganizationVery likely100%9.310%5 lecture hrsBalancedexam 12% · syllabus 10%Steady1 recurring1 total
5U3Microprogrammed ControlVery likely86%8.312%6 lecture hrsBalancedexam 10% · syllabus 12%Steady2 recurring2 total
6U2Basic Computer Organization and DesignVery likely86%7.518%9 lecture hrsUnder-examinedexam 9% · syllabus 18%Fading2 recurring2 total
7U5Pipeline and Vector ProcessingLikely71%1012%6 lecture hrsBalancedexam 10% · syllabus 12%Steady2 recurring2 total
8U1Register Transfer and MicrooperationsVery likely86%512%6 lecture hrsUnder-examinedexam 6% · syllabus 12%Steady1 recurring1 total

Study smart, not hard

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

U8Memory Organization
10% of lectures → 22% of markshigh yield
U4Central Processing Unit
16% of lectures → 16% of marks
U6Computer Arithmetic
10% of lectures → 16% of markshigh yield
U7Input-Output Organization
10% of lectures → 12% of marks
U3Microprogrammed Control
12% of lectures → 10% of marks
U2Basic Computer Organization and Design
18% of lectures → 9% of markslow yield
U5Pipeline and Vector Processing
12% of lectures → 10% of marks
U1Register Transfer and Microoperations
12% of lectures → 6% of markslow yield

Topics are the official CSC208 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.