CS609 - System Programming Assignment No. 03 Solution Required
Page 1 of 1 • Share
CS609 - System Programming Assignment No. 03 Solution Required
CS609-System Programming Assignment No. 3
[Spring 2011]
Deadline[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
- 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- Monstars
-
Posts : 11
Join date : 2011-06-05
Age : 59
Re: CS609 - System Programming Assignment No. 03 Solution Required
[You must be registered and logged in to see this image.]
goli mar- Monstars
- Posts : 24
Join date : 2011-05-23
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|
Sat Mar 23, 2024 1:08 pm by ali001
» MindCat: Mindfulness, Meditate
Tue Mar 19, 2024 7:35 am by ali001
» Jordan 1 1 ST Firstcopy Shoes
Sat Mar 09, 2024 6:08 pm by ali001
» Frienzy: Travel with Friends
Fri Mar 08, 2024 7:18 pm by ali001
» Frienzy: Travel with Friends
Fri Mar 08, 2024 7:02 pm by ali001
» DUO Decisions: Choose at random
Fri Mar 08, 2024 11:29 am by ali001
» Yodel Community Connections
Wed Feb 28, 2024 12:56 pm by ali001
» Yodel Community Connections
Wed Feb 28, 2024 12:55 pm by ali001
» Live Timeless - Habit Tracker App
Sat Feb 10, 2024 8:33 pm by ali001