CS401 MIDTERM SOLVED MCQS By JUNAID-1.pdf

Verified academic study resource for CS401 (Computer Architecture & Assembly Language) under the Computer Science at Virtual University of Pakistan. This PDF document (Midterm Solved Past Paper & Revision File) covers Mid-Term Exam Scope (Lectures 1 to 22) spanning approximately 240 pages across 4 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
Midterm
Coverage
Mid-Term Exam Scope (Lectures 1 to 22)
Tags
MCQ, SOLVED, MIDTERM

Focus on core definitions and repeated MCQs from Lectures 1–22. Remember that scoring in the First Half builds your safety buffer toward the mandatory 20% Two-Half passing rule in CS401.

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)

Frequently asked questions

Where can I download CS401 MIDTERM SOLVED MCQS By JUNAID-1.pdf for free?

You can preview and download "CS401 MIDTERM SOLVED MCQS By JUNAID-1.pdf" (CS401 PDF, ~240 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs401-midterm-solved-mcqs-by-junaid-1-pdf-2) with 100% free high-speed downloads and zero registration requirements.

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

This document covers Mid-Term Exam Scope (Lectures 1 to 22) across 4 distinct lecture units (Lectures 1 to 6, Lectures 7 to 12, Lectures 13 to 18, Lectures 19 to 22), 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

    AL-JUNAID TECH INSTITUTE
                          CS401-ASSEMBLY LANGUAGE
                                (SOLVED MCQs)
                            FROM MIDTERM PAPERS
                               LECTURE (1-22)

BC190202640@vu.edu.pk     For More Visit: vulmshelp.com
Junaidfazal08@gmail.com
                                                          JUNAID MALIK
                                                          (0304-1659294)

 AL-JUNAID TECH INSTITUTE
Question No:1
The first instruction of “COM” file must be at offset:

► 0x0010

► 0x0100 (Page 19)
► 0x1000

► 0x0000

Question No:2
The execution of the instruction “mov word [ES : 0], 0x0741” will print character “A” on screen , background
color of the screen will be

► Black (Page 81)
► White

► Red

► Blue

Question No:3
The iAPX888 architecture consists of _______ register.

►12

►14

►16 (Page 15)
►18

Question No:3
The iAPX888 architecture consists of _______ register.

►12

►14

►16 (Page 15)
►18

 AL-JUNAID TECH INSTITUTE
Question No:5
One screen location corresponds to a

►Byte

►Word (Page 80)
►Double byte

     Double word

Question No:6
When an item is pushed on the decrementing stack, the top of the stack is

►First decremented and then element copied on to the stack (Page 68)
►First incremented and then element copied on to the stack

►Decremented after the element copied on to the stack

►Incremented after the element copied on to the stack

Question No:7
one Each screen location corresponds to a word, the lower byte of this word contains ____

►The character code (Page 81)
►The attribute byte

►The parameters

►The dimensions

Question No:8
if ax contains decimal -2 and BX contains decimal 2 then after the execution of instructions: CMP AX, BX ,JA
label

►Jump will be taken
►Zero flag will set

►ZF will contain value -4

►Jump will not be taken

Question No:9

 AL-JUNAID TECH INSTITUTE
If D is “35” is shift to left 2 bits the new value

► 35

►70

►140
►17

Question No:10
When two 16bit numbers are added the answer can be 17 bits long, this extra bit that won’t fit in the target
register is placed in the where it can be used and tested

►carry flag (Page 16)
►Parity Flag

►Auxiliary Carry

►Zero Flag

Question No: 11
Only instructions allow moving data from memory to memory.

► string (Page 29)
► word

► indirect

► stack

Question No:12
When a 16 bit number is divided by an 8 bit number, the quotient will be in

► AL (Page 85)
► AX

► AH

► DX

                                         AL-JUNAID INSTITUTE OF GROUP

Question No:13
one Which bit of the attributes byte represents the red component of background color ?

►3

 AL-JUNAID TECH INSTITUTE
►4

►5

► 6 (Page 81)
Question No:14
| 0 |--›| 1 | 1 | 0 | 1 | 0 | 0 | 0 | --›| C | is a example of ______

►Shl

►sar

►Shr (Page 52)
►Sal

Question No:15
allow changing specific processor behaviors and are used to play with it.

►Special Instructions (Page 14)
►Data Movement Instructions

►Program Control Instructions

►Arithmetic and Logic Instructions

Question No:16
8088 is a 16bit processor with its accumulator and all registers of __________.

►32 bits

►6 bits

                                        AL-JUNAID INSTITUTE OF GROUP

►16 bits (Page 14)
►64 bits

Question No:17
 decrements SP (the stack pointer) by two and then transfers a word from the source operand to the top of
stack

►PUSH (Page 71)
►POP

►CALL

 AL-JUNAID TECH INSTITUTE
►RET

Question No: 18
In instruction ADC the operands can be

 Two register only
 Two register and one memory location
 CF and two other operands (Page 57)
 ZF and two other operands

Question No:19
After the execution of instruction “RET”

 SP is incremented by 2 (Page 66)
 SP is decremented by 2
 SP is incremented by 1
 SP is decremented by 1

Question No: 20
The extended ASCII has

 64 characters
                    128 characters (Page 79) AL-JUNAID INSTITUTE OF GROUP
 256 characters
 502 characters

Question No:21
The second byte in the word designated for screen location holds

o The dimension of the screen

     Character position on the screen
             Character color on the screen (Page 81)
               ACSII code of the character

Question No: 22
REP will always o Incremented CX by 1

               Incremented CX by 2
             Decremented CX by 1 (Page 92)
               Decremented CX by 2

 Question No:23

 AL-JUNAID TECH INSTITUTE
The routine that executes in response to an INT instruction is called

             ISR (Page 103)
                IRS
                ISP
                IRT

Question No:24
In the instruction “CMP AX,BX” the contents of

                AX are changed
                BX are changed
                CX are changed
             Flag register are changed (Page 39)
Question No:25
All the addressing mechanisms iniAPX88 return a number called ______ address

     . o Effective (Page 33)
                faulty
                indirect
                direct

Question No:26
The execution of the instruction “mov word [ES: DI], 0x0720”

                will clear next character on screen (Page 82)
                 o will print “20” at top left of the screen
                will print “20” at top right of the screen
                will move DI at location 0720 on the screen

Question No: 27
“mov byte [num1],5” is _______ instruction.

             legal (Page 30)
                illegal
                stack based
                memory indirect

Question No:28
MOV instruction transfers a byte or word from which of the following source location.

                DS:DI

 AL-JUNAID TECH INSTITUTE
               ES:SI
               ES:DI
             DS:SI (Page 92)
Question No:29
If AX contains FFFFh, then after execution of instruction “SAL ax, 3”, the result will be

               -3
               +3

More CS401 files

All CS401 files · Midterm Prep 2026 · MCQs Bank