NEW
Font size
Worksheets8th Unit 4 Lesson 2 Test
Total questions: 20
Worksheet time: 10mins
What are the two numbers used in binary code?
1 and 2
0 and 1
5 and 10
0 and 9
What is a "bit"?
A large group of numbers
An individual 1 or 0 in a binary sequence
A type of computer virus
A special keyboard key
Computers process data and execute commands at what speed?
Very slowly
About as fast as a human is capable of writing
At fast, nearly instantaneous speeds
Once every hour
How does the decimal number "2" look in binary?
01
10
11
00
What is the binary number for the decimal number "3"?
100
10
11
01
Which of the following is an example of an "integer"?
6.5
-16
1/2
3.14
What is a "float" or "real number"?
A whole number only
A positive or negative whole number with a decimal
A letter of the alphabet
A number that floats on the screen
Which of these numbers is NOT an integer?
7
0
-100
4.5
In computer science, what are the three categories numbers usually fall into?
Big, Small, and Medium
Short, Long, or Float
Fast, Slow, or Stopped
Binary, Decimal, and Roman
What kind of value represents "True" or "False", or "on" or "off"?
Integer
Float
Boolean
ASCII
How must Boolean values be written in Python to work correctly?
In all lowercase letters
Capitalized (True/False)
With a question mark
As numbers only
What does a double equal sign (==) mean in programming?
The numbers are being added
The numbers are being subtracted
The numbers are being compared
The numbers are being deleted
If a = 5 and b = 5, what is the result of a == b?
False
True
10
0
What code allows computers to handle text using English letters and symbols?
ASCII
Python
Float
Integer
How many bits are used to represent one ASCII character?
2 bits
4 bits
8 bits (1 byte)
100 bits
What does "ASCII" stand for?
American Standard Code for Information Interchange
All Systems Computer Internal Interface
Automated System for Computer Intelligence
Apple Standard Code for Internet Info
Why does ASCII use 8 bits for each character?
To make the file size larger
To allow for 256 different characters to be encoded
Because 8 is a lucky number
To make it harder for humans to read
Which decimal number represents the binary number "101"?
4
5
6
7
What happens if you do not capitalize "True" or "False" in Python?
It works perfectly fine
The computer shuts down
The program will return a coding error
It changes the color of the text
According to the text, what is the key to all computing?
Dragging and dropping pictures effectively to create beautiful designs
Humans' ability to type things very fast
A computer being able to calculate billions of times per second
Using the best keyboard to get the best possible performance
