CS609_MegafileforQuizZ.doc

Verified academic study resource for CS609 (System Programming) under the Computer Science at Virtual University of Pakistan. This DOC 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
CS609 – System Programming
Faculty
Computer Science
Format
DOC
Type
Study Resource
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 — CS609 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 CS609_MegafileforQuizZ.doc for free?

You can preview and download "CS609_MegafileforQuizZ.doc" (CS609 DOC, ~180 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs609-megafileforquizz-doc) with 100% free high-speed downloads and zero registration requirements.

What syllabus chapters and lectures are covered in this CS609 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 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 System Programming Solved MCQs + Solved Subjective Questions For Final Term Exam
What are the differences between hardware and software interrupts?

Software interrupts are invoked by means of some software instruction or statement and hardware interrupt is invoked by means of some hardware controller generally. The only difference between them is the method by which they are invoked

How would a procedure written for software interrupt will be different from that written for hardware interrupt?

Write a program that will turn on/off the speaker and connect it with the interval timer whenever
Ctrl+Alt+S is pressed Timer interrupt
#include <dos.h>
#include <bios.h>
void interrupt (*oldint15) ( );
void interrupt newint15 (unsigned int BP, unsigned int DI, unsigned int SI, unsigned int DS, unsigned int ES, unsigned int DX, unsigned int CX, unsigned int BX, unsigned int AX, unsigned int IP, unsigned int CS, unsigned int flags);
void main ( )
{
oldint15 = getvect (0x15); setvect (0x15, newint15); keep (0, 1000);
}
void interrupt newint15( unsigned int BP, unsigned int DI, unsigned int SI, unsigned int DS, unsigned int ES, unsigned int DX, unsigned int CX, unsigned int BX, unsigned int AX, unsigned int CS, unsigned int IP, unsigned int flags)
{
if (_AH = = 0x4F)
{
if (_AL == 0x1F)
{
outport (0x43, 0xB4); outport (0x42, 0xFF); outport (0x42, 0x21);
outport (0x61, inport(0x61) ^ 3);
}
}
else
(*oldint15) ( );
}
CS609 MCQs For Papers
What is the difference between a simple program and a TSR program? How can we stop multiple loading of a TSR program into memory?
TSR (Terminate and Stay Resident) program is a program which programs the interrupt number
65H but in this case the new interrupt 65H function remains in memory even after the termination of the program and hence the vector of int 65h does not become a dangling pointer. A TSR need to be loaded once in memory. Multiple loading will leave redundant copies in memory So we need to have some check which will load the program only once

How interrupts are processed? List down five differences between hardware and software interrupts.
Software interrupts are invoked by means of some software instruction or statement and hardware interrupt is invoked by means of some hardware controller generally.

5w.
hatisnulmlodem2marks

If data is to transferred from one computer to another through some media which can carry digital data then the modem can be eliminated and the UART on both computers can be interconnected. Such arrangement is called a NULL modem

6t.ypesofinterrupts3marks

Interrupt means to break the continuity of some ongoing task. When we talk of computer interrupt we mean exactly the same in terms of the processor. When an interrupt occurs the continuity of the processor is broken and the execution branches to an interrupt service routine.Two types of interrupts are:
Software interrupts
Hardware Interrupts.
DMA stands for DirecMt emoryAcce s .

REGS is a

Size of IVT is  1024 bytes

Set the Interrupt vector means to change the double word sized interrupt vector within IVT.

T/F

Display device (Monitor) performs  memory mapped I/O. NMI stands for  	.
CS609 MCQs For Papers
If keyboard buffer is empty the head and tail points at the same location.  T/F

Tail of keyboard should get to get  the start of buffer.

Interrupt  65H is empty.

Interval time is used to divide input frequency. T/F

An I/O device cannot be directly connected to the busses so  controller is placed between CPU
and I/O.

Standard PC can have  	 PPI.
1, 4, 8, 16

The BIOS int 0x1Ah can be used to configure RTC. Keyboard uses port 64H as status port.
Communication b/w keyboard and keyboard controller is  	 Asynchronous serial
Synchronouserial
Parallel
None
0xF3 means typematic rate will be sent in next byte. By cascading two DMAs  	 bits can be transferred.
4, 8, 16, 32

Timer interrupt occurs  18.2 times in a second.

PPI interconnection  	 bits is cleared to indicate low nibble is being sent. D1, D2, D3D,  4

Write TSR that use 17h to ignore spaces. 5 marks
#include <dos.h>
void interrupt (*old)( ); void interrupt newfunc ( ); main( )
{ old=getvect(0x17); setvect(0x17,newfunc); keep(0,1000);
CS609 MCQs For Papers
}
void interrupt newfunc( )
{
if (_AH==0)
{
if ( _AL != ‘ ‘ ) (*old)();
}
}

Write TSR to display name in center with interrupt 8 provided 1990 is center index. 10 marks
void interrupt (*1990)();
void main()
{ old=getvect(0x08); setvect(0x08,newint); keep(0,1000);
}
void interrupt newint ()
{
…
… (*1990)();
}

www.vustudents.ning.com

If CPUID instruction is not present then the processor can be a
? 486 processor
? 386 processor
? 286 processor
? All of the above
Question No. 2
On the execution of IRET instruction, number of bytes popped from stack is
? 4 bytes
? 6 bytes
? 8 bytes
? 10 bytes
Question No. 3
Keyboard Status Byte is located at the address
? 0040:0000H
? 0040:0013H
? 0040:0015H
? 0040:0017H
Question No. 4
If we use keep (0, 1000) in a TSR program, the memory allocated to it is

? 64000 bytes
? 32000 bytes
? 16000 bytes
? 80000 bytes
Question No. 5
CS609 MCQs For Papers
Maximum number of interrupts in a standard PC is
? 64
? 128
? 256
? 512

In boot block BIOS parameter block starts from
03H
05H
08H
0BH

File can be 	 viewed as collection of clusters or blocks.
Physically
Logically
Both physically and logically
None

What will be the value of DL Register when we are accessing C drive using undocumented service 21H/32H?
0
1
2
3

Operating system name contains  	 bytes in boot block.
3
5
8
11

When LSN is equal to zero (0) it means 	 First block of the disk
First block of the logical drive First block of hidden blocks None of the given

The size of DPB data structure is 	 bytes
16
32

64
128
CS609 MCQs For Papers

Cluster number can also be referred as block number. True
False

Using the 	 entry and the FAT we can access the contents of file. Reserved blocks
Root Directory Number of FAT copies None of the given

Control information in files is maintained using
BPB DPB FCB FPB
We can access blocks for FAT using 	 BPB
DPB
FCB
Both BPB and DPB

More CS609 files

All CS609 files · Midterm Prep 2026 · MCQs Bank