We are here with you hands in hands to facilitate your learning & don't appreciate the idea of copying or replicating solutions. Read More>>

Looking For Something at vustudents.ning.com? Click Here to Search


+ Link For Assignments, GDBs & Online Quizzes Solution


+ Link For Past Papers, Solved MCQs, Short Notes & More

Dear Students! Share your Assignments / GDBs / Quizzes files as you receive in your LMS, So it can be discussed/solved timely. Add Discussion

How to Add New Discussion in Study Group ? Step By Step Guide Click Here.

Assignment No. 3 Semester: FALL 2014 CS609 – System Programming Total Marks: 20 Due Date: February 19, 2015


Please read the following instructions carefully before submitting assignment:

It should be clear that your assignment will not get any credit if:


  • Assignment is submitted after due date.
  • Submitted assignment does not open or file is corrupt.
  • Assignment is copied (From internet/ to from students).


Software (s) Used to develop Assignment

-          Turbo C

-          MS-Paint

-          WinRar / WinZip


Assignment Submission Instructions

ü  C file written using turbo c compiler. File name is as “VUStudentID.c” for example; “BC00000000.c”

ü  Submitted file should not have any syntax error in it.

ü  Screen shot of your program result of execution and save it as “VUStudentID.jpg” for example; “BC00000000.jpg”

ü  Zip both files in .rar / .zip format to submit.





Question: [Marks = 20]

Write a C program in BORLANDC to read the information about extended partition of your system’s hard disk using extended 13H services. The program should display the following information by reading the data part of the partition table.

ü  End Cylinder

ü  Boot Record with respect to start of partition

ü  Count of sectors from boot sector

ü  System ID

ü  LBA (Low).

Your program should also write the above information in a text file named “VUStudentID.txt” for example; “BC00000000.txt”. The path of the text file should be the root directory of C partition.


In case of any query regarding assignment, feel free to ask via email at cs609@vu.edu.pk. You are not supposed to post MDBs regarding assignment.


Your assignment must be uploaded on or before Thursday, February 19, 2015.

+ How to Follow the New Added Discussions at Your Mail Address?

+ How to Join Subject Study Groups & Get Helping Material?

+ How to become Top Reputation, Angels, Intellectual, Featured Members & Moderators?

+ VU Students Reserves The Right to Delete Your Profile, If?

See Your Saved Posts Timeline

Views: 11418


+ http://bit.ly/vucodes (Link for Assignments, GDBs & Online Quizzes Solution)

+ http://bit.ly/papersvu (Link for Past Papers, Solved MCQs, Short Notes & More)

+ Click Here to Search (Looking For something at vustudents.ning.com?)

+ Click Here To Join (Our facebook study Group)

Replies to This Discussion

any one hlp me


mujy b send kr do plz

Aimen im stuck in this assignment......... hate system programming... 

same here

Assignment solution:

only you have to change the printf statement which you want to print tell in printf command only you got the required out put of the assignment

can we use Dev c++ for this assignment?

Hey fellows i think we have to make only minor changes and our assignment is done..... :) 

i think we have to make changes in this part and we are done.... Zaki u agree

printf( "Start Head = %d \n Start Sector =
%d \n Start Cylinder = %d\n End Head =
%d \n End Sector = %d \n End Cylinder =
%d\n Boot Record with respect to start of partition =
%ld\n Count of sectors from boot sector =
%ld\n System ID= %x LBA (Low) = %ld",
p.e[i].StartHead, p.e[i].StartSector & 0x3f,
Scyl,p.e[i].EndHead, p.e[i].EndSector & 0x3f,
Ecyl, p.e[i].AbsBegin, p.e[i].SectCount,p.e[i].SystemID,low);
if (p.e[i].SystemID == 0x0f)
BSec = p.e[i].AbsBegin;

Some body help me to solve these errors

can we use dev c++ for this assignment?

plz help me in Assignment anyone give me solution.

anyone please give me the link to download Borland c++....

Fatima t


© 2020   Created by + M.Tariq Malik.   Powered by

Promote Us  |  Report an Issue  |  Privacy Policy  |  Terms of Service