- syntax
- algorithm
- evaluate
- script
- interpreter
- expression
- operator
- string
- floating point
- concatenate
__ A combination of variables, operators, and values that represents a single result value.
__ A general process for solving a category of problems.
__ A function for combining expressions into more complex expressions.
__ The structure of a program
__ To simplify an expression by performing the operations in order to yield a single value.
__ To join two operands end-to-end.
__ A data type for representing numbers with fractional values.
__ A program stored in a file, usually written in an interpreted language.
__ A data type for representing a sequence of characters.
__ A program that simulates the behavior of a computer that understands a high-level language.
Section II – Multiple Choice (60 points total – 3 points each)
none of these is correct
Section III – “Hands-on” (20 points total)
Problem Statement:
Write a program that calculates and displays miles-per-gallon (mpg). The program should accept both miles (m) and gallons (g) from the keyboard. The formula is mpg = m / g. Use a fruitful function for the calculation, and do all input and output from main().