CS401 Current Paper By Qalb-e-Momin .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
CURRENT

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 Current Paper By Qalb-e-Momin .pdf for free?

You can preview and download "CS401 Current Paper By Qalb-e-Momin .pdf" (CS401 PDF, ~180 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs401-current-paper-by-qalb-e-momin-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

                              Current Paper
                      FINALTERM EXAMINATION
                                Fall 2022
    CS401 - Computer Architecture and Assembly Language programming

                                                                            Time: 90 min
                                                                               Marks: 60

Question No: 1      (Marks: 01) - Please choose the correct option

1. The thread registration code initializes the PCB and adds it to the linked list so
that the __________ will give it a turn.
   Assembler
   Scheduler (Page 141)
   linked
   Debugger

2. VESA VBE 2.0 is a standard for
   High resolution Mode (Page 180)
   Low resolution Mode
   Medium resolution Mode
   Very High Resolution Mode

3. The physical address of IDT (Interrupt Descriptor Table) is stored in _______
   GDTR
   IDTR (Page 182)
   IVT
   IDTT

4. Which of the following pins of a parallel port connector are grounded?
   10-18
   18-25 (Page 125)
   25-32
   32-39

// extra
        pin 2 to pin 9: takes data from the processor
        Pin 10: ACK pin, used by printer
        pin 18 -25: are ground

5. In 68K processors there is a ........................ program counter (PC) that holds
the address of currently executing Instruction.
   8bit
   16bit
   32bit (Page 191)
   64bit

6. INT 21 service......... is used to read character from standard input with echo.
It returns the result in AL Register.

  ► 01H
  ► 04H
  ► 03H
  ► 02H

7. Motorola 68K processors have....................... 23bit general purpose registers.
   ►4
   ►8
   ► 16 (Page 183)
   ► 32

8. Value of AH in the write Graphics pixel service is
   ► 0Ch (Page 144)
   ► 0Bh
   ► 1Ch
   ► 2Ch

// extra yaad krny ky lya….maybe ap ko is ma sy koi puch lain
INT 13 - DISK - RESET DISK SYSTEM
AH = 00h                        Page # 148(Topic: Storage Access By Using BIOS)

INT 13 - DISK - READ SECTOR(S) INTO MEMORY
AH = 02h

INT 13 - DISK - WRITE DISK SECTOR(S)
AH = 03h

INT 13 - DISK - GET DRIVE PARAMETERS
AH = 08h

INT 13 - INT 13 Extensions - EXTENDED READ
AH = 42h

INT 13 - INT 13 Extensions - EXTENDED WRITE
AH = 43h

INT 21 - READ CHARACTER FROM STANDARD INPUT, WITH ECHO
AH = 01h

INT 21 - WRITE STRING TO STANDARD OUTPUT
AH = 09h

INT 21 - BUFFERED INPUT
AH = 0Ah

INT 10 - VIDEO - WRITE GRAPHICS PIXEL
AH = 0Ch

INT 10 - VIDEO - GET FONT INFORMATION
AH = 1130h

INT 10 - TEXT-MODE CHARGEN

AH = 1110h

INT 10 - VIDEO - SET VIDEO MODE
AH = 00h

---> Some common video modes include 40x25 text mode (mode 0), 80x25
text mode (mode 2), 80x50 text mode (mode 3), and 320x200 graphics mode
(mode D).

INT 10 - VIDEO - SET TEXT-MODE CURSOR SHAPE
AH = 01Ah

INT 10 - VIDEO - SET CURSOR POSITION
AH = 02Ah

INT 10 - VIDEO - SCROLL UP WINDOW                     (ya bhi aya tha mujhy)
AH = 06Ah

INT 10 - VIDEO - SCROLL DOWN WINDOW
AH = 07Ah

INT 10 - VIDEO - WRITE CHARACTER AND ATTRIBUTE AT CURSOR POSITION
AH = 09Ah

INT 10 - VIDEO - WRITE CHARACTER ONLY AT CURSOR POSITION
AH = 0Ah

INT 10 - VIDEO - WRITE STRING
AH = 13h

9. A standard floppy disk has 80 tracks and 18 sectors per track with two heads,
one on each side totallying to 2880 sectors or 1440 KB of data. Each sector
holds …… bytes of data.
    ► 512 (Page 144)
   ► 1024
   ► 2068
   ► 128

10. In DOS input buffer format, …….. holds the number of characters actually
read on return.
    ►first byte
   ► second byte
   ► third byte
   ► forth byte

// extra to learn

DOS input buffer format:
first byte:
        stores maximum characters buffer can hold.
second byte:
        Holds number of characters actually read on return.

11. 16-bit color using EDOR (Extended Display Output Representation) bits is:

►5:5:5

► 5:6:5

► 6:5:6

► 5:5:6

12. INT 10 -VIDEO -SCROOL UP WINDOW ....
Audio
Video                   INT 10h is the BIOS interrupt for video services.
Graphic
Numeric

13. Interrupt for breakpoint (used in debugging) is:

INT13

INT 10

INT 21

INT 11

Extra:

· INT 13 – Disk services

· INT 10 – Video services

· INT 21 – DOS services

· INT 11 – Equipment list

14. In STOSB instruction, when DF is clear, SI is
   ► Incremented by 1 (Page 92)
   ► Incremented by 2

  ► Decremented by 1
  ► Decremented by 2

15. After the execution of STOSW the CX will be
   ► Decremented by 1 (Page 92)
   ► Decremented by 2
   ► Incremented by 1
   ► Incremented by 2

16. In 8088, the physical memory address for Interrupt Vector Table is fixed and
the
table occupies exactly of memory.
a. 1 KB
b. 1 MB
c. 64 KB
d. 4 Bytes

 Reference: CS401 Final Term Solved MCQs By JUNAID
https://drive.​google.​com/drive/folders/1AI-q2SHPMjjZeMyDkivYCddUuBD-
q3uq?usp=sharing
                                                 ^
is file ma sy ay thy kuch baki concept clear kry… |

 Playlist dakhny sy phly ya dakhy : https://www.youtube.com/live/ji1-
    _sK7SpI?si=oOj118pqbX2SfBCv

    Youtube Playlist (Lecture No. 7 to 17): https://youtu.be/20VkJ-V-
    OnE?si=njABtIhFEenMB_-M

Follow my Channel for BOOST your Final-Term Exam:
https://whatsapp.com/channel/0029Vb6WUs0KwqSLZB7ERj1n
               Solved by Qalb-e-Momin
              For Paid Service You can contact us directly.
                    Reliable & Fast help guaranteed.
                           03174545120

[Next, provide 06 questions each of Marks 03]

Question No: 41    (Marks: 03)

    What will happen when we execute the following instruction?
              MOV DX, MSG
              MOV AH, 9
              INT 0X21

Answer
It will display the string pointed to by MSG on the screen, ending at the first
$ character.

Question No: 42      (Marks: 03)

   What Assembly code for writing “0xAAA” on the parallel port ?

Answer

To write 0xAAA to the parallel port (typically LPT1 at I/O address 0x378), we need
to break the value into 8-bit parts since the parallel port is byte-oriented (8-bit).

But note: 0xAAA is a 16-bit value, and the standard parallel port data register accepts
only 8 bits at a time.

Question No: 43      (Marks: 03)

More CS401 files

All CS401 files · Midterm Prep 2026 · MCQs Bank