CS401 Midterm Latest Quizes 2023 BY Danish Hanif.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
- Type
- Midterm
- Coverage
- Mid-Term Exam Scope (Lectures 1 to 22)
- Tags
- 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 Latest Quizes 2023 BY Danish Hanif.pdf for free?
You can preview and download "CS401 Midterm Latest Quizes 2023 BY Danish Hanif.pdf" (CS401 PDF, ~240 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs401-midterm-latest-quizes-2023-by-danish-hanif-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
Paid Services Available 10/10 Marks Guarantee
WhatsApp Contact: 0323-1731413
CS401 Quiz File
6/7/2023 10:36:29 PM
1) Stack is:
Select the correct option
A. a procedure
B. a data structure
C. an algorithm
D. both algorithm and data structure
2) In XOR operation, the output is 1 if both inputs are _______________.
Select the correct option
A. true
B. false
C. same
D. different
3) If AX=00FF, then which of the following instruction can be used to change the value of AX to
FF00?
Select the correct option
A. XOR AX, AX
B. OR AX, AX
C. AND AX, FF00
D. NOT AX
4) There are _____ forms of the DIV instruction.
Select the correct option
A. Two
B. Three
C. One
D. Four
5) ___________ subtracts one from the operand.
Select the correct option
A. Shift
B. Modulus
C. MEC
D. DEC
6) ___________ decrements SP (the stack pointer) by two, and then transfers a word from the
source operand to the top of the stack.
Select the correct option
A. PUSH
B. RET
C. CALL
D. POP
7) The operand of ____________ is called the source operand because the data moves to the stack
from the operand.
Select the correct option
A. PUSH
B. POP
C. RET
D. CALL
8) XOR can also be used as a _______________ to invert selective bits.
Select the correct option
A. destination operand
B. masking operator
C. multiplication operator
D. source operand
9) To convert the case of a character, we add or subtract _______________ from its ASCII code.
Select the correct option
A. 0x10
B. 0x41
C. 0x20
D. 0x30
10) Which combination will you prefer to obtain the physical address of the stack?
Select the correct option
A. SP:SI
B. SS:SI
C. SP:DI
D. SS:SP
11) To convert the case of a character, we add or subtract _______________ from its ASCII code.
Select the correct option
A. 0x41
B. 0x20
C. 0x30
D. 0x10
12) Which of the following is the correct instruction for NOT operation?
Select the correct option
A. not word [var], ax
B. not byte [var], ax
C. not bx
D. not ax, bx
13) When an element is pushed on the stack, SP is decremented by ____________.
Select the correct option
A. two
B. five
C. three
D. four
14) The execution of the instruction "mov word [ES:160], 0x1230" will print a character on screen
at the ____________ column of the ____________ row.
Select the correct option
A. second, first
B. second, second
C. first, third
D. first, second
15) The multiplier is stored in _____ bits in Extended Multiplication.
Select the correct option
A. 32
B. 64
C. 16
D. 8
16) Call instruction takes ________ argument(s).
Select the correct option
A. 0
B. 2
C. 1
D. 3
17) REPNZ repeats the following instruction while the ________.
Select the correct option
A. ZF is not set
B. ZF is set
C. Direction Flag is set
D. Direction Flag is not set
18) The operand of ____________ is called the source operand because the data moves to the stack
from the operand.
Select the correct option
A. POP
B. PUSH
C. CALL
D. RET
19) Which of the following are the two variants of STOS instruction?
Select the correct option
A. STOS and STOSES
B. STOS1 and STOS2
C. STOSA and STOSB
D. STOSB and STOSW
20) The instruction for permanent diversion in Intel 8088 is ____________.
Select the correct option
A. call
B. mov
C. ret
D. jmp
In a video memory, each screen location corresponds to ___________ byte(s).
Select the correct option
A. eight
B. two
C. one
D. four
21) Which of the following is the number of operands for ADC (Add with Carry) instruction?
Select the correct option
A. 4
B. 3
C. 2
D. 1
22) Which bit of the attribute byte represents the blue component of foreground color?
Select the correct option
A. 2
B. 0
C. 3
D. 1
23) The total number of symbols in extended ASCII are _______________.
Select the correct option
A. 256
B. 64
C. 512
D. 128
24) Call instruction changes the values of __________ and __________ registers.
Select the correct option
A. IP, AL
B. IP, AX
C. IP, DX
D. IP, SP
25) The unit of stack operations in iAPX88 is a ______________.
Select the correct option
A. bit
B. word
C. double word
D. byte
26) SCAS compares a source in accumulator register with the _____________ string element
addressed by ES:DI and updates the flags.
Select the correct option
A. destination
B. source
C. flags
D. register
27) Which of the following will be the result of left shifting 9C40 once?
Select the correct option
A. 3881
B. 1388
C. 3880
D. 3882
28) ASCII stands for_______.
Select the correct option
A. American Standard Code for Information Interchange
B. American Standard Communication for Integer Interchange
C. American Standard Code for Information Interaction
D. American Scientific Communication for Integer Interaction
29) In 8051, there is an _______________ stack.
Select the correct option
A. semi-automatic
B. incrementing
C. decrementing
D. stagnant
30) Which of the following formulae calculates the desired location on the screen?
Select the correct option
A. location = ( colmunno * 80 + rowno ) * 2,
B. location = ( rowno * 80 + columnno ) * 2,
C. location = ( rowno * 80 + columnno ) * 6,
D. location = ( rowno * 80 + columnno ) * 8
31) REPE or REPNE are used with the _____________ instruction.
Select the correct option
A. MOVS
B. CALL
C. SCAS
D. ADD
Question # 4 of 10 ( Start time: 10:54:52 PM, 07 June 2023 ) Total Marks: 1
32) Stack is a data structure that behaves in ____________ manner.
Select the correct option
A. FIFO
B. LIFO
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)