Virtual Position Forum
Please register to watch content in detail
Thanks
Admin virtual position


Join the forum, it's quick and easy

Virtual Position Forum
Please register to watch content in detail
Thanks
Admin virtual position
Virtual Position Forum
Would you like to react to this message? Create an account in a few clicks or log in to continue.

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 Tue Jun 07, 2011 1:30 pm

CS609-System Programming Assignment No. 3
[Spring 2011]
Deadline
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

Code:
#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.

[8]

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.
juliobegdon
juliobegdon
Monstars
Monstars

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

Back to top Go down

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

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

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

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