CS401 Midterm Solved McQs Papers By Waqar Sidhu-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 compiled by Waqar 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
- Waqar 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 Papers By Waqar Sidhu-1.pdf for free?
You can preview and download "CS401 Midterm Solved McQs Papers By Waqar Sidhu-1.pdf" (CS401 PDF, ~240 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs401-midterm-solved-mcqs-papers-by-waqar-sidhu-1-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 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
For More Visit VUStudents.pk
CS401 Midterm Solved McQs Papers By Waqar Sidhu
(File 1)
Question No 1
In instruction ADC the operands can be
Select Correct Option
✓ Two registers only
✓ Two register and one memory location
✓ CF and two other operands………(For More Visit VUStudents.pk)
✓ ZF and two other operands
Question NO 2
The attribute byte has
Select Correct Option
✓ 32 possible background colors
✓ 16 possible background colors
✓ 8 possible background colors………(For More Visit VUStudents.pk)
✓ 4 possible background colors
Question NO 3
Memory cell width refers to _________.
Select Correct Option
✓ Number of bits in a cell………(For More Visit VUStudents.pk)
✓ The maximum value that can be stored in a cell including sign-bit
✓ The maximum value that can be stored in a cell excluding sign-bit
✓ Address of that cell
Question NO 4
Which of the following is true about Interrupt Flag
Select Correct Option
✓ It tells whether processor can be interrupted from outside or not
✓ It tells whether processor has interrupted or not
✓ It is cleared when an interrupt occurs from outside
✓ It is set when processor wants to generate an interrupt
Question NO 5
When the operand of DIV instruction is of 16 bits then implied dividend will be of
Select Correct Option
✓ 8 bits
✓ 16 bits
✓ 32 bits
✓ 64 bits
For More Visit VUStudents.pk
For More Visit VUStudents.pk
Question NO 6
If AX=5, BX=5, CF and ZF are set, AF and DX contains zero then after the execution of
instruction “ADC AX, BX” , AX will contain the value:
Select Correct Option
✓ 5
✓ 10
✓ 11………(For More Visit VUStudents.pk)
✓ 12
Question NO 7
MS DOC used _______ display mode.
Select Correct Option
✓ Character based………(For More Visit VUStudents.pk)
✓ Graphics based
✓ Numeric bases
✓ Console based
Question NO 8
Each screen location corresponds to a word, the lower byte of this word contains ______.
Select Correct Option
✓ The character code………(For More Visit VUStudents.pk)
✓ The attribute code
✓ The parameters
✓ The dimensions
Question NO 9
Which of the following options contain the set of instructions to open a window to the video
memory?
Select Correct Option
✓ mov AX, 0xb008
mov ES, AX
✓ mov AX, oxb800………(For More Visit VUStudents.pk)
mov ES, AX
✓ mov AX, ox8b00
mov ES, AX
✓ mov AX, ox800b
mov ES,AX
For More Visit VUStudents.pk
For More Visit VUStudents.pk
Question NO 10
Is STOSW instruction, SI is decremented or incremented by
Select Correct Option
✓ 1
✓ 2………(For More Visit VUStudents.pk)
✓ 3
✓ 4
Question NO 11
8088 processor divides interrupts into _______ classes.
Select Correct Option
✓ 2………(For More Visit VUStudents.pk)
✓ 3
✓ 4
✓ 5
Question NO 12
MOVS instruction transfers a byte or word from which of the following source locations.
Select Correct Option
✓ ES:DI
✓ DS:DO
✓ ES:SI
✓ DS:SI………(For More Visit VUStudents.pk)
Question NO 13
Which of the following is the pair of register used to access memory in string instruction?
Select Correct Option
✓ DI and BP
✓ DI and SI
✓ SI and BP
✓ DS and SI………(For More Visit VUStudents.pk)
Question NO 14
When the instruction “CMP AX,BX” executes and after execution ZF is set, it indicated that
Select Correct Option
✓ BX is greater
✓ Both AX and BX are equal………(For More Visit VUStudents.pk)
✓ ZF has no relation with CMP
✓ AX is greater
For More Visit VUStudents.pk
For More Visit VUStudents.pk
Question NO 15
Which Register(s) is/are changer during execution of the CALL instruction?
Select Correct Option
✓ IP only
✓ IP and SP only………(For More Visit VUStudents.pk)
✓ SP only
✓ BP and IP only
Question NO 16
Which of the following is an illegal instruction?
Select Correct Option
✓ PUSH AX
✓ PUSH BX
✓ PUSH DL………(For More Visit VUStudents.pk)
✓ PUSH DX
Question NO 17
Relating to the stack in 8088 architecture which of the following statement is true?
Select Correct Option
✓ Single word can not be pushed on the stack………(For More Visit VUStudents.pk)
✓ Single word can not be propped from the stack
✓ Single byte can not be propped from the stack
✓ Single quad can be popped from the stack
Question NO 18
ASCII Stands for ________.
Select Correct Option
✓ American Standard Code for Information Interchange
✓ American Scientific Code for International Interchange
✓ American Standard Code for Intelligence Interchange
✓ American Scientific Code for Information Interchange
Question NO 19
In assembly the CX register is used normally as ________ register.
Select Correct Option
✓ Source
✓ Counter………(For More Visit VUStudents.pk)
✓ Index
✓ Pointer
For More Visit VUStudents.pk
For More Visit VUStudents.pk
Question NO 20
How many characters were defined by standard ASCII?
Select Correct Option
✓ 64
✓ 128………(For More Visit VUStudents.pk)
✓ 256
✓ 512
(File 2)
Question No 1
The assembly instruction to put the value of AX on the stack is
Select Correct Option
✓ PUSH AX………(For More Visit VUStudents.pk)
✓ Mov Stack, AX
✓ ADD AX
✓ SEND AX
Question NO 2
Which bit of the attributes byte represents the red component of foreground color
Select Correct Option
✓ 5
✓ 4
✓ 3
✓ 2………(For More Visit VUStudents.pk)
Question NO 3
The clear screen operation initializes whole block of video memory to
Select Correct OptionMore 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)