cs609-midterm-quiz-questions-and-ans.docx
Verified academic study resource for CS609 (System Programming) under the Computer Science at Virtual University of Pakistan. This DOC 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
- CS609 – System Programming
- Faculty
- Computer Science
- Format
- DOC
- 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 CS609.
What this file covers — CS609 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 cs609-midterm-quiz-questions-and-ans.docx for free?
You can preview and download "cs609-midterm-quiz-questions-and-ans.docx" (CS609 DOC, ~240 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs609-midterm-quiz-questions-and-ans-docx-2) with 100% free high-speed downloads and zero registration requirements.
What syllabus chapters and lectures are covered in this CS609 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 CS609 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 CS609 solved past papers and handouts verified for 2026 exams?
Yes. All CS609 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
CS609 Quiz Questions
Select correct Top down approach sequence of layered approach followed for system programming.
Hardware -> Bios -> DOS
DOS -> Bios -> Hardware
Bios -> DOS -> Hardware
Systems programming is the study of techniques that facilitates the acquisition of ______ from input devices.
Data
Information
Power
Control
There are differences in mechanism of invocation of interrupt and event driven procedures
Yes
No
Maximum numbers of interrupts that are registered in IVT are;
FF
EF
BF
AE
In interrupt vector table, if we are at address 0000:03FBH, this represent interrupt number;
FE
EF
EE
FF
Each Entry in Interrupt Vector Table (IVT) is sized _______ .
4 bytes
4 KB
8 bytes
1024 bytes
Parameters in interrupts are passed through _________ .
Stack
Registers
Array
None of the given options
If we are at address F000:0000H, then we are supposed to invoke interrupt(s) for;
BIOS
COM4
LPT3
LPT1
What is output of the following program;
#include<DOS.H>
union REGS regs;
void main (void )
{
regs.h.al = 0x99;
regs.h.ah = 0x00;
printf ("%x",regs.x.ax);
}
00
99
0099
9900
Int86() has ________ parameters.
0
1
2
3
Getting interrupt vector refers to the operation which is used to read the _________ address stored with in vector.
Far
Near
High
None of the given options
To change the behavior of an interrupt, we have to use function;
Changevect()
Keep()
Setvect()
Getvect()
keep() has ___________ parameters while exit() has ___________.
0, 2
1, 2
2, 0
2, 1
Interrupt number 8 is invoked by ____________.
DOS
BIOS
Hardware
None of the given
In text mode, screen has limit to print ________ alphabets shown on screen simultaneously.
1500
1800
2000
2200
The registers Flags, __________ are pushed on execution of INT instruction and executions branches to the interrupt procedure
CS and IP
CS and SP
IP and DS
DS and SP
To access disk interrupt ______ and its service _______ are used
13H , 3H
13H, 12H
09H , 3H
12H , 3H
The address of partition block on hard disk is ___________________________.
head # =1, track# = 0 and sector # = 1
head # =0, track# = 0 and sector # = 0
head # =1, track# = 1 and sector # = 1
head # =0, track# = 0 and sector # = 1
The service _______ is called the keyboard hook service
15H/4FH
15H/4EH
16H/4AH
15H/4FFH
Which of the following register is used, if you want to block access of any Hardware.
ISR
IMR
IRR
None of the given
NMI (Non maskable Interrupt) is used by ______ .
ALU circuitry which performs division
COM ports
LPT ports
Keyboard and timer
Total No. of bytes that can be stored in Keyboard Buffer is____.
16
32
64
128
if the following function,
keep(1, 1000);
is called in the TSR program, it means that ________ No. of bytes are reserved in the memory.
8000
16000
32000
64000
The ______ service # is not used in any interrupt.
01
02
03
FF
Keyboard buffer is of ____ bytes.
16
32
64
128
In counter register bit no. 3 changes its value between 0 and 1 with in ____clock cycles
1
2
4
16
In keyboard status byte bit no. 2 and 3 are used for ctrl and alt keys respectively which of the following condition is used to check that Ctrl + Alt keys are pressed.
Where:
unsigned char far * scr = (unsigned char far *)(0x00400017);
if (((*scr)&12)==12)
if (((*scr)&8)==8)
if (((*scr)&4)==4)
if (((*scr)&2)==2)
If we want to produce the shrill voice from the speaker phone then we have to load the ___ divisor value at Port ___.
high, 0x42
low, 0x42
high, 0x22
low, 0x22
If we want to send printing on the printer then we have to perform following steps.
Initialize printer
Read Status
Check Error
All of the given
If printer is _____ then printer sends back the ACK signal to the printer interface
Idle
Busy
Out of the paper
None of the given
At IRQ 7 Interrupt # ___ is used.
0X0A
0X0B
0X0C
0X0F
We have set the bit No. 7 of IMR(Interrupt Mask Register) to unmask the Interrupt so that interrupt _____ can occur at ____ line.
0xf ,IRQ 7
0xa, IRQ 6
0x8, IRQ 5
0x6, IRQ 2
In order to produce the sound from PC internal Speaker we have to load the___bit divisor value at the ___port.
8, 0x21
16, 0x42
32, 0x22
64, 0x32
More CS609 files
- CS609 - Midterm Solved Mcqs with references by Moaaz.pdf (PDF · Midterm)
- CS609 - Midterm Solved subjective with references by Moaaz-1 (PDF · Midterm)
- CS609 - Midterm Solved subjective with references by Moaaz.p (PDF · Midterm)
- CS609 CURRENT MIDTERM SOLVED SUBJECTIVE By JUNAID.pdf (PDF · Midterm)
- CS609 MIDTERM FILE 1 SOLVED BY TEAM HADI.pdf (PDF · Midterm)
- CS609 MIDTERM FILE 2 SOLVED BY TEAM HADI.pdf (PDF · Midterm)
- CS609 MIDTERM FILE 2 SOLVED BY TEAM HADI.pdf (PDF · Midterm)
- CS609 MIDTERM FILE 3 SOLVED BY TEAM HADI (1).pdf (PDF · Midterm)