CS401 Quiz 2 Spring 2022-1.pdf

Verified academic study resource for CS401 (Computer Architecture & Assembly Language) under the Computer Science at Virtual University of Pakistan. This PDF document (Live Quiz Dumps & Solved Objective Bank) covers Quizzes & Objective Exam Scope spanning approximately 180 pages across 8 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
Quiz
Coverage
Quizzes & Objective Exam Scope

Quiz questions often repeat with modified parameter values in both Midterm and Final exams. Practice with our 45-second timed simulator to master exam pacing.

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)
  5. Object-Oriented Paradigms: Classes & Data Abstraction — Lectures 23 to 29 (Pages 281 to 360). 16% Final-Term Marks (Core OO Concepts)
  6. Inheritance Hierarchies & Dynamic Polymorphism — Lectures 30 to 36 (Pages 361 to 435). 20% Final-Term Marks (Virtual Functions & V-Tables)
  7. Templates, Standard Library & Persistent File I/O — Lectures 37 to 41 (Pages 436 to 510). 14% Final-Term Marks (Generic Code & Streams)
  8. Final-Term Examination Dossier & Capstone Synthesis — Lectures 42 to 45 (Pages 511 to 585). Final-Term Exam Synthesis (Lectures 23–45 Scope)

Frequently asked questions

Where can I download CS401 Quiz 2 Spring 2022-1.pdf for free?

You can preview and download "CS401 Quiz 2 Spring 2022-1.pdf" (CS401 PDF, ~180 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs401-quiz-2-spring-2022-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 Quizzes & Objective Exam Scope across 8 distinct lecture units (Lectures 1 to 6, Lectures 7 to 12, Lectures 13 to 18, Lectures 19 to 22, Lectures 23 to 29, Lectures 30 to 36, Lectures 37 to 41, Lectures 42 to 45), 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
                Vu Helping Hands
                     Made By
                      Zahid
1.   Stack is a data structure that behaves in a First in Last ……..
     manner.
     Out                        (Handsout searching Page 67)

2.   We can convert a digit into its ASCII representation by adding
     to it.
     0x30                            (Page 80)

3.             decrements SP (the stack pointer) by two and then
     transfers a word from the source operand to the top of stack?
Or           function decrements SP (the stack pointer) by two and
     then transfers a word from the source operand to the top of
     stack now pointed to by SP.
     Push                           (page 71)

4.   The      flag has a special role in debugging.
     trap                             (Page 17)

5.   iAPX88 stands for:
     Intel Advanced Processor Extensions 88           (Page 14)

6.   In         every bit moves one position to the right and the bit
     dropped from the right is inserted at the left. This bit is also
     copied into the carry flag.
     Rotate Right (ROR)              (Page 53)

7.   Which of the following registers hold the address of data in
     Intel Boss?

      BX, BP, SI and DI                      (page 30)

8.    Which of the following is the general form of addressing?
      Base + Index + Offset           (page 35)

9.    All mathematical and logical operations are performed on the:
      Accumulator                    (page 12)

10.   Which of the following register is used to hold the address of
      the next instruction to be executed?
      Program Counter                  (page 13)

11.   Which of the following is a program control instruction?
      jne 0534                        (page 14)

12.   The basic function of register is to hold---------.
      Oparands

13.   A 16-bit processor has an accumulator of:
      16 bit                         (Page 12)

14.   REPE and REPNE prefixes are only meaningful with------------.
      CMPS                       (page 93)

15.   Stack is a data structure that behaves in --------------manner.
      LIFO
      Note: Stack two manner pr behave krta hy first FILO or second LIFO.
      Handsout mai LIFO Nhi hy magr iss ka correct answer LIFO hy.

16.   Which of the following bit is dropped into the carry flag after
      the execution of “Shift Logical Right” operation?
      Right most bit                  (page 52)

17.   How logical errors are different from syntax error?

      Identifying syntax and logical errors it the responsibility of
      assembler and programmer respectively.

18.   In  operation, the output is 1 only if both inputs are 1.
      AND

19.   How jmp is different form jnz?
      jmp is an unconditional jump, however jnz is a conditional
      jump

20.   In Shift Logical Left (SHL), the        bit is dropped into the
      carry flag.
      most significant               (page 52)

21.   In STOS, the implied source operand always resides in ------.
      AL or AX                      (page 92)

22.   Which of the following is an illegal assembly instruction?
      mov [num1], [num2]               (page 30)

23.   sub sp, 2
      The above instruction is used to perform a         operation on
      stack.
      PUSH                           (page 75, 76)

24.   The maximum amount of memory accessible using 8085
      processor is    .
      64 KB                  (page 15)

25.   In direct addressing, the memory address given in the
      instruction is   :
      fixed                      (page 28)

26.   What makes CMP different from SUB?

      SUB is a destructive subtraction while CMP is a non-
      destructive subtraction. Both affect the flags.

27.   Which of the following are the basic bitwise logical operations?
      AND, OR, XOR, and NOT           (page 58)

28.   To convert the case of character, we add or subtract       from
      it its ASCII code
      0x20                            (page 80)

29.   When the RET instruction is executed, it recovers the value of
      the        from the stack.
      instruction pointer          (page 68)

30.   When the relative address stored with the instruction is in 16
      bits, the jump is called a     jump.
      Near                          (page 45)

31.   Registers are storage cells    .
      inside the processor               (page 11)

32.       subtracts one from the operand.
      DEC                          (page 55)

33.   STI stands for?
      Set the Interrupt flag

34.   RET instruction takes               arguments(s).
      0                                  (page 64)

35.   A symbol associated to a point in the program is called a  .
Or    A symbol associated to an instruction in the program is known
      as:
      Label                           (page 25)

36.   In 8088, there is a       stack.
      decrementing                       (page 68)

37.   CX register is mostly used as a        register.
      Counter                         (page 32)

38.   There are             byte(s) for each character on the screen.
      2                                 (page 87)

39.   Whenever an instruction needs a                memory     source,
      holds   the pointer to it.
      DS:SI                      (page 91)

40.   Keeping in view the downward compatible between the two
      systems, the codes written for the intel iAPX88 are  on
      the intel 386 processor.
      valid                           (page 14)

41.   In multiplication algorithm, We take the first digit of the
      multiplier and multiply it with the        .
      multiplicand                     (page 51)

42.   The ordering of a program’s instructions is ensured by the ----
      register.
      Program Counter               (page 13)

43.   When an element is pushed on the stack, SP is decremented by
      …………..
      two                          (page 68)

44.   In iAPX88,                 flag is specifically related to string
      instructions.
      direction                          (page 17)

More CS401 files

All CS401 files · Midterm Prep 2026 · MCQs Bank