Sponsored Links


Results 1 to 2 of 2

Thread: CS609 Assignment no 3 Spring 2011 idea Solution

  1. #1
    Administrator Vuhelper's Avatar
    Join Date
    Apr 2011
    Posts
    9,578

    Icon14 CS609 Assignment no 3 Spring 2011 idea Solution

    Sponsored Links1


    cs609 operating system

    Sponsored Links



    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.

    [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.

  2. #2
    Administrator Vuhelper's Avatar
    Join Date
    Apr 2011
    Posts
    9,578

    21 cs609 idea solution 2011

    idea solution are in attachment
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 0
    Last Post: 05-14-2013, 05:52 PM
  2. Replies: 0
    Last Post: 05-04-2013, 05:27 PM
  3. Replies: 8
    Last Post: 11-12-2011, 03:36 AM
  4. Replies: 7
    Last Post: 11-01-2011, 05:07 PM
  5. Replies: 3
    Last Post: 07-07-2011, 06:43 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
-: Vuhelp Disclaimer :-
None of the files shown here are hosted or transmitted by this server. The links are provided solely by this site's users. The administrator's or staff of Vuhelp.net cannot be held responsible for what its users post, or any other actions of its users. You may not use this site to distribute or download any material when you do not have the legal rights to do so. It is your own responsibility to adhere to these terms. If you have any doubts about legality of content or you have any suspicions, feel free to contact us.
Online Education | JhelumSoft