CS609 - System Programming Assignment No. 03 Solution Required

View previous topic View next topic Go down

GMT + 3 Hours CS609 - System Programming Assignment No. 03 Solution Required

Post by juliobegdon on Tue Jun 07, 2011 1:30 pm

CS609-System Programming Assignment No. 3
[Spring 2011]
Your assignment must be uploaded/submitted at or before Tuesday 13, June 2011.
Uploading instructions
View the assignment submission process document provided to you by the Virtual University to upload the assignment.
Marking Rules
It should be clear that your assignment will not get any credit if:
oThe assignment is submitted after due date.
oThe submitted assignment does not compile or run.
oThe code is uploaded in Microsoft Word file.
oThe assignment is copied.

Assignment [Total Marks 18]

Q No. 1

#include <dos.h>

#include <bios.h>

char st[4096]="Virtual University of Pakistan\0";

char st1[4096]="Knowledge beyond boundaries";

void main (void)



In the above code you are required to calculate the segment and offset address of the two strings st and st1.


Q No. 2

Write the C program that should read the Master Boot Record using the biosdisk() function and write this block at the location “D:\MBR.txt”. [10]

If you are not able to read the data from hard disk then do the following step.

Boot your system in MS DOS and try to run your program to access the hard disk.

Note: For Question No. 1 and Question No. 2 make two separate files Q1.c and Q2.c and send these two files in zip format.

Your work must be original. No marks will be given in case of cheating or copying from the internet or from any other students.

Aquarius Snake
Posts : 11
Join date : 2011-06-05
Age : 53

Back to top Go down

GMT + 3 Hours Re: CS609 - System Programming Assignment No. 03 Solution Required

Post by goli mar on Wed Jun 08, 2011 8:00 am

[You must be registered and logged in to see this image.]
goli mar

Posts : 24
Join date : 2011-05-23

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

Permissions in this forum:
You cannot reply to topics in this forum