cs401-MID-solved-MCQS-2012.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
PDF
Type
MCQ Bank
Coverage
Mid-Term Exam Scope (Lectures 1 to 22)
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

  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)

Frequently asked questions

Where can I download cs401-MID-solved-MCQS-2012.pdf for free?

You can preview and download "cs401-MID-solved-MCQS-2012.pdf" (CS401 PDF, ~240 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs401-mid-solved-mcqs-2012-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

                                            www.vuplanet.com

Follow us on facebook www.facebook.com/Vuplanet

                                     MIDTERM EXAMINATION

                                               Spring 2010

        CS401- Computer Architecture and Assembly Language Programming (Session - 2)

Question No: 1 ( Marks: 1 )       - Please choose one

                                                                                       The
physical address of the stack is obtained by

► SS:SP combination

           ► SS:SI combination

           ► SS:SP combination

           ► ES:BP combination

           ► ES:SP combination

Question No: 2 ( Marks: 1 )       - Please choose one

After the execution of instruction “RET ”

    ► SP is incremented by 2

    ► SP is incremented by 2

    ► SP is decremented by 2

1
                                            www.vuplanet.com

                                          www.vuplanet.com

    ► SP is incremented by 1

    ► SP is decremented by 1

Question No: 3 ( Marks: 1 )      - Please choose one

                                                                   The
second byte in the word designated for one screen location holds

         ► Character color on the screen

         ► The dimensions of the screen

         ► Character position on the screen

         ► Character color on the screen

         ► ASCII code of the character

Question No: 4 ( Marks: 1 )      - Please choose one

                                                                   REP
will always

        ► Decrement CX by 1

       ► Increment CX by 1

          ► Increment CX by 2

          ► Decrement CX by 1

2
                                          www.vuplanet.com

                                           www.vuplanet.com

          ► Decrement CX by 2

Question No: 5 ( Marks: 1 )      - Please choose one

                                                              The
basic function of SCAS instruction is to

          ► Compare

      ► Compare

          ► Scan

          ► Sort

          ► Move data

Question No: 6 ( Marks: 1 )      - Please choose one

Index registers are used to store __________

►Address

►Data

►Intermediate result

►Address

►Both data and addresses

Question No: 7 ( Marks: 1 )      - Please choose one

3
                                           www.vuplanet.com

                                             www.vuplanet.com

                                                                         The
bits of the _____________ work independently and individually

►flags register

►index register

►base register

►flags register

►accumulator

Question No: 8 ( Marks: 1 )       - Please choose one

                                                                         To
convert any digit to its ASCII representation

            ► Add 0x30 in the digit

      ► Add 0x30 in the digit

            ► Subtract 0x30 from the digit

            ► Add 0x61 in the digit

            ► Subtract 0x61 from the digit

Question No: 9 ( Marks: 1 )       - Please choose one

When a 32 bit number is divided by a 16 bit number, the quotient is of

        ► 4 bits

► 32 bits

    ► 16 bits

4
                                             www.vuplanet.com

                                          www.vuplanet.com

    ► 8 bits

    ► 4 bits

Question No: 10 ( Marks: 1 )      - Please choose one

When a 16 bit number is divided by an 8 bit number, the quotient will be in

► AL

    ► AX

    ► AL

    ► AH

    ► DX

Question No: 11 ( Marks: 1 )      - Please choose one

Which mathematical operation is dominant during the execution of SCAS instruction

          ► Division

          ► Division

          ► Multiplication

          ► Addition

          ► Subtraction

Question No: 12 ( Marks: 1 )      - Please choose one

                                                                                             If
AX contains decimal -2 and BX contains decimal 2 then after the execution of instructions:

5
                                          www.vuplanet.com

                                             www.vuplanet.com

CMP AX, BX

JA label

             ► Zero flag will set

     ► Jump will be taken

           ► Zero flag will set

           ► ZF will contain value -4

           ► Jump will not be taken

Question No: 13 ( Marks: 1 )          - Please choose one

                                                                                                     The
execution of the instruction “mov word [ES : 160], 0x1230” will print a character “0” on the screen at

           ► First column of second row

        ► Second column of first row

            ► First column of second row

            ► Second column of second row

            ► First column of third row

Question No: 14 ( Marks: 1 )          - Please choose one

                                                                                                    If
the direction of the processing of a string is from higher addresses towards lower addresses then

► DF is cleared

    ► ZF is cleared

6
                                             www.vuplanet.com

                                          www.vuplanet.com

    ► DF is cleared

    ► ZF is set

    ► DF is set

Question No: 15 ( Marks: 1 )      - Please choose one

                                                                                      The
instruction ADC has________ Operand(s)

    ►3

    ►0

    ►1

    ►2

    ►3

Question No: 16 ( Marks: 1 )      - Please choose one

Which bit of the attributes byte represents the red component of background color ?

    ►3

    ►3

    ►4

    ►5

    ►6

7
                                          www.vuplanet.com

                                            www.vuplanet.com

Question No: 17 ( Marks: 2 )

More CS401 files

All CS401 files · Midterm Prep 2026 · MCQs Bank