We have been working very hard since 2009 to facilitate in learning Read More. We can't keep up without your support. Donate.


+ Link For Assignments, GDBs & Online Quizzes Solution


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

Assignment No. 04
Semester: Fall 2013
System Programming-CS609


Total Marks: 20


Due Date: 10/Feb/2014

Graded Assignment


Please read the following instructions carefully before submitting assignment:


  • You will submit your assignment before or on due date on VU-LMS.
  • Assignment should be completed by your own efforts it should not be copied from internet, handouts or books.
  • You should submit your .doc File via assignment interface at VU-LMS.
  • Assignment sent via Email will not be replied and accepted in any case.
  • If the submitted assignment does not open or file is corrupt, it will not be marked.
  • You will submit solution only in document (.doc or .docx) File.




To understand the Disk File Structures and real problems.



For any query about the assignment, contact at cs609@vu.edu.pk

Assignment Questions

A request before solving it:

Dear Student,

This is very easy assignment which requires only the implementation of a given scenario. This implementation will build your understanding of real mode and protected mode limitations more clearly. So, do not paste your solution from any kind of source. Just do and describe the solution in steps if possible. Otherwise describes the reasons of No answer shortly.


Question:                                                                                                                               Marks 20     


Ahwas installed 64 bit operating system on his PC. Unfortunately, his system crashed and could not boot even in the safe mode. He has two equal partitions of his 120 GB hard drive. He has an important data on his secondary partition. He has a DOS bootable USB drive with FAT16 structure. Is it possible for Ahwas to access his important DATA from hard drive and copy to USB drive through available DOS bootable drive? Give logical reason for your answer.


Note: Google the different possibilities for the given scenario assuming that it happen with you. Implement all founded possibilities on your system then suggest a feasible solution for Ahwas within steps. You also can use any other utility within the scenario limitations.

ð     Contact through Skype or email for any other query.



+ 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)

Views: 9548


Replies to This Discussion

 See this solution

Method 1

There are following steps for booting a system.






Plug in the flash drive. Make sure that it is plugged into the computer itself and not through a USB hub.




Turn on the computer. Every computer manufacturer has a different boot screen. As soon as you see the logo, you will need to hit either F2, F10, or Del to enter the BIOS menu. These are the most common keys for entering the BIOS menu. The key you need to press will be displayed under the logo.

  • This part of the boot process can occur quickly, and you may have to restart the computer if you missed the chance to enter BIOS.





Find the Boot menu. If you hit the correct key at the correct time, you should now be in the BIOS menu for the computer. This is where basic computer functions are set, before an OS (Operating System) is loaded. Navigate to the Boot menu. Every manufacturer has a different BIOS setup. Some have the menu in a column; others have tabs across the top. Here’s an example BIOS:





Change the boot order. Once you are in the Boot menu, you will see a list of devices. This is the order of devices that the computer will attempt to find an OS on. Typically, the first device listed is the computer’s hard drive, usually followed by the CD/DVD drive.

  • Select the first boot device and change it to your flash drive. The menu will either say “Removable Device” or will display your flash drive’s model name. This will make the computer check your flash drive first after turning on, instead of the hard drive.





Save and exit. Navigate to the Exit menu in the BIOS. Select “Exit and Save Changes.” Alternatively, many BIOS have a shortcut key displayed at the bottom that will save and exit with one keystroke.

  • Saving and exiting reboots your computer.






Wait for your flash drive to load automatically after the reboot. After a few seconds, depending on what your flash drive is made for, you will be given control. If you made an MS-DOS flash drive, you will be given a command prompt after booting.




Use this command

xcopy  e:\source_folder f:\destination_folder /e /i /h


The /h is just in case there are hidden files. The /i creates a destination folder if there are multiple source files.




Method 2



  1. Power down. First turn off the power to the computer, and open the case.
  • Unplug all cords—power cord, keyboard, mouse, etc.—from your computer.




Connect your secondary drive.

  • Search the exterior of the drive for a diagram showing the different jumper settings for the modes. Look for the "Cable Select" or "Slave" settings.
  • On the rear of the hard drive, remove the jumper and fit it over the two pins that match the diagram for the "Cable Select" or "Slave" setting.




Connect the data cable. Find the wide cable that the hard drive in the computer case is connected to. There should be a long plastic connector plug somewhere in the middle this cable.

  • Attach this connecter to the long connector plug in the back of the external hard drive. Connect this cable to the hard drive you have in your hand. The colored strip (usually red) should be on the side nearest the power connector.






Add power. Find a power connector that is not hooked into anything. It will usually be black or white, with 4 female sockets.

  • Plug the power connector into the power slot in the rear of the hard drive.





Put it back together. Plug the power, monitor, keyboard, mouse, and anything else you unplugged back into your computer.


Turn on the computer. Everything should boot normally at this point. If not, power down and check all connections.

  • The hard drive should be displayed in My Computer as another drive.




Drag and drop the files from your main hard drive to the new hard drive.




Method 3



Determine what type of hard drive you have. There are many interface variations, IDE, SATA, PATA, and more.


Purchase an external USB housing. Make sure that it is suitable for your hard drive. This example features an IDE drive.

  • Set the jumpers. Consult your hard drive manual and ensure your drive is set to master or single drive. On IDE interfaces there is usually a small jumper that you place over 2 adjacent pins.


Open the external drive case. Plug in the drive power and data leads. Note: these are keyed so that you can only put them in one way—the correct way! If you need to force it, you are probably wrong.

  • Check your connections again before closing up the housing.


Power up! Make all your connections secure and then power your system back up.

  • Plug the external power block into the back of the external drive. Note: for small notebook drives the housing usually gets its power from the USB lead.
  • Plug the USB lead into the external drive.
  • Plug the other end of the USB lead into your PC.
  • Power up your external drive, and then your PC, and login.


Wait for your system to find the USB device. If using Microsoft Windows, check in My Computer.

  • You should find the device listed as a removable drive.
  • It will have a drive letter. Your PC's hard disk is usually C: and the CD/DVD drive D: so it may be shown as E:
  • Remember when finished and before disconnecting the drive, click the Safe to Remove Drive icon on the task bar near the clock.




If using SuSE Linux: Check My Computer if you don't get a screen pop up with the device listed.

  • In My Computer, open the drive to list its contents.
  • Open a second Windows Explorer window to find the data you wish to copy from.
  • In SuSE Linux, click on the blue House icon or open a Konqueror window and browse the directories to the data to be copied.


Copy the data to the external second drive


Plz  exectly  confrm  kr den  k  data copy ho  skta ha ya  nai  time to  bht kam reh gaya ha plz anyone help 

ans is no logic likh k sbmit kr den yunhi confusion phelai hui hy ager ho skta to koi to kr k dikhata wesy bhi no answer hy mzeed waqat zaia na kren

Diya  jee ..etna gusa....aray wo Muhammad yosuf ny jo link dia us ma sara procedure likha hoa...ma  test kar k hi bata raha ho k ho raha copy.....

DOS bootable USB with FAT16 structure  can copy date from harddisk of NTFS(64bit OS)

Process to Do:

What you need to have:
   1:-  A 2 GB USB
    2:-  readntfs.exe
    3:-  RMPrepUSB v2.1.622 / rufus_v1.4.3

what you need to do to access data:

1:- download RMPrepUSB v2.1.622 from given below link-
and follow the guid to format you disk to FAT16.

2:- Now place readntfs.exe a utility software into the DOS Boot able Fat16 USB.
3:- restart your system:
4:- Set boot sequence to USB flash drive as 1st boot from BIOS.
5:- Now you will be boot in DOS environment.
6:- Type
    and press enter.
7:- On execution of readntfs.exe there will be two windows left shows your all detected drives and right window show files and folder related to particular partition.

8:- follow the guide to perform copy operation
      a:- Select a drive or a folder and press the [Enter] key.
      b:-Search drives and folders if you do not know the exact location.
      c:-Press the [Ctrl + C] keys together to execute the copy command.
      d:-Use the [Tab] key to move between controls, and press the [Enter] key to               change the drive or folder.
      e:- Define the output name and location and press the [Enter] key.
      f:-  ESC key to exite.
9:- Again reset you boot order from BIOS. and start normally your window.

Oper your USB and Mojaa karo ho gai gy Copy..


Rana sahab pls upload assignment solution if you have solved. we will remember in prayers to you.

i have given complete process bro...
As i've done with the help of a utility software...and above i have described sb kuch jo ata tha.

logiacal reason my kia likhy

bro rana usman

rana usman boss kya aap ne b fat16 usb drive use ki thi pls reply

yUpp wafa ji i have mentioned above. that USB should be of 2 Gb  and you can format it to FAT16 with the help of RMPrepUSB v2.1.622 this software.

boss there is an other to be note. it is not mentioned data in secondary drive fully important or 2gb or less then

so we say if data is less then 2gb then it can access if greater then 2 then it is not possible.

otherwise we all know it is possible to copy data from hard drive to usb

plz diya sis plz final solution bta dy time is toooooooooooooooo short


Looking For Something? Search Below

Latest Activity

Mani Siddiqui Ex replied to Mani Siddiqui Ex's discussion General Knowledge question !!!
2 hours ago
Mani Siddiqui Ex replied to Mani Siddiqui Ex's discussion General Knowledge question !!!
2 hours ago
Rabia liked + M.Tariq Malik's discussion BIF401 Bioinformatics I GDB Fall 2020 Solution / Discussion
4 hours ago
Rabia liked + M.Tariq Malik's profile
4 hours ago
★彡[ꜱʜʏɴᴀ]彡★ liked + ! ! hคຖiค khคຖ ! ! ! +'s discussion 'Ghar Se Hum Ghar Talak Gaye Honge, Apne Hee Aap Tak Gaye Honge',
10 hours ago
+ ! ! hคຖiค khคຖ ! ! ! + liked + M.Tariq Malik's discussion Free Download Solved MCQs of Pakistan Affairs - Everyday Science - Current Affairs For MCQs for CSS, NTS, FTS, ETEA, OTS, UTS, FPSC, PPSC, SPSC, PMS, PSC, KPKPSC, AJKPSC, SOPE Exam
10 hours ago
+ ! ! hคຖiค khคຖ ! ! ! + liked + ! ! hคຖiค khคຖ ! ! ! +'s discussion 'Ghar Se Hum Ghar Talak Gaye Honge, Apne Hee Aap Tak Gaye Honge',
11 hours ago
+ ! ! hคຖiค khคຖ ! ! ! + posted a discussion
11 hours ago
VU AHMED replied to + M.Tariq Malik's discussion PHY301 Fall 2017 Final Term Papers Pattern & Questions 17 Feb 2018 to 28 Feb 2018 & Helping Material in the group PHY301 Circuit Theory
11 hours ago
+ ! ! hคຖiค khคຖ ! ! ! + updated their profile
11 hours ago
+ M.Tariq Malik liked + + + + " Tw!nkle "'s discussion Happy HAppy birthday !! FIYA
12 hours ago
+ M.Tariq Malik replied to + M.Tariq Malik's discussion EDU410 Teaching of Literacy Skills Assignment 01 Fall 2020 Solution / Discussion in the group EDU410 Teaching of Literacy Skills
13 hours ago

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

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