win1.doc

advertisement
ASSIGNMENT #1: WINDOWS
CGS 2060 Sections 101 & 102
Fall Term, 1996
DUE DATE:
Monday, 23 September 1996, 5:00 PM
You may submit your assignment folder to me in class on the due
date, if you wish. Anytime thereafter on that day, submit it to
the department secretary in 15/3201. She will time stamp it and
put it in my incoming mail box. Note the instructions in the
syllabus about submittals.
Part I.
Unix/Pine (Extra Credit: 10 points)
OBJECTIVE:
NOTE:
1.
Becoming familiar with the Unix computer system
(Osprey), Pico, and the Pine mailer
These instructions are in continuous format. No page
formatting has been provided. Therefore, I recommend
that you do not burst the printout. Just keep it as
a continuous form.
Using COMPOSE in Pine, compose a message and send it to me.
Your message must have the subject: Initial Message
The format of your message is required to be as follows:
Line
Line
Line
Lone
Line
1:
2:
3:
4:
5:
Jerblank
This is my initial message.
blank
your name
This is the format to be followed for this course. Start the
first line (the salutation) on the first line below where it
says Message Body. Begin each line in the 1st column. There
should be a blank line after my name. The number of lines for
the body of the message will vary according to the length of
the message. There should be a blank line after the body of
the message. Place your name, beginning in the 1st column,
on the last line (first name or nick name is fine).
2.
Using Pine, Reply to my message with the subject, Message
Requiring Reply. Be sure to follow the instructions in the
message. Include my original message in your reply, but do
not reply to all recipients. If you do, everyone in this
class as well as my other class will receive a copy of your
reply to me.
3.
Using Pine, Forward my message with the message, Message to
be Forwarded, back to me. Be sure to follow the instructions
in the message.
Part II.
Windows
OBJECTIVE:
Utilizing FILE MANAGER & CLIPBOARD and working
with files, directories, & disks. Using FTP to
transfer files from the Unix system to your disks.
1. Place a disk in the A: drive in your PC. Using Windows, format
the disk with a volume label. Use your first initial and your
last name (Contrary to DOS, Windows does not allow a space).
You are limited to 11 characters and cannot use a period.
Refer to pages 87-88 in the Windows lab manual.
2. Create the following five (5) directories:
(1)
(2)
(3)
(4)
(5)
INT
LOT
OTHER
WIN
WP61
3. Utilizing the file transfer protocol in the Windows environment,
transfer win1.doc and win1.frm in your home directory in the Unix
system to the WIN subdirectory on your disk in the A: drive in
your PC.
4. Using WINDOWS NOTEPAD (accessories), create a text file in the
WIN subdirectory called NAME.TXT. Include the following text:
My name is <your name in cap's>.
Note:
Do not depress the <enter> key after typing this line.
Do not supply extraneous information.
5. Create a second text file in the WIN subdirectory called
CLASS.TXT.
Include the following text:
I am a <your class>,
Note:
and my major is <your major>.
Do not depress the <enter) key after typing this line.
Do not supply extraneous information.
6. Create a third text file in the WIN subdirectory called
SCHOOL.TXT.
Include the following text:
I am a student at the <the university you attend>.
Note:
Do not depress the <enter> key after typing this line.
Do not supply extraneous information.
7. Combine the three text files from steps 4-6 into one
text file, called STUDENT.TXT, in the WIN subdirectory. Use
the COPY & PASTE procedure in Windows. Print this file.
8. Using WINDOWS NOTEPAD, create a batch file called TEST.BAT in
the WIN subdirectory. Use the COPY & PASTE procedure in Windows
to place the instructions below (from @echo off to echo This is
the end of the TEST.BAT file) into that file. Print this file.
NOTE:
DO NOT TYPE THESE INSTRUCTIONS. USE COPY & PASTE.
Make sure all text line up as shown. You have to
do some editing.
* * * * * * * * * * * * * * * * * * * * * * * *
@echo off
cls
echo.
echo The TEST.BAT file tests several DOS commands.
echo.
echo Prepared by: <your name>
echo.
echo ********************************************************
echo.
pause
echo The DATE command sets the date (press ENTER if ok).
DATE
echo.
echo ********************************************************
echo.
pause
echo The TIME command sets the time (press ENTER if ok).
TIME
echo.
echo ********************************************************
echo.
pause
prompt $p$g
echo The DIR command displays a list of files in a directory.
DIR
echo.
echo ********************************************************
echo.
pause
echo The VER command displays the version of DOS you are using.
VER
echo ********************************************************
echo.
pause
echo The CHKDSK command checks the status of your disk.
CHKDSK
echo.
echo ********************************************************
echo.
pause
echo The TYPE command displays a file on the screen.
TYPE name.txt
echo.
echo ********************************************************
echo.
pause
echo This is the end of the TEST.BAT file.
* * * * * * * * * * * * * * * * * * * * * * * *
NOTE:
Provide your name at the appropriate place in the
TEST.BAT file.
9. Use <CTRL><PRT-SCRN> and then execute TEST.BAT at the DOS
prompt. The results displayed on the screen will be directed
to the printer. Make sure you have a good printout.
12. Follow steps 1-11 in lesson 3 of project 5 in the Windows lab
manual (pages 100 - 103). If you are working in the second
floor lab, you will find the WINLOGO.BMP file in the j: drive.
a.
b.
c.
d.
e.
f.
Click File Open
Under drives, select j: drive
Click on yellow J; on right side of box
Double click on wfwimage subdirectory
In box for file name, type *.bmp and click OK
Select winlogo.bmp and click OK
13. Continuing on from #12, follow steps 1-9 in lesson 4 of
project 5 in the Windows lab manual (pages 103 - 105).
Contrary to what is stated in step 10, save the file as
LINKED.DOC and print it.
14. Edit the grade form (win1.frm) in Pico and print it, using
the Unix command that I gave you in class at the Unix prompt.
15. DISKCOPY your directories and files to your other disks.
Double check all three disks in File Manager to be sure
that the disks are identical.
No files other than the subdirectories should be in the
root directory. Be sure your volume label as well as an
external label is on your disk. The external label must
have your name, CGS 2060, and the section number.
The following eightfiles must be in the WIN subdirectory:
name.txt
class.txt
school.txt
student.txt
test.bat
linked.doc
win1.doc
win1.frm
Be sure no other files are in the WIN subdirectory.
Points
will be deucted for extraneous files. These files will be
checked at the end of the course so do NOT erase them.
The following printouts are to be submitted with a disk in a
folder with "closed" pockets:
Grade Form
1. Contents of STUDENT.TXT
2. Contents of TEST.BAT
3. Results of TEST.BAT
4. Contents of LINKED.TXT
Items 1-4 are numbered (handwritten) according
form numbers in the upper right hand corner of
Points will be deducted for torn pages. Also,
smudge the grade form. All edited information
on your computer.
to the grade
each document.
do not mark or
must be processed
I recommend editing the win1.frm document in Pico and then printing
from the Unix prompt. Second best is the use of Notepad in Windows,
printing the file from your 3-1/2" disk. Never, I repeat, never
print the grade form from a word processor such as WordPerfect unless
you are prepared to do a lot of editing.
The grade form is the final word on what is to be submitted and
should reflect what is listed above. Each item is to be placed
in a closed pocket folder in the indicated sequential order. As
I stated before, the grade form item number should be handwritten
in the upper right hand corner of each printout.
Lastly, make sure the label on your folder contains your name,
CGS 2060, and your section number.
End of assignment #1.
Download