CS401 MCQs Collection BY SONU MUGHAL.pdf

Verified academic study resource for CS401 (Computer Architecture & Assembly Language) under the Computer Science at Virtual University of Pakistan. This PDF document (Mega Solved MCQs Question Bank) covers Full Course Curriculum spanning approximately 180 pages across 8 curriculum modules, and is indexed for student examination review with instant in-browser preview and 100% free direct download.

Course
CS401 – Computer Architecture & Assembly Language
Faculty
Computer Science
Format
PDF
Type
MCQ Bank
Coverage
Full Course Curriculum
Tags
MCQ

Cross-verify solutions against official lecture handouts. Practice active recall before checking answers to ensure true concept retention.

What this file covers — CS401 syllabus roadmap

  1. Core Architecture, Syntax & Primitive Data Structures — Lectures 1 to 6 (Pages 1 to 65). 15% Objective Marks (8–10 MCQs)
  2. Conditional Branching, Loops & Logical Control Flow — Lectures 7 to 12 (Pages 66 to 140). 18% Exam Marks (MCQs + 2-Mark Short Questions)
  3. Memory Management, Pointers, Arrays & Functions — Lectures 13 to 18 (Pages 141 to 215). 22% Exam Marks (High Yield for Midterms)
  4. Midterm Consolidation, Strings & Algorithm Synthesis — Lectures 19 to 22 (Pages 216 to 280). Midterm Exam Culmination (Lectures 1–22 Scope)
  5. Object-Oriented Paradigms: Classes & Data Abstraction — Lectures 23 to 29 (Pages 281 to 360). 16% Final-Term Marks (Core OO Concepts)
  6. Inheritance Hierarchies & Dynamic Polymorphism — Lectures 30 to 36 (Pages 361 to 435). 20% Final-Term Marks (Virtual Functions & V-Tables)
  7. Templates, Standard Library & Persistent File I/O — Lectures 37 to 41 (Pages 436 to 510). 14% Final-Term Marks (Generic Code & Streams)
  8. Final-Term Examination Dossier & Capstone Synthesis — Lectures 42 to 45 (Pages 511 to 585). Final-Term Exam Synthesis (Lectures 23–45 Scope)

Frequently asked questions

Where can I download CS401 MCQs Collection BY SONU MUGHAL.pdf for free?

You can preview and download "CS401 MCQs Collection BY SONU MUGHAL.pdf" (CS401 PDF, ~180 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs401-mcqs-collection-by-sonu-mughal-pdf) with 100% free high-speed downloads and zero registration requirements.

What syllabus chapters and lectures are covered in this CS401 file?

This document covers Full Course Curriculum across 8 distinct lecture units (Lectures 1 to 6, Lectures 7 to 12, Lectures 13 to 18, Lectures 19 to 22, Lectures 23 to 29, Lectures 30 to 36, Lectures 37 to 41, Lectures 42 to 45), featuring comprehensive definitions, solved objective questions, and examiner marking rubrics.

What is the passing criteria for CS401 under the VU 20% Two-Half Rule?

Under official Virtual University regulations, students must score at least 20% in the First Half (Quizzes, Assignments, GDBs, and Midterm combined) AND independently at least 20% in the Final-Term examination paper. Scoring under 20% in the final exam results in an automatic F grade regardless of earlier marks.

Are CS401 solved past papers and handouts verified for 2026 exams?

Yes. All CS401 materials on MIHORA VU—including Moaaz, Waqar Siddhu, and team archives—are reviewed against the current VU syllabus to help students prepare for 2026 Midterm, Final-Term, and online quiz examinations.

Inside this file

                    CS401 MCQs Collection BY SONU MUGHAL

            CS401- Computer Architecture and Assembly
                           Language

•1 argument

•1 argument

•3 arguments

•No arguments

   Question No: 2                     (M-1).

   In STOSB instruction SI is decremented or incremented by

   4

   1

   2

   3

   Question No: 3                     (M-1).

CMPS instruction subtracts the source location to the destination
location.
                   Destination location always lies in

DS:SI

DS:DI

ES:SI

ES:DI

Question No: 4 ( M - 1 ) .

Regarding assembler, which statement is true:

Assembler converts mnemonics to the corresponding OPCODE

Assembler converts OPCODE to the corresponding mnemonics.

Assembler executes the assembly code all at once

Assembler executes the assembly code step by step

Question No: 5                     (M-1).

Iof “BB” is the OPCODE of the instruction which states to “move a constant value to
AX register”, the hexadecimal representation (Using little Endian notation) of the
instruction “Mov AX,336” (“150” in hexadecimal number system) will be:

0xBB0150

0x5001BB

0x01BB50

0xBB5001

Question No: 6                      (M-1).

In the instruction MOV AX, 5 the number of operands are

1

2

3

4

Question No: 7                      (M-1).

The maximum parameters a subroutine can receive (with the help of registers) are

6

7

8

9

Question No: 8                      (M-1).

In assembly the CX register is used normally as a ______________register.

source

counter

index

pointer

Question No: 9                      (M-1).

All the addressing mechanisms in iAPX 8 8 return a number called _ _ _ _ _ _ _ _ _ _ _ _ _ address .

effective

faulty

indirect

direct

Question No: 10                         (M-1).

When a 16 bit number is divided by an 8 bit number, the dividend will be in

AX

BX

CX

DX

Question No: 11                         (M-1).

in Left-Shift-Operation the left most bit _______

will drop

will go into CF

Will come to the right most

will be always 1

Question No: 12                         (M-1).

Suppose the decimal number "35" after shifting its binary two bits to left, the new value
becomes _________

35

70

140

17

Question No: 13                        (M-1).

When divide overflow occurs processor will be interrupted this type of interrupt is called

Hardware interrupt

Software interrupt

Processor exception

Logical interrupts

Question No: 14                        (M-1).

Which mathematical operation is dominant during the execution of SCAS instruction

Division

Multiplication

Addition

Subtraction

Question No: 15                        (M-1).

After the execution of REP instruction CX will be decremented then which of the
following flags will be affected?

CF

OF

DF

No flags will be affected

Question No: 16                         (M-1).

_________ is one of the reasons due to which string instructions are used in 8088

Efficiency and accuracy

Reduction in code size and accuracy

Reduction in code size and speed

Reduction in code size and efficiency

Question No: 17                         (M-1)

Write any two control instructions.

Question No: 18                         (M-1)

RET instruction take how many arguments

Question No: 19                         (M-2)

Explain the fuction of rotate right (ROR) instruction

Question No: 20                         (M-2)

Describe the PUSH function

Question No: 21                         (M-3)

Write down the names of four segment registers?

Question No: 22                         (M-3)

For what purpose "INT 4" is reserved?

Question No: 23                         (M-5)

Given that [BX+0x0100]      BX=0x0100
Ds=0xFFF0
Calculate the physical address

Question No: 1      (M-1)      .

                                                                     Th
e physical address of the stack is obtained by
► SS:SP combination
    ► SS:SI combination

    ► SS:SP combination

    ► ES:BP combination

    ► ES:SP combination

Question No: 2     (M-1)     .
                                                                     Aft
er the execution of instruction “RET ”
    ► SP is incremented by 2
    ► SP is incremented by 2

    ► SP is decremented by 2

    ► SP is incremented by 1

    ► SP is decremented by 1

Question No: 3     (M-1)     .
                                                                     Th
e second byte in the word designated for one screen location holds
    ► Character color on the screen

    ► The dimensions of the screen

    ► Character position on the screen

    ► Character color on the screen

    ► ASCII code of the character

Question No: 4     (M-1)     .
                                             RE
P will always
  ► Decrement CX by 1
 ► Increment CX by 1

    ► Increment CX by 2

    ► Decrement CX by 1

    ► Decrement CX by 2

Question No: 5     (M-1)     .
                                             Th
e basic function of SCAS instruction is to

    ► Compare
► Compare

    ► Scan

    ► Sort

    ► Move data

Question No: 6     (M-1)     .
                                             Ind
ex registers are used to store __________
         ► Address
► Data
    ► Intermediate result

    ► Address
    ► Both data and addresses

Question No: 7     (M-1)      .
                                                                        Th
e bits of the _____________ work independently and individually
        ► flags register
► index register
    ► base register
    ► flags register
    ► accumulator

Question No: 8     (M-1)      .
                                                                        To
convert any digit to its ASCII representation

More CS401 files

All CS401 files · Midterm Prep 2026 · MCQs Bank