
Student: _____________________ Account: ___________ Grade: _______
CS 110 Program 1 Analysis
1. Write a single sentence that succinctly describes the problem that needs to be solved.
2. What is meant by the term CONSTANT in java?
a. Why are constants useful?
b. What keyword is required to declare a constant in java?
c. What naming convention should be followed for constants?
d. What constants are used in Program 1?
3. What is meant by the term VARIABLE in java?
a. What does it mean to declare a variable in java?
b. What naming convention should be followed for variables?
c. What variable(s) are required to solve the problem in Program 1?
4. Calculation
a. What calculation needs to be performed to solve the problem in Program 1?
b. What is meant by the term ORDER OF OPERATIONS?
i. How does this apply to solving the problem in Program 1?
5. Write the pseudocode to solve Program 1. Pseudocode is a listing in plain English of
ALL the steps required to solve a programming problem.
NOTE: This assignment is due on Monday 13 April. Download this file to your computer, type
in your answers then print TWO copies. Bring BOTH copies to class on Monday 13 April.
If you are unable to attend class on Monday, you must get one copy to me before class. You
may slide it under my door or give it to the computer science secretary to put in my box.
1