Probability Engine · CSC162

Microprocessor (BSc CSIT, CSC162): the questions likely to come

82 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
82
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
U3 · Q1/22 · 208110 marks
Programming Model and Instruction Set of 8085

Write an assembly language program to sort an array of numbers in ascending order. Explain the algorithm used.

20%
Occasional to appearAppeared in 1 of the last 1 board papers
Seen in
How well do you know this?rating moves you on
MODEL ANSWERU3 · 10 marks

Assembly Program to Sort an Array in Ascending Order

Algorithm Used — Bubble Sort

Bubble sort repeatedly steps through the list, compares each pair of adjacent elements and swaps them if they are in the wrong order. After each full pass the largest unsorted element "bubbles" to its correct position. For n elements it needs at most n-1 passes; here we use a simple fixed n-1 outer loop with an inner comparison loop.

8086 Assembly Program (sorts a byte array)

.MODEL SMALL
.DATA
    ARR   DB 25H, 12H, 56H, 03H, 49H, 18H
    N     EQU 6                 ; number of elements
.CODE
MAIN PROC
    MOV AX, @DATA
    MOV DS, AX

    MOV CX, N-1                 ; outer loop count = n-1 passes
OUTER:
    MOV SI, OFFSET ARR          ; point to start of array
    MOV DX, CX                  ; inner loop count (passes shrink)
INNER:
    MOV AL, [SI]                ; AL = current element
    CMP AL, [SI+1]              ; compare with next element
    JBE NOSWAP                  ; if AL <= next, no swap (unsigned)
    ; swap the two adjacent bytes
    MOV BL, [SI+1]
    MOV [SI+1], AL
    MOV [SI], BL
NOSWAP:
    INC SI                      ; move to next pair
    DEC DX
    JNZ INNER                   ; repeat inner loop
    LOOP OUTER                  ; repeat outer loop (decrements CX)

    MOV AH, 4CH                 ; terminate program
    INT 21H
MAIN ENDP
END MAIN

Working

  1. DS is loaded with the data segment.
  2. CX holds the number of passes (n-1).
  3. In each pass SI scans the array; CMP AL,[SI+1] with JBE keeps the smaller element first (ascending). If AL > next, the two bytes are swapped.
  4. After all passes the array ARR is sorted in ascending order.

(For signed numbers replace JBE with JLE.)

Marking summary: Correct algorithm explanation (3), correct working program with comments (5), explanation of swap/loop logic (2).

AI-generated answer · unverifiedView in 2081 paper →
U3 · Question 1 of 22
Question Priority · U3ranked by appearance likelihood — study top-down

Programming Model and Instruction Set of 8085

Analyzed next20%
1
★ TOP PICK

Write an assembly language program to sort an array of numbers in ascending order. Explain the algorithm used.

10 marksSEEN IN
20%
2

Write an assembly language program to add two 16-bit numbers and store the result. Explain the use of registers and flags.

10 marksSEEN IN
16%
3

Explain the instruction set of the 8085/8086 microprocessor. Classify the instructions into data transfer, arithmetic, logical, branch and machine control groups with examples.

10 marksSEEN IN
14%
4

Write an assembly language program to find the largest number in an array of n numbers. Explain the logic.

10 marksSEEN IN
14%
5

What are conditional and unconditional jump instructions?

5 marksSEEN IN
20%
6

Explain the rotate and shift instructions.

5 marksSEEN IN
20%
7

Explain the different addressing modes of the 8086 microprocessor with suitable examples for each.

10 marksSEEN IN
10%
8

List the logical instructions of the 8086.

5 marksSEEN IN
18%
9

Write a short note on string instructions in 8086.

5 marksSEEN IN
18%
10

Explain the LOOP instruction.

5 marksSEEN IN
16%
11

Differentiate between CALL and JMP instructions.

5 marksSEEN IN
16%
12

Write a short note on the direct addressing mode.

5 marksSEEN IN
16%
13

What is the difference between a macro and a procedure?

5 marksSEEN IN
14%
14

Explain the use of the ASSUME directive.

5 marksSEEN IN
14%
15

List the data transfer instructions of 8086.

5 marksSEEN IN
14%
16

Differentiate between MOV and XCHG instructions.

5 marksSEEN IN
14%
17

Explain based indexed addressing mode.

5 marksSEEN IN
14%
18

List any four arithmetic instructions of the 8086.

5 marksSEEN IN
13%
19

Explain register addressing mode.

5 marksSEEN IN
13%
20

Define opcode and operand.

5 marksSEEN IN
11%
21

Explain immediate addressing mode with an example.

5 marksSEEN IN
11%
22

Explain the term 'addressing mode'.

5 marksSEEN IN
10%
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 the instruction cycle? Explain fetch, decode and execute cycles. Describe the timing diagram for a memory read operation.

    [10 marks]
    Microprocessor Architecture and Microcomputer SystemVery likelyfrom 2078 paper →

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

  2. 2.

    Write an assembly language program to sort an array of numbers in ascending order. Explain the algorithm used.

    [10 marks]
    Programming Model and Instruction Set of 8085Very likelyfrom 2081 paper →

    Asked once (2081); so far only in internal assessments, not the board; and its topic (Programming Model and Instruction Set of 8085) appears in 100% of years.

  3. 3.

    Write an assembly language program to add two 16-bit numbers and store the result. Explain the use of registers and flags.

    [10 marks]
    Programming Model and Instruction Set of 8085Very likelyfrom 2079 paper →

    Asked once (2079); so far only in internal assessments, not the board; and its topic (Programming Model and Instruction Set of 8085) appears in 100% of years.

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

    What are conditional and unconditional jump instructions?

    [5 marks]
    Programming Model and Instruction Set of 8085Very likelyfrom 2081 paper →

    Asked once (2081); so far only in internal assessments, not the board; and its topic (Programming Model and Instruction Set of 8085) appears in 100% of years.

  2. 2.

    Explain the rotate and shift instructions.

    [5 marks]
    Programming Model and Instruction Set of 8085Very likelyfrom 2081 paper →

    Asked once (2081); so far only in internal assessments, not the board; and its topic (Programming Model and Instruction Set of 8085) appears in 100% of years.

  3. 3.

    List the logical instructions of the 8086.

    [5 marks]
    Programming Model and Instruction Set of 8085Very likelyfrom 2080 paper →

    Asked once (2080); so far only in internal assessments, not the board; and its topic (Programming Model and Instruction Set of 8085) appears in 100% of years.

  4. 4.

    Write a short note on string instructions in 8086.

    [5 marks]
    Programming Model and Instruction Set of 8085Very likelyfrom 2080 paper →

    Asked once (2080); so far only in internal assessments, not the board; and its topic (Programming Model and Instruction Set of 8085) appears in 100% of years.

  5. 5.

    Explain the LOOP instruction.

    [5 marks]
    Programming Model and Instruction Set of 8085Very likelyfrom 2079 paper →

    Asked once (2079); so far only in internal assessments, not the board; and its topic (Programming Model and Instruction Set of 8085) appears in 100% of years.

  6. 6.

    Differentiate between CALL and JMP instructions.

    [5 marks]
    Programming Model and Instruction Set of 8085Very likelyfrom 2079 paper →

    Asked once (2079); so far only in internal assessments, not the board; and its topic (Programming Model and Instruction Set of 8085) appears in 100% of years.

  7. 7.

    Write a short note on the direct addressing mode.

    [5 marks]
    Programming Model and Instruction Set of 8085Very likelyfrom 2079 paper →

    Asked once (2079); so far only in internal assessments, not the board; and its topic (Programming Model and Instruction Set of 8085) appears in 100% of years.

  8. 8.

    What is the difference between a macro and a procedure?

    [5 marks]
    Programming Model and Instruction Set of 8085Very likelyfrom 2078 paper →

    Asked once (2078); so far only in internal assessments, not the board; and its topic (Programming Model and Instruction Set of 8085) appears in 100% of years.

  9. 9.

    Explain the use of the ASSUME directive.

    [5 marks]
    Programming Model and Instruction Set of 8085Very likelyfrom 2078 paper →

    Asked once (2078); so far only in internal assessments, not the board; and its topic (Programming Model and Instruction Set of 8085) 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
U3Programming Model and Instruction Set of 8085
135
U6Advanced Microprocessors
115
U5Interrupts and Interfacing
130
U2Microprocessor Architecture and Microcomputer System
95
U1Introduction
25
U4Stack, Subroutines and Code Conversion
25
#Syllabus unitProbabilityAppearedAvg marksSyllabus weightExam vs syllabusTrendQuestions
1U3Programming Model and Instruction Set of 8085Very likely100%19.327%12 lecture hrsBalancedexam 26% · syllabus 27%Steadynone repeat22 total
2U6Advanced MicroprocessorsVery likely100%16.49%4 lecture hrsOver-examinedexam 22% · syllabus 9%Steady1 recurring16 total
3U5Interrupts and InterfacingVery likely86%21.718%8 lecture hrsOver-examinedexam 25% · syllabus 18%Risingnone repeat19 total
4U2Microprocessor Architecture and Microcomputer SystemVery likely100%13.620%9 lecture hrsBalancedexam 18% · syllabus 20%Fading1 recurring16 total
5U1IntroductionLikely71%513%6 lecture hrsUnder-examinedexam 5% · syllabus 13%Steadynone repeat5 total
6U4Stack, Subroutines and Code ConversionPossible43%8.313%6 lecture hrsUnder-examinedexam 5% · syllabus 13%Steadynone repeat4 total

Study smart, not hard

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

U3Programming Model and Instruction Set of 8085
27% of lectures → 26% of marks
U6Advanced Microprocessors
9% of lectures → 22% of markshigh yield
U5Interrupts and Interfacing
18% of lectures → 25% of markshigh yield
U2Microprocessor Architecture and Microcomputer System
20% of lectures → 18% of marks
U1Introduction
13% of lectures → 5% of markslow yield
U4Stack, Subroutines and Code Conversion
13% of lectures → 5% of markslow yield

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