CS401-Midterm Solved Mcqs With References By Moaaz.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 compiled by Moaaz Siddhu) 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
- Type
- Midterm
- Coverage
- Mid-Term Exam Scope (Lectures 1 to 22)
- Compiled by
- Moaaz Siddhu
- 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
- Core Architecture, Syntax & Primitive Data Structures — Lectures 1 to 6 (Pages 1 to 65). 15% Objective Marks (8–10 MCQs)
- Conditional Branching, Loops & Logical Control Flow — Lectures 7 to 12 (Pages 66 to 140). 18% Exam Marks (MCQs + 2-Mark Short Questions)
- Memory Management, Pointers, Arrays & Functions — Lectures 13 to 18 (Pages 141 to 215). 22% Exam Marks (High Yield for Midterms)
- 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 With References By Moaaz.pdf for free?
You can preview and download "CS401-Midterm Solved Mcqs With References By Moaaz.pdf" (CS401 PDF, ~240 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs401-midterm-solved-mcqs-with-references-by-moaaz-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
CS401 Assembly Language
Solved MCQS May 14,2011
From Midterm Papers
MC100401285 Moaaz.pk@gmail.com MC100401285@gmail.com PSMD01(IEMS)
MIDTERM FALL 2011
CS401 Assembly Language
Question No:1 ( Marks: 1 ) - Please choose one
The first instruction of “COM” file must be at offset:
► 0x0010
► 0x0100 (Page 19)
► 0x1000
► 0x0000
Question No:2 ( Marks: 1 ) - Please choose one
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 ( Marks: 1 ) - Please choose one
The iAPX888 architecture consists of _______ register.
►12
►14
►16 (Page 15)
►18
Question No:4 ( Marks: 1 ) - Please choose one
The execution of the instruction “mov word [ES: 0], 0x0741” will print “A” on the screen, color of the
character will be
►Black
►White (Page 81)
►Red
►Blue
Question No:5 ( Marks: 1 ) - Please choose one
One screen location corresponds to a
►Byte
►Word (Page 80)
►Double byte
Double word
Question No:6 ( Marks: 1 ) - Please choose one
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 ( Marks: 1 ) - Please choose 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 ( Marks: 1 ) - Please choose one
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 ( Marks: 1 ) - Please choose one
If D is “35” is shift to left 2 bits the new value
► 35
►70
►140
►17
Question No:10 ( Marks: 1 ) - Please choose one
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 ( Marks: 1 ) - Please choose one
Only instructions allow moving data from memory to memory.
► string (Page 29)
► word
► indirect
► stack
Question No:12 ( Marks: 1 ) - Please choose one
When a 16 bit number is divided by an 8 bit number, the quotient will be in
► AL (Page 85)
► AX
► AH
► DX
Question No:13 ( Marks: 1 ) - Please choose one
Which bit of the attributes byte represents the red component of background color ?
►3
►4
►5
►6 (Page 81)
Question No:14 ( Marks: 1 ) - Please choose one
| 0 |--›| 1 | 1 | 0 | 1 | 0 | 0 | 0 | --›| C | is a example of ______
►Shl
►sar
►Shr (Page 52)
►Sal
Question No:15 ( Marks: 1 ) - Please choose one
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 ( Marks: 1 ) - Please choose one
8088 is a 16bit processor with its accumulator and all registers of __________.
►32 bits
►6 bits
►16 bits (Page 14)
►64 bits
Question No:17 ( Marks: 1 ) - Please choose one
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
►RET
MIDTERM 2011
CS401 Assembly Language
1. In instruction ADC the operands can be
o Two register only
o Two register and one memory location
o CF and two other operands (Page 57)
o ZF and two other operands
2. After the execution of instruction “RET”
o SP is incremented by 2 (Page 66)
o SP is decremented by 2
o SP is incremented by 1
o SP is decremented by 1
3. The extended ASCII has
o 64 characters
o 128 characters (Page 79)
o 256 characters
o 502 characters
4. The second byte in the word designated for screen location holds
o The dimension of the screen
o Character position on the screen
o Character color on the screen (Page 81)
o ACSII code of the character
5. REP will always
o Incremented CX by 1
o Incremented CX by 2
o Decremented CX by 1 (Page 92)
o Decremented CX by 2
6. The routine that executes in response to an INT instruction is called
o ISR (Page 103)
o IRS
o ISP
o IRT
7. The iAPX888 architecture consists of _______ register.
o 12
o 14
o 16 (Page 15) Rep
o 18
8. In the instruction “CMP AX,BX” the contents of
o AX are changed
o BX are changed
o CX are changed
o Flag register are changed (Page 39)
9. All the addressing mechanisms iniAPX88 return a number called ______ address.
o Effective (Page 33)
o faulty
o indirect
o direct
10. The execution of the instruction “mov word [ES: DI], 0x0720”
o will clear next character on screen (Page 82)
o will print “20” at top left of the screen
o will print “20” at top right of the screen
o will move DI at location 0720 on the screen
11. “mov byte [num1],5” is _______ instruction.More CS401 files
- CS 401 MID TERM SOLVED PAPER.doc (DOC · Midterm)
- CS-401 MIDTERM SHORT NOTES BY ALMAS AFZAL.pdf (PDF · Midterm)
- CS401 MID TERM QUIZ.docx (DOC · Midterm)
- CS401 MIDTERM CURRENT PAPER.pdf (PDF · Midterm)
- CS401 MIDTERM FILE 1 SOLVED BY TEAM HADI.pdf (PDF · Midterm)
- CS401 MIDTERM FILE 2 SOLVED BY TEAM HADI.pdf (PDF · Midterm)
- CS401 MIDTERM FILE 2 SOLVED BY TEAM HADI.pdf (PDF · Midterm)
- CS401 MIDTERM FILE 3 SOLVED BY TEAM HADI.pdf (PDF · Midterm)