Chapter 1 PDF Flashcards
What is programming
Creating an application, such as a ticketing kiosk, a game, a restaurant ordering system, or another business application.
What are some basic computer concepts
Hardware
Operating Systems
Application Software
Computer networks and the Internet
What is the purpose of the CPU
Executes the instructions of the program
What is the purpose of the Hard Disk and CD ROM
Store instructions and data so the program can be loaded into memory and executed
What is the purpose of the main memory of the computer
Stores the program instructions and data while executing
What is the main purpose of the Keyboard and mouse
Used for data input
What is the purpose of the monitor
Used to display output from a program
What is the purpose of the arithmetic logic unit inside the CPU
Performs interger arithmetic and logical operations
What is the purpose of the floating point unit inside of the CPU
Performs floating point operations
What is the purpose of harder registers inside of the CPU
Stores data and memory addresses
What is the purpose of an instruction pointer in the CPU
Keeps track of the next instruction to execute
What is the purpose of the CPU Instructions
- Move data from one location to another
- Perform a calculation
- Compare data
- Change the sequence of instructions to execute (the flow of control)
What is the first step in the 5 step Fetch-Decode-Execute Cycle?
The program counter keeps track of the next instruction to be executed
What is the second step Fetch-Decode-Execute Cycle?
The CPU fetches the next instruction from memory and places it into the Instruction Register.
What is the third step Fetch-Decode-Execute Cycle?
The instruction is decoded (is the instruction a move, load, store, etc?)
What is the fourth step Fetch-Decode-Execute Cycle?
The instructions are executed
What is the fifth step Fetch-Decode-Execute Cycle?
This Fetch-Decode-Execute Cycle repeats until the program ends
What is CPU speed rated in
MHz or GHz
What occurs in one clock cycle of a CPU
Fetches an instruction from memory,
decodes the instruction,
executes the instruction
What does pipelining a CPU do
Pipelining allows overlap of operations to improve performance
How many bits is inside of memory cells
One bit
What can a bit’s value be
0 or 2
What does a byte represent
8 bits
What does an OS do when computer is turned on
Boots when the computer is turned on and runs continuously