1.1 Overview of Computers and Logic Flashcards
The two major components of any computer system
Hardware and software
Equipment, or devices
Hardware
Programs that contain instructions for the computer
Software
Four major operations in a computer:
- Input
- Processing
- Output
- Storage
Allow data to enter the computer
Input devices
Working on the data
Processing
Organizing data
Checking data for accuracy
Mathematical or other manipulations on data
Processing
Hardware that performs the task
Central Processing Unit (CPU)
Provide data to the user
Output devices
Special language containing instruction for the computer
Programming language
Rules governing word usage and punctuation in the language
Syntax
Controls the computer’s on/off circuitry
Machine language
Software that translates programming languages to machine language
Compiler or interpreter
Program must be free of syntax errors to be run, or ______, on a computer
executed
To function properly, the _____ must be correct
logic
Logic errors, or __________, are more difficult to locate than syntax errors
semantic errors
Pictorial representation of the logic
Flowchart