cs12

Saturday, March 04, 2006

The exam on Windows and DOS will likely look a lot like this

I will go over it in class tomorrow, and the exam will be one week from tomorrow, in class.

1) Start Word. You will paste results of each command in the Word Document by pressing Print Screen and then switching to Word and pasting (Edit/Paste) into the document. Type your name at the top. Save this document as Test1.doc

2) Open the command Prompt.
Solution:
Start/Run/cmd and press Enter
OR
Start/All Programs/Accessories/Command Prompt

3) Place your disk in the floppy drive and change to the floppy drive
Solution:
A:
4) Format your floppy disk and name the volume Test1
Solution:
format a:
when prompted type Test1

5) Create a folder on your disk called Exam, and within that folder, create another folder called Documents. Stay in the exam folder.
Solution:
md exam
cd exam
md Document

7) Create three files in the exam folder. Name one of them paper1.txt, the next paper3.txt, and the last paper4.DOC. This is not a graded part of the test so I will help you with this step if you need it. Create these files using Word, edit, notepad, if you want, or type the following from the command prompt:
copy con paper1.txt
hello [Ctrl-Z]
copy con paper3.txt
goodbye [Ctrl-Z]
copy con paper4.DOC
world [Ctrl-Z]

8) Change to the Documents subfolder. Copy the files that begin with the word "paper" and end ".txt" from the parent folder to the Documents subfolder, using one command involving wildcards.
Solution:
cd Documents
copy ..\paper*.txt

(remember, .. refers to the parent folder, so this copies into the current folder all documents fitting the criteria specified from the parent folder.)

9) Display the contents of the current folder
Solution:
dir

10) Change the present working directory to the root directory:
Solution:
cd
11) Now, a little bit of Windows. Open My Computer and Navigate to the exam directory. Change the View from Tiles to Details and sort in Descending Order by name.

12) Click on the Folders button to Show the Folders

13) Create a New Folder as a subfolder of exam and rename it New Documents

14) Move paper4.DOC into the New Documents folder

15) Navigate to the New Documents Folder

16) Navigate back to the exam folder and delete the Documents Folder.

17) Save your Word Document and call me over. I will email it to myself.

0 Comments:

Post a Comment

<< Home