Lab: Command Syntax
Instructions:
Answer as many of the following questions as you can during the lab period.
If you are unable to complete the assignment during the lab period it
is strongly recommended that you complete it on your own.
Getting Ready:
Before going any further, you should:
-
Download the following files:
to your working directory. (In most browsers, the easiest
way to do this is by right-clicking on each of the links above.)
1. Typographic Conventions:
Many years ago, typographic conventions were developed to make it easier
to describe operating system commands. These same conventions are now
used for a variety of other purposes, including the description of
expressions and statements in programming languages.
-
Review these
typographic conventions.
-
What does it mean when something is enclosed in square brackets?
-
What do ellipsis (i.e., ...) indicate?
-
Interpret the following description of a command:
javac [option]... filename.java