AP CS Unit 1 test Flashcards
What is a computer? (Lesson 1)
A computer is a machine that works with information
What does the letters stand for in IOPS
Input _Output _Proccesing _Storage
Hardware
Physical parts required for a computer to run
Software
set of instructions that allows hardware to perform different task
Lesson 2 “ Parts of a Computer “
Lesson 2 starting now
Mother Board
-Nervous system of a computer
-The main circuit of the computer
-All parts connect to it
- Allows communication between other parts of the computer
CPU
- the “Brain” of the computer
- Executes all compands for the computer
-Tells everything what to do - If its dead or off nothing will work
-Measured by Hertz ( MHz ,GHz)
What does CPU stand for
Central Proccesing Unit
GPU
- The “eyes and mucsle “ of the computer
-Displays what you see , handles most heavy task - Handles all the visual data
-Measured by speed in Hertz (MHz , GHZ)
What does GPU stand for ?
Graphic Proccessing Unit
RAM
- ” short term memory “
Temporary space for the CPU to work
-Measured in Bytes
What does RAM stand for
Random Access Memory
Hard Drive
” Long term memory
- Storage space for all software (files ,apps ,programs operationg system ect.)
-Measuring Bytes
Power Supply
“energy”
Supplies all the parts of the computer with energy
Network card
Allows the computer to connect with the internet
Lesson 3&4
Repeersenting Images & Binary Numbers
How is binary counted
2^1
Bit is short for what ?
Binary digit
A bit can be only 2 numbers what are thoose 2 numbers ?
1 + 0
8 bits create (blank) ?
1 byte
1 is ?
ON
0 is ?
OFF
Binary number start with what number
Zero
Steps to turning a decimal number to a binary number ( Example 3)
3’s largest number it can go into is 2^1 which iks 2 . But with 1 left over it can do into 2^0 which is 1 . Making the 3’s binary number 11.
Example 17
The largest power of 2 ) 17 can go into is 2^4 which is 16 . Leaving on beind which is 2^0 .
Makng its Binnary number 10001
SIde Note
Side Note : where the 1’s are in bainary mean thats where the number can fit into and the zeros are where in couldn’t
- Exampe - 16 which is 2^4 . Which is 5 places . and since the number 16 goes into 16 once there is only one 1 . Binary number - 10000
Turning Binary back into decimal
1000 is a binary number , that has 4 places . Since the power of 2 starts with zero 4 places mean 2 to the power of 3 which 8 . So 1000 is 8 in decimal
Lesson 5
Overflow and rounding error
If to have to but 2.10 in binary what would it be .
4or2
2
$4.16 rounding . 4 or 2
4
Lesson 6
Repersenting Text