wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Welcome back ECS Review

Total questions: 20

Worksheet time: 14mins

Name
Class
Date
1.

Which of these declares a variable properly in Python?

a)

print("bar")

b)

foo = "bar"

c)

foo = (bar)

d)

foo = bar

2.

Choose the computers below (choose all that apply):

a)

Laptop

b)

Typewriter

c)

Book

d)

A video game (not the console!)

3.

If the way we count in math is base 10, what is binary?

a)

Base 1

b)

Base 2

c)

Base 3

d)

Base 4

4.

Why do we use input variables in Python?

a)

To get data from the user

b)

To declare data right away

c)

To process data that's already added

d)

To compare data to other variables

5.

What is an algorithm?

a)

A variable

b)

An if/else statement

c)

A series of step by step instructions

d)

A description of your code

6.

What are the four things an object needs to be a computer?

a)

Power, storage, processing, input

b)

Input, output, storage, power

c)

Output, power, processing, input

d)

Input, output, storage, processing

7.

How many bits are in a byte?

a)

1024

b)

256

c)

1000

d)

8

8.

What is the smallest unit of storage in a computer?

a)

Tetrabyte

b)

Bit

c)

Byte

d)

Kilobyte

9.

What do bits store? (Select all that apply)

a)

1s and 0s

b)

bytes

c)

binary

d)

variables

10.

Which of the following does RAM fall into?

a)

Input

b)

Output

c)

Storage

d)

Processing

11.

Where would you find eMMC storage?

a)

A laptop

b)

A gaming PC

c)

A cellphone

d)

A PS5

12.

Write 197 in binary. Yes, you can get out your phone to use as a calculator.

(Remember: 128 64 32 16 8 4 2 1)

(a)  

13.

Which of the following is an integer variable?

a)

foo="bar"

b)

foo=7.1

c)

foo=8

d)

foo=12n+9

14.

Which of these is a list?

a)

foo=["a", "b", "c"]

b)

foo={"a", "b", "c"}

c)

foo=("a", "b", "c")

15.

What makes something a float? (Select all that apply)

a)

A number

b)

Quotations

c)

Parentheses

d)

A decimal

16.

What is the one word that defines a complex data type?

a)

Word

b)

Variable

c)

Algebra

d)

Number

17.

Choose the correct way of creating an input variable.

a)

foo=insert("bar")

b)

foo=input("apple")

c)

foo=input("instructions to the user")

d)

foo=input

18.

Which string is concatenated correctly, if foo="time"? (Pay attention to spaces!)

a)

"Once upon a " +foo+"..."

b)

Once upon a +"foo"+ ...

c)

"Once upon a" +foo+ "..."

d)

"Once upon a" + "foo" + "..."

19.

I want to print a variable, foo. Which print statement is correct?

a)

print("foo")

b)

print(foo)

c)

print=foo

d)

print=(foo)

20.

You can't access the new CodeKeyz, because it says you haven't fulfilled the requirements. What do you need to do? (All of these have happened! Maybe in your class!)

a)

Go ask the teacher for help.

b)

Tell the teacher you can't do it, and it's her fault.

c)

Finish the CodeKeyz you haven't completed.

d)

Play video games instead.