ITM 200 Chapter Notes - Chapter 1: High-Level Programming Language, Java Bytecode, Floppy Disk

54 views3 pages

Document Summary

Hardware: you can physically check; cpu, memory, hard disk, floppy disk, monitor, printer, communication devices. Software: instructions to the computer, without programs a computer is an empty machine- computers do not understand human languages. Cpu: central processing unit which are built as a single microprocessor chip. Each chip is associated with a set of instructions (machine code) which it can execute. Binary bit patterns: strings of 0 and 1"s, like a switch. Each instruction and the data are stored as binary patterns; any given computer can only execute instructions in the machine code language of its microprocessor. A machine code computer program consists of binary codes for instructions. The program can be stored on a disk. To execute the program, it is loaded from the disk into the computer"s internal memory, then the instructions are fetched one by one by the microprocessor(cpu) and executed. Disadvantages of machine codes: time consuming, meaningless to human readers, not portable.