CS 140 Lecture Notes - Lecture 1: Auxiliary Memory, Control Bus, Usability

24 views3 pages

Document Summary

Programs must be analytically correct; they rarely work the first time. Programmers must ____ on a continual basis: analyze, experiment, correct, redesign. Syntax strict programming rules that must be followed. Main memory example: ram (random access memory) Secondary storage devices example: hard drive, ssd, etc. Input devices example: keyboard, scanner, mouse, etc. Output devices example: screen, printer, speakers, etc. Buses (3 main data bus, address bus, control bus) Instruction fetch cycle fetch decode, execute cycle to process program info. Fetch control unit fetches (from main memory) the next instruction. Decode instruction is encoded in the form of a number, control unit decodes instruction and generates electronic signal. Execute signal is routed to appropriate component, signal causes component to perform an operation. Commonly known as random access memory (ram) Ram contains currently running programs and data used by those programs. Bit = binary digit (0 and 1)