CS401 Midterm Quiz File 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 Quiz File By Danish Hanif.pdf for free?
You can preview and download "CS401 Midterm Quiz File By Danish Hanif.pdf" (CS401 PDF, ~240 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs401-midterm-quiz-file-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
CS401 Quiz File
االسلمومکیلع!
ادیمرکاتوہںہکآپبسریختیےسوہںےگاکیفدونںیکتنحمےکدعبادمحلہلل
وروچلئویوینریٹسےکڈمرٹمااحتمنےکےیلافزلئایتررکیلںیہادیمرکاتوہںےکآپ
بسوٹسڈسٹنےکااحتمانتںیمتہبافدئہدنموہںیگ۔افزلئںیمیسکمسقیکئو ییھ
یطلغوہیئگوہوتاسےکےیلذعمرتوخاہںیہااشنءاہللذمدیتنحمےسانافزلئئورتہبانبںیئ
ےگ-آپبسوٹسڈسٹنےسزگارشےہہکامہرےویویٹبلنیچاورویبساٹیئئوافول
رکںیل-
لمکمرپیپزآوکپریمیویبساٹیئہپںیلمےگکنلےچیندایایگےہ-
Here is Website Link: https://hbdanish.me/
Here is YouTube Channel Link:
https://www.youtube.com/@Danish_Khagga
ئنم
ارگآپولگاانپ الی-امی-اسیڈنیہلرکوااناچےتہںیہایااس نبسئوزئزرکوااناچےتہ
ںیہوتاسربمنہپواسٹاپیرکںی-
📱+923231731413
https://wa.me/message/7GG2TH2MZV3OL1
STI stands for?
a) Set Instruction
b) Set Interrupt
c) Standard Timer Interrupt
d) Set the Interrupt flag
Answer: b) Set Interrupt
As a result of base+offset addressing, the address that is generated is called a (an)
_____________ address.
a) Net address
b) Effective address
c) Elective address
d) Additive address
Answer: b) Effective address
Question 3: Which of the following keywords is used to define two bytes in memory?
a) DB
b) DN
c) DD
d) DW
Answer: c) DD
Question 4: SP is associated (by default) with __________ register.
a) ES
b) SS
c) CS
d) DS
Answer: b) SS
Question 5: Which of the following instruction is equivalent to multiplying the value of
AX by 8?
a) SHL AX, 8
b) MUL AX, 3
c) SAL AX, 8
d) SHL AX, 3
Answer: a) SHL AX, 8
Question 6: ___________ cannot appear as an operand in any instruction. It is used for
accessing instructions.
a) AH
b) BH
c) SS
d) IP
Answer: d) IP
Question 7: In case of a 32-bit processor, the size of an accumulator register will be
___________ bits.
a) 32
b) 16
c) 8
d) 64
Answer: a) 32
Question 8: In Shift logical Left (SHL), the ______________ bit is dropped into the carry
flag.
a) Most significant
b) Second least significant
c) Third least significant
d) Least significant
Answer: a) Most significant
Question 9: Registers are storage cells ________________________.
a) Inside the processor
b) Both inside and outside the processor
c) Outside the processor
d) Inside the memory
Answer: a) Inside the processor
Question 10: In ____________________, every bit moves one position to the right, and the
bit dropped from the right is inserted at the left. The dropped bit is also copied into the
carry flag.
a) Rotate through Carry Right (RCR)
b) Rotate through Carry Left (RCL)
c) Rotate Left (ROL)
d) Rotate Right (ROR)
Answer: d) Rotate Right (ROR)
Question #1: Which of the following is the number of operands for ADC (Add with
Carry) instruction?
A) 3
B) 2
C) 1
D) 4
Correct Answer: B) 2
Question #2: XOR can also be used as a _______________ to invert selective bits.
A) masking operator
B) multiplication operator
C) source operand
D) destination operand
Correct Answer: A) masking operator
Question #3: Execution of CALL instruction affects ________ number of bits in the Flags
register.
A) 0
B) 3
C) 5
D) 1
Correct Answer: B) 3
Question #4: Stack is a data structure that behaves in a First In Last _______ manner.
A) Out
B) Add
C) In
D) Push
Correct Answer: C) In
Question #5: We can convert a digit into its ASCII representation by adding ____________
to it.
A) 0x30
B) 0x05
C) 0x20
D) 0x10
Correct Answer: A) 0x30
Question #6: An important role of the stack is in the creation of _______ variables that are
only needed while the subroutine is in execution and not afterwards.
A) Global
B) Public
C) Private
D) Local
Correct Answer: D) Local
Question #7: __________ can be used to check whether particular bits of a number are set
or not.
A) OR
B) AND
C) NOT
D) XOR
Correct Answer: B) AND
Question #8: Which of the following instructions is used for non-destructive AND
operation?
A) CMP
B) TEST
C) ADC
D) NAND
Correct Answer: B) TEST
Question #9: In assembly language, integer division results in __________ quotient and
_________ remainder.
A) floating point, floating point
B) floating point, integer
C) integer, floating point
D) integer, integer
Correct Answer: D) integer, integer
Question #10: Call instruction changes the values of __________ and __________ registers.
A) IP, SP
B) IP, DX
C) IP, AX
D) IP, AL
Correct Answer: A) IP, SP
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)