IT316 OS - Prelim Exam

           Perform in DOS command the answer of the following questions. Copy your answer as well as the output text of your answer in word document and send your final answer to jeanie_d_a@yahoo.com.


1.       If Unsure, ASK for assistance.

2.       BOOT your computer, and drop through the menu system to dos, to the ROOT directory of the C: drive - check the DOS version (ver).

3.       FORMAT your data disk as a system disk with the volume name set to FRED and report the capacity of the disk. (format a: /s /v:FRED)

4.       REBOOT your computer with your datadisk in the drive to test you have created a system bootable disk, report what you are prompted for on boot.

5.       Perform a Directory of your disk, and report the name and file size of the file present in the normal listing.

6.       Perform a Dir a:\ /a:s, and report any files that appear, along with their sizes in bytes (a system attribute listing)

7.       REBOOT your computer without your disk in the drive, then drop through to the ROOT directory of the c: drive and replace your disk in the floppy drive.

8.       LOG to the a: drive, and report the prompt displayed.

9.       From the a: drive, request a wide directory listing of the \gtsys directory - a sub-directory of the c: drive (dir c:\gtsys /w) and report the number of files, the amount of storage used by that sub-directory, and the remaining space on the disk.

10.    While logged to the ROOT directory of the a: drive, perform the following directory request and report its action: (dir c:\ /p)

11.    create a directory on your disk called IPT (md IPT). Perform a directory of the drive to confirm the presence.

12.    Change to the IPT directory on your disk and report the prompt (cd ipt).

13.    Perform a normal directory listing and report the information displayed. Perform the following directory requests and report their outcomes: (dir .) and (dir ..)

14.    While logged to your IPT directory, COPY all of the files from the HDM directory (a sub-directory of the c: drive) into the IPT sub-directory of your disk (copy c:\hdm\*.*) and report the number of files that were copied.

15.    Log back to the ROOT of the a: drive

16.    Drag copies of all files that start with 'HDM' from the IPT subdirectory to the ROOT of the a: drive (copy \ipt\hdm*.*) and report the number of files that were transferred.

17.    Log to the ROOT directory of the c: drive, then create a directory called HOMEWORK as a branch of the IPT directory (md a:\ipt\homework)

18.    COPY all files in the ROOT directory of the A: drive into the HOMEWORK sub-directory just created (copy a:\. a:\ipt\homework)

19.    LOG to the ROOT directory of the a: drive, and make a subdirectory called USER, then log to it

20.    Report the command you would use to empty the HOMEWORK directory from where you are (ie. in a:\USER), then try it to check it works (verify with a dir of the now empty directory).

21.    Whilst still logged to the USER directory COPY all .com files that are in the ROOT directory of the c: drive to the HOMEWORK directory, and report the command you used (be sure to check it has worked)

22.    Use the following command: copy con a:\test.txt to create a text file with the words:

the hills

are alive

with the

sound of

mucous

23.    press enter at the end of each line. Finish the file with a Ctrl-Z, Enter to return to the DOS prompt

24.    Verify the file test.txt exists by issuing the command: type a:\test.txt.

25.    Report the size of the file, in bytes, from a directory listing.

26.    Log to the USER directory on your disk and RENAME the copy of command.com that is now in your HOMEWORK directory to the name albatros.man. Report the command you used

27.    Report the actions of the following internal commands:

cls

prompt

ver

vol

echo


28.    Log to the ROOT directory of your a: drive, and report the actions of the following external commands:

tree

tree /f

mem

mem /p

chkdsk

mode


29.    Issue the following commands, and report their actions:

prompt $t

prompt $d

prompt $p

prompt $v$n

prompt $g

prompt Yes Master $n

prompt $t $p $n


30.    Issue the following command:

sort /+1 <; a:\test.txt >; a:\junk.txt

then type a:\junk.txt and report the effect of the command.

31.    Issue the following command:

sort /r/+3 <; a:\test.txt >; a:\junk2.txt

then type a:\junk2.txt and report the effect of the command.

32.    Issue the following command:

find /n "the" a:\test.txt a:\junk.txt

and report the effect of the command.

33.    Issue the following command:

find /n "albatross" a:\test.txt

and report the effect of the command

34.    Issue the command:

the albatross did not signify

and report the effect

35.    Re-format your data disk as a 1.44Mb non-systems disk with your surname as the volume name

Post a Comment

0 Comments