UMBC CMSC201, Computer Science I, Fall 1994
Sections 0101, 0102 and Honors
Thursday September 15, 1994
Assigned Reading: 2.2 - 2.3
Handouts (available on-line): none
- Announced some corrections
from previous class. The problem is that some people
did not have a bin directory and copied the cc201 file
to their accounts as ~/bin. This caused problems.
- Discussed using World Wide Web to distribute course information.
- Review: an example of a program that uses integer, floating
point and string variables.
- A program that converts centimeters to feet and inches.
- Discussed variable types integers,
floating point numbers, characters, Boolean values and strings.
- A program that uses all these types
and sample run.
- Discussed what is an "integer expression".
- Discussed operator precedence and associativity (important).
Multiplication and division have higher precedence than addition
and subtraction. These four operators also associate left to right.
Assignment is an operator too; it associates right to left.
Last Modified: September 7, 1994
Richard Chang, email@example.com