JMLABS
Basic
Computer 
Programming:

HOMEWORK ASSIGNMENT: LEC2:  A2
COMPLETE HOMEWORK and attach to email to jmlabs2a@netscape.com
_________________________________________________
When we are talking INPUT we are talking about data, not programs that process data.  Data can be entered into the computer through disk drives, CDROM, keyboards, mouse clicks(Y,N),  joysticks(L-R-Up-Dn), downloading to your computer from the internet, uploading to your computer from another computer, parallel ports, USB ports, or hardware in-port lines.
__________________________________________________
OUPUT includes most of the above including uploading data to another computer, CRT screen output, output to sequential or direct access files (binary or ASCII) to disks, burning CDs,  sending high/low values out to the out-port of an I/O CHIP (peripheral adapter chip) that may be used to control some external electronic device like an automobile carburetor, etc...
_________________________________________________
Assignments:
1.  Write a program that will ask how much you weigh and you mate weighs print out the total of your weights.
2.  Write a program that will read in non-zero inport values and send "11111111"s to the outport Digital to Analog converter to turn on a siren.  Alarm example#1
_________________________________________________