JMU
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:

  1. 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.
  1. Review these typographic conventions.
  2. What does it mean when something is enclosed in square brackets?
  3. What do ellipsis (i.e., ...) indicate?
  4. Interpret the following description of a command:
    javac [option]... filename.java

Copyright 2011