Name _________________________ CSC001- Worksheet 1: Arithmetic Expressions |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
D.
Joseph Due: September 23 at beginning of lecture
period |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Part 1 - Evaluating
QBASIC Statements
Part II - Converting Arithmetic Expressions into QBASIC Statments Write QBASIC statements for the following arithmetic expressions. Assume A, B, C, D, X, Y, and Z are separate variables..
Part III - Determining Validity as QBASIC Expression Are the following expressions acceptable or inaacceptable in QBASIC? If the expression is not acceptable as a QBASIC expression please explain why. Assume A, B, C, D, X, Y, and Z are separate variables.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Return to: CSUS | Computer Science September 11, 1998 |