Programming
Language Project
Question
Set #4
Due:
Answers
MUST be keyed in before printing
Name Christopher Payne Programming Language Object Oriented Turing
Note: For
each of these question sets, you should look first in the reports you were
given. You should then check the
information on the Web or in a book. If
the information is not in the report, you should say so and then find it on the
Web or in a book.
1.
Where did you find a compiler/interpreter?
There was a compiler on
the floppy you gave me in class.
2. What
was the name of the file you downloaded to install it?
I simply had to run
Setup.exe on the floppy to install it.
3.
What are the steps you used to install it (i.e. provide the
directions you actually followed to install it).
After running the Setup.exe file, I
was prompted for the install directory which had C:\winnoot as the default. I selected OK and it began
installing the files. That was all that was required to install
it.
4.
How do you compile/interpret a program? (i.e. What command do
you issue?)
To compile a program you have to use the
editor. After opening up the editor click
on the start OOT button and after creating and saving the file
to be compiled click on the RUN button in the editor window. This will compile and run the program.
5.
What environment are you using to edit the code?
I am using Windows 2000 Professional to edit
the code and compile it.
6.
How do you run a program?
(show the command)
To run the program you follow the same
steps as question #4. Winoot does not
create an executable as far as I have found, maybe because this is only a
demo version, so running a program through
the IDE was the only way I could run the program.
7.
Attach the source code for a short program that you have
interpreted/compiled and run. The
program does not have to achieve any meaningful task but must include
statements illustrating 3 of the answers you provided to questions 6,7, 8,9,
and 10 from question sets #2. It must
include line by line comments identifying the type of statement AND the
requirements for the statement. Circle
the type of statements you are illustrating.
a.
Assignment
b.
Selection
c.
Iteration
d.
Input
e.
Output
8.
Capture the output produced by your program (screen
capture). Print it and attach it also.