CS609 - Final term Solved Subjective With References By Moaaz.doc
Verified academic study resource for CS609 (System Programming) under the Computer Science at Virtual University of Pakistan. This DOC document (Final-Term Solved Past Paper & Examination Pack compiled by Moaaz Siddhu) covers Final-Term Exam Scope (Lectures 23 to 45) spanning approximately 320 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
- Final-Term
- Coverage
- Final-Term Exam Scope (Lectures 23 to 45)
- Compiled by
- Moaaz Siddhu
- Tags
- SUBJECTIVE, SOLVED, FINALTERM
Virtual University regulations strictly require achieving at least 20% marks in the Final-Term exam paper alone (typically 12+ marks out of 60) to pass CS609, regardless of midterm scores.
What this file covers — CS609 syllabus roadmap
- Object-Oriented Paradigms: Classes & Data Abstraction — Lectures 23 to 29 (Pages 281 to 360). 16% Final-Term Marks (Core OO Concepts)
- Inheritance Hierarchies & Dynamic Polymorphism — Lectures 30 to 36 (Pages 361 to 435). 20% Final-Term Marks (Virtual Functions & V-Tables)
- Templates, Standard Library & Persistent File I/O — Lectures 37 to 41 (Pages 436 to 510). 14% Final-Term Marks (Generic Code & Streams)
- 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 - Final term Solved Subjective With References By Moaaz.doc for free?
You can preview and download "CS609 - Final term Solved Subjective With References By Moaaz.doc" (CS609 DOC, ~320 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs609-final-term-solved-subjective-with-references-by-moaaz-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 Final-Term Exam Scope (Lectures 23 to 45) across 4 distinct lecture units (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 Subjective
From Final term Papers
July 10,2013
MC100401285
Moaaz.pk@gmail.com Mc100401285@gmail.com
PSMD01
CS609 - Final Term Papers Fall 2012
Q#1 In how many ways higher PC can operate?
Answer:- (Page 319)
Higher PCs can operate in two modes
• REAL MODE
• PROTECTED MODE
Q#2 In FAT32, what is the size of FSInfo?
Answer:-
On a FAT32 volume, the FAT can be a large data structure, unlike on FAT16 where it is limited to a maximum of 128K worth of sectors and FAT12 where it is limited to a maximum of 6K worth of sectors.
Q#3 A disk is divided into three partition. What type of information is represented in code part of partition table?
Answer:- (Page 219)
code part contains valid executable code
Q#4 Differences between FAT16 and FAT32
Answer:-
Q#5 How ISR sends EOI (End of interrupt) signals to master and slave .Required statement must be in C program
Answer:-
void irq_handler(registers_t regs)
{
// Send an EOI (end of interrupt) signal to the PICs.
// If this interrupt involved the slave.
if (regs.int_no >= 40)
{
// Send reset signal to slave.
outb(0xA0, 0x20);
}
// Send reset signal to master. (As well as slave, if necessary).
outb(0x20, 0x20);
if (interrupt_handlers[regs.int_no] != 0)
{
isr_t handler = interrupt_handlers[regs.int_no];
handler(®s);
}
}
Q#6 Suppose a disk is divided into two partition and we have read MBR at LBA=0 to get information about primary partition
a) How many bytes of code part we need to skip to get information about primary partition?
b) How many bytes of code part we need to read information?
Q#7 Distinguish between 80287 and 80387
Answer:- (Page 170)
If the sign of infinity can be reversed than the coprocessor is 80387 otherwise its 80387.
Q#8 Write down procedure to convert a cluster number into sector number
Answer:- (Page 308)
NTFS simply the following formula will be used to translate the sector number into cluster number.
Sector # = Cluster # * Sector Per Cluster
Q#9 How a PC operates in protected mode?
Answer:- (Page 326)
• PC has to be shifted to Protected Mode if originally boots in Real Mode.
• In Protected Mode whole of the RAM is accessible that includes the Conventional, Expanded and Extended
Memories.
• OS like Windows has a memory management system for Protected Mode.
• A privilege level can be assigned to a memory area restricting its access.
Q#10 Describe how a chain of cluster in FAT12 is managed?
Answer:- (Page 291)
CS609 - Final Term Papers Fall 2012
2 marks.
How larger file contents can be managed using FAT?
Answer:- (Page 264)
• Larger files would be comprised of numerous clusters.
• The first Cluster # can be read from FCB for rest of the Cluster, a chain is maintained within the FAT.
what is the control information in PSP (program segment prefix) contain?
Answer:- (Page 321)
It contains control information like DTA (Disk Transfer Area) and command line parameters.
What does it indicates if the value of first bytes of data part of partition table is 00H?
Suppose we want to program the interval timer, why we do prefer to use the channel 2 for this purpose and why?
3 Marks
How many possible entries are there in FAT12 and FAT16?
Answer:- Click here for detail
FAT12 and FAT16 media typically use 512 root directory entries.
Write down the names of three data structure used for memory management?
Answer:- (Page 321)
• DOS makes use of various Data Structures for Memory Management:
• MCB ( Memory Control Block )
• EB ( Environment Block )
• PSP ( Program Segment Prefix )
5 Marks.
What are interrupt function pointers? Explain with examples.
Answer:- (Page 22)
Interrupt pointers and functions
Interrupt functions are special function that as compared to simple functions for reasons discussed earlier. It can be declared using the keyword interrupt as shown in the following examples.
void interrupt newint ( )
{
...
...
}
Similarly a pointer to such interrupt type function can also be declared as following
void interrupt (*intptr) ( );
where intptr is the interrupt pointer and it can be assigned an address using the getvect() function
intptr = getvect(0x08);
Now interrupt number 8 can be invoked using the interrupt vector as following
(*intptr) ( );
What is fragmentation? And how we remove it using defragmentation.
Answer:- (Page 316)
• Fragmentation means that clusters of a same file are not contiguously placed, rather they are far apart, increasing seek time hence access time.
• So its desirable that files clusters may be placed contiguously, this can be done by compaction or defragme notation.
• Defragmentation Software reserves space for each file in contiguous block by moving the data in clusters and
Re-adjusting.
• As a result of defragmentation the FAT entries will change and data will move from one cluster to other localized cluster to reduce seek time.
• Defragmentation has high computation cost and thus cannot be performe d frequently.
What is cluster? Describe it key characteristics.
Answer:- (Page 342)
• A cluster is a collection of contiguous blocks.
• User Data is divided into clusters
• Number of blocks within a cluster is in power of 2.
• Cluster size can vary depending upon the size of the disk.
• DOS has a built in limit of 128 blocks per cluster.
• But practically limit of 64 blocks per cluster has been established.
A cluster is not the same as block and also there are no system calls available which use the cluster number. All the system calls use the LSN address. If the cluster number is known it should be converted into LSN to access the blocks within the cluster. Moreover all the information about file management uses the cluster number rather than the LSN for simplicity and for the purpose of managing large disk space. So here we devise a formula to convert the cluster number into LSN.
More CS609 files
- All Subjects Mid & Final 25000 Pdf Files.pdf (PDF · Final-Term)
- CS609 - Final term Solved MCQs With References By Moaaz (1). (DOC · Final-Term)
- CS609 - Final term Solved MCQs With References By Moaaz.doc (DOC · Final-Term)
- CS609 - Final term Solved MCQs With References By Moaaz.pdf (PDF · Final-Term)
- CS609 - Final term Solved Subjective With References By Moaa (DOC · Final-Term)
- CS609 - Final term Solved Subjective With References By Moaa (PDF · Final-Term)
- CS609 Current 2020 Final Paper by VU Answer-1.pdf (PDF · Final-Term)
- CS609 Current 2020 Final Paper by VU Answer.pdf (PDF · Final-Term)