wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

8th Unit 4 Lesson 2 Test

Total questions: 20

Worksheet time: 10mins

Name
Class
Date
1.

What are the two numbers used in binary code?

a)

1 and 2

b)

0 and 1

c)

5 and 10

d)

0 and 9

2.

What is a "bit"?

a)

A large group of numbers

b)

An individual 1 or 0 in a binary sequence

c)

A type of computer virus

d)

A special keyboard key

3.

Computers process data and execute commands at what speed?

a)

Very slowly

b)

About as fast as a human is capable of writing

c)

At fast, nearly instantaneous speeds

d)

Once every hour

4.

How does the decimal number "2" look in binary?

a)

01

b)

10

c)

11

d)

00

5.

What is the binary number for the decimal number "3"?

a)

100

b)

10

c)

11

d)

01

6.

Which of the following is an example of an "integer"?

a)

6.5

b)

-16

c)

1/2

d)

3.14

7.

What is a "float" or "real number"?

a)

A whole number only

b)

A positive or negative whole number with a decimal

c)

A letter of the alphabet

d)

A number that floats on the screen

8.

Which of these numbers is NOT an integer?

a)

7

b)

0

c)

-100

d)

4.5

9.

In computer science, what are the three categories numbers usually fall into?

a)

Big, Small, and Medium

b)

Short, Long, or Float

c)

Fast, Slow, or Stopped

d)

Binary, Decimal, and Roman

10.

What kind of value represents "True" or "False", or "on" or "off"?

a)

Integer

b)

Float

c)

Boolean

d)

ASCII

11.

How must Boolean values be written in Python to work correctly?

a)

In all lowercase letters

b)

Capitalized (True/False)

c)

With a question mark

d)

As numbers only

12.

What does a double equal sign (==) mean in programming?

a)

The numbers are being added

b)

The numbers are being subtracted

c)

The numbers are being compared

d)

The numbers are being deleted

13.

If a = 5 and b = 5, what is the result of a == b?

a)

False

b)

True

c)

10

d)

0

14.

What code allows computers to handle text using English letters and symbols?

a)

ASCII

b)

Python

c)

Float

d)

Integer

15.

How many bits are used to represent one ASCII character?

a)

2 bits

b)

4 bits

c)

8 bits (1 byte)

d)

100 bits

16.

What does "ASCII" stand for?

a)

American Standard Code for Information Interchange

b)

All Systems Computer Internal Interface

c)

Automated System for Computer Intelligence

d)

Apple Standard Code for Internet Info

17.

Why does ASCII use 8 bits for each character?

a)

To make the file size larger

b)

To allow for 256 different characters to be encoded

c)

Because 8 is a lucky number

d)

To make it harder for humans to read

18.

Which decimal number represents the binary number "101"?

a)

4

b)

5

c)

6

d)

7

19.

What happens if you do not capitalize "True" or "False" in Python?

a)

It works perfectly fine

b)

The computer shuts down

c)

The program will return a coding error

d)

It changes the color of the text

20.

According to the text, what is the key to all computing?

a)

Dragging and dropping pictures effectively to create beautiful designs

b)

Humans' ability to type things very fast

c)

A computer being able to calculate billions of times per second

d)

Using the best keyboard to get the best possible performance