Chapter 1 Flashcards
Program
Set of instructions that a computer follows to perfrom a task.
(AKA software)
Programmer
A person with the training and skills necessary to design, create, and test computer programs.
(AKa software developer)
Hardware
Physical components of which a computer is made.
Running/executing program
When a computer is performing tasks that a program tells it to do.
Central Processing Unit (CPU)
Part of computer that runs programs
Microprocessors
Small CPU chips
What is the CPU’s Job?
To fetch instructions, follow instructions, and produce results.
Parts of CPU
- Control Unit
- Arithmetic and Logic Unit (ALU)
Control Unit
Coordinate’s all the computer’s operations. Responsible for determining where to get the next instructions and regluating the other major components of computer with control signals.
Arithmetic and Logic Unit (ALU)
Designed to perform methemetical operations.
Fetch/decode/execute cycle
- Fetch: CPU’s control unit fetches from main memory, the next instruction in the sequence of program instruction.
- Decode: Instruction is encoded in the from of a number. The control unit decodes the instruction and generates an eletronic signal.
- Execute: Signal is touted to the appropriate component of the computer. The signal causes the component to perform an operation.
Main Memory
The computer’s work area. This is where a computer stores a program while the program is running, as well as the data with which the program is working.
Random Access Memory (RAM)
-Main memory
-CPU is able to quickly access data stored at any random location.
-Is used for temporary storage while program is running.
Storage Location
Memory is divided into tiny storage locations called bytes.
Byte
A single byte is enough memory to store only a letter in the alphabet or a small number.
Each byte is divided into 8 smaller storage locations called bits.
Bindary Digit (bit)
Tiny switches that canb e either on or off. Tiny electrical components that can hold either + or -charge. + = on and - = off.
Each byte is assigned a unique number called an address.
Address
Ordered from lowest to highest. Byte is identified by its address.
Secondary Storage
Type of memory that can hold data for long periods of time, even when no power to computer.
Types of secondary storage
- disk drives
- solid-state drives
- external devices
- optical devices
Disk Drives
stores data by magnetically encoding it into a circular disk
Solid-state drives
Store data in solid-state memory. Has no moving parts and operates faster than disk drive.
External devices
Can be used to create backu[ copies of important date or move data to another computer.
Optical devices
Data is NOT recorded magnetically, but is enoded as a series of pits on the disk surface. Drives use laser to detect the pits and read encoded data.
Input devices
Input is any data the computer collects the into and sends