wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

CS - A year in Review

Total questions: 100

Worksheet time: 50mins

Name
Class
Date
1.

a step-by-step set of instructions for completing a task

a)

Algorithm

b)

Syntax

c)

Object

d)

Method

2.

the rules for correct spelling, grammar, and punctuation in a programming language

a)

Algorithm

b)

Syntax

c)

Object

d)

Method

3.

The first part of your code. It is a character or thing in the game that can perform actions

a)

Algorithm

b)

Syntax

c)

Object

d)

Method

4.

data that belongs to or is about an object.

a)

Algorithm

b)

Object

c)

Method

d)

Property

5.

an action performed by an object

a)

Method

b)

Property

c)

Arguement

d)

String

6.

extra information put into the parentheses of the method and modifies what the method does

a)

Arguement

b)

Method

c)

Property

d)

String

7.

a type of data that represents text, which is put inside of quotation marks

a)

Algorithm

b)

String

c)

Object

d)

Variable

8.

a programming structure used to repeat actions without needing to write the same lines of code over and over again

a)

Algorithm

b)

String

c)

Variable

d)

Loop

9.

a symbol that represents data. The value of this can be modified over the course of the program

a)

Loop

b)

Sequence

c)

Variable

d)

Comments

10.

the order of the commands in a program.

a)

Variable

b)

Sequence

c)

Loop

d)

Comments

11.

lines you write in the program that the computer doesn't read. If you start a line with the # symbol, the computer doesn't see it.

a)

Comments

b)

Sequence

c)

Algorithm

d)

Variable

12.

allow a block of code to be repeated infinitely until the level is completed

a)

While True Loops

b)

If Else Loop

c)

Loopty Loop

d)

Tilt- a- wheel

13.

A device, usually external to a computer, that is plugged into a computer's communication port or is connected wirelessly. Common examples are keyboards, mice, monitors, speakers, and printers.

a)

Peripheral

b)

Touch Screen

c)

Scanner

d)

Bluetooth

14.

A display device that allows a user to interact with a computer by touching, tapping, and swiping areas on the screen.

a)

Touch Screen

b)

Keyboard

c)

Mouse

d)

Laptop

15.

A printer that sprays small dots of ink from an ink reservoir onto a sheet of paper.

a)

Inkjet Printer

b)

Laser Printer

c)

Scanner

d)

Video Graphics Array

16.

A printer that uses electrical charges and heat to fuse tiny plastic particles (called toner) to the paper.

a)

Inkjet Printer

b)

Laser Printer

c)

Scanner

d)

Touchscreen

17.

A device that scans paper documents and converts them into digital files.

a)

Inkjet Printer

b)

Laser Printer

c)

Scanner

d)

Touchscreen

18.

A common interface used to connect peripherals, such as mice, keyboards, printers, and digital cameras to a computer.

a)

Universal Serial Bus (USB)

b)

FireWire

c)

Video Graphics Array (VGA)

d)

Digital Visual Interface (DVI) connector

19.

An interface used to connect peripherals such as digital cameras and external hard drives to a computer. It is no longer commonly used.

a)

Universal Serial Bus (USB)

b)

FireWire

c)

Video Graphics Array (VGA)

d)

Digital Visual Interface (DVI) connector

20.

A connector, identified by its blue color and three rows of pins, that is used to connect older monitors to a computer.

a)

Video Graphics Array (VGA) connector

b)

Digital Visual Interface (DVI) connector

c)

High-Definition Multimedia Interface (HDMI) connector

d)

Registered Jack 45 (RJ-45) connector

21.

A connector, typically white with three rows of eight pins, designed to connect digital monitors to a computer.

a)

Video Graphics Array (VGA) connector

b)

Digital Visual Interface (DVI) connector

c)

High-Definition Multimedia Interface (HDMI) connector

d)

Registered Jack 45 (RJ-45) connector

22.

A connector now available on a wide variety of devices such as computers, monitors, TVs, Blu-Ray players, and more. HDMI is used to transfer high-definition signals. It supports both audio and video data.

a)

Video Graphics Array (VGA) connector

b)

Digital Visual Interface (DVI) connector

c)

High-Definition Multimedia Interface (HDMI) connector

d)

Registered Jack 45 (RJ-45) connector

23.

A connector used to connect a computer to a wired network.

a)

Video Graphics Array (VGA) connector

b)

Thunderbolt

c)

High-Definition Multimedia Interface (HDMI) connector

d)

Registered Jack 45 (RJ-45) connector

24.

An interface primarily used on Apple computers that connects a monitor to a computer and can also provide DC power.

a)

Video Graphics Array (VGA) connector

b)

Thunderbolt

c)

High-Definition Multimedia Interface (HDMI) connector

d)

Registered Jack 45 (RJ-45) connector

25.

A communication technology that uses light waves to transmit information through the air.

a)

Infrared

b)

Thunderbolt

c)

High-Definition Multimedia Interface (HDMI) connector

d)

Registered Jack 45 (RJ-45) connector

26.

A short-range wireless communication technology used to connect peripherals such as wireless headphones, speakers, keyboards, mice, smart watches, printers, and game controllers to a computer, including smartphones.

a)

Infrared

b)

Thunderbolt

c)

Bluetooth

d)

Registered Jack 45 (RJ-45) connector

27.

A camera component that focuses the light that enters it into a point. Behind the point, the light spreads out again, eventually creating an upside-down image of the light that entered.

a)

Infrared

b)

Thunderbolt

c)

Bluetooth

d)

Camera Lens

28.

A light sensitive surface used to capture the image focused by the lens.

a)

Camera Shutter

b)

Photosensitive Material

c)

Bluetooth

d)

Camera Lens

29.

A camera component that sits between the lens and the sensor, allowing light to enter for a short time.

a)

Camera Shutter

b)

Photosensitive Material

c)

Bluetooth

d)

Camera Lens

30.

What are the steps in the Problem-Solving Process?

a)

Reflect, Define, Try, Prepare

b)

Define, Try, Prepare, Reflect

c)

Define, Prepare, Try, Reflect

d)

Try, Prepare, Define, Reflect

31.

What is the 1st Step in the Problem-Solving Process?

a)

Prepare

b)

Define

c)

Reflect

d)

Try

32.

What is the 2nd Step in the Problem-Solving Process?

a)

Try

b)

Reflect

c)

Define

d)

Prepare

33.

What is the 3rd Step in the Problem-Solving Process?

a)

Try

b)

Define

c)

Reflect

d)

Prepare

34.

What is the 4th Step in the Problem-Solving Process?

a)

Prepare

b)

Try

c)

Reflect

d)

Define

35.

Where do we turn in papers?

a)

Trashcan

b)

the box in front of the room

c)

My dog ate it

d)

Give it to Mr. White

36.

What is a proper heading?

a)

First Name

b)

Last Name

c)

Date

d)

Class period

37.

Where did Mr. White go to College?

a)

Texas Tech

b)

Kansas State

c)

Stephen F. Austin State University

d)

Sam Houston State

38.

What type of car is Mr. White Restoring?

a)

1974 Porsche 911

b)

1969 Ford F100

c)

1965 Ford Mustang

d)

1961 VW Beetle

39.

What is the name of Mr. White's Dog?

(a)  

40.

telling a computer what to do.

a)

Command

b)

Code

c)

Developers

41.

write code to build their own apps and games

a)

Developers

b)

Sequence

c)

Code

42.

a specific action for the computer to perform

a)

Sequence

b)

Command

c)

Function

43.

the order in which the command are given.

a)

Code

b)

Commands

c)

Sequence

44.

an error in your code

a)

Bug

b)

Debugging

c)

Sequence

45.

the process of identifying and removing errors from your code so you can meet your goals

a)

Bugging

b)

Debugging

c)

Algorithm

46.

A sequence of instructions that can be used to solve a problem or set of problems

a)

Algorithm

b)

Condition

c)

Syntax

47.

a command that lets us repeat an action multiple times in your code

a)

Decomposition

b)

Coding

c)

Loop

48.

a set of rules for how things are spelled and formatted in code so that the computer can understand it

a)

Syntax

b)

Sequence

c)

Loop

49.

What is a logical error?

a)

the wrong direction or human error

b)

a misspelling or wrong format of the code

c)

the code doesn't work

50.

What is a syntax error?

a)

a wrong direction or human error

b)

a misspelling or wrong format in code

c)

the code doesn't work

51.

Code Bank

a)

 a method that changes the look of your player

b)

a method that changes the look of your background

c)

A play to find more information about the different method and tools you can use while you code.

d)

a method that changes the size of your games map

52.

Helper.setBackgroud(“crystal”):

a)

 a method that changes the look of your player

b)

a method that changes the look of your background

c)

A play to find more information about the different method and tools you can use while you code.

d)

a method that changes the size of your games map

53.

helper.setMapSize(“small”)

a)

 a method that changes the look of your player

b)

a method that changes the look of your background

c)

A play to find more information about the different method and tools you can use while you code.

d)

a method that changes the size of your games map

54.

helper.setPlayer(“turtle”)

a)

 a method that changes the look of your player

b)

a method that changes the look of your background

c)

A play to find more information about the different method and tools you can use while you code.

d)

a method that changes the size of your games map

55.

How many buttons are on the Circuit Playground?

a)

1

b)

2

c)

3

d)

4

56.

How many sliding switches are on the Circuit Playground?

a)

0

b)

1

c)

2

d)

3

57.

Which of these ARE on the Circuit Playground?

a)

LED

b)

Sound Sensor

c)

Motion Sensor

d)

Temperature Sensor

e)

Light Sensor

58.

How many of the LED's can display the color green?

a)

0

b)

1

c)

10

d)

11

e)

All of them

59.

How many of the LED's are capable of displaying any RGB color?

a)

0

b)

1

c)

10

d)

11

e)

12

60.

How does the Circuit Playground communicate with a computer?

a)

Telepathically

b)

Wirelessly

c)

USB

d)

Ethernet

61.

The Circuit Playground plays music using the speaker in your computer.

a)

True

b)

False

62.

What is the least number of LED's that will be ON when the Circuit Playground is running a program?

a)

0

b)

1

c)

2

d)

3

63.

What is the default state of the Circuit Playground when it is first plugged in? (Choose all that are true)

a)

The power LED is on.

b)

The red LED blinks for a moment.

c)

A rainbow pattern is displayed repeatedly.

d)

The speaker makes 3 clicking noises.

e)

The red LED pulses repeatedly.

64.

This plug goes where?

a)

In the desktop computer USB port

b)

In the Circuit Playground USB port

c)

In the power slot of the Circuit Playground

d)

In the power receptacle on the wall

65.

What does LED stand for?

a)

Light Emitting Diode

b)

Lego Education Department

c)

Little Electronic Device

d)

Lead Erasing Director

66.

This code block responds to events from where?

a)

the app screen

b)

your Circuit Playground

c)

the start of your code

d)

the end of your code

67.

This code block responds to events from where?

a)

the Circuit Playground

b)

the App screen or controls

c)

the computer's operating system

d)

at the end of your code

68.

How often does the "change" parameter cause an onBoardEvent to run?

a)

constantly (every 100 ms)

b)

once

c)

only when data changes from the last reading

d)

twice

69.

Which of these could correctly display the sound volume on an app screen?

a)
b)
c)
d)

None of these.

70.

What does this code do?

a)

Updates the screen every few milliseconds with bright red.

b)

Turns the screen a shade of red whenever the sound level changes.

c)

Updates the screen every few milliseconds with a shade of red.

d)

Turns the screen bright red whenever the sound level changes.

71.

What color is created here?

a)

Red

b)

Green

c)

Blue

d)

Black

e)

White

72.

What is a bug in a program?

a)

a computer virus

b)

a mistake or problem in the code

c)

a creepy, crawly insect that makes Mrs. Altman scream.

d)

a hacker

73.

Look at the image. What is the line of code for the rectangle?

a)

rect (400, 400);

b)

ellipse (200, 400);

c)

rect (0, 0);

d)

ellipse (0, 0);

74.

What is it called when we go in and fix a problem in our program?

a)

bugging

b)

debugging

c)

hacking

d)

shutting down

75.

Look at the image. What line of code made the entire screen appear blue?

a)

background ("blue");

b)

fill ("blue");

c)

rect ("blue");

d)

color ("blue");

76.

What line of code creates a yellow outline around the circle?

a)

fill("yellow");

b)

noStroke("yellow");

c)

background ("yellow");

d)

stroke("yellow");

77.

What are parameters in code?

a)

the outside measurement of a room

b)

the name of a shape

c)

the specific details in a line of code

d)

the line numbers in a program

78.

DEBUG! Why is the cloud not showing up?

a)

They are the wrong color.

b)

What cloud?

c)

The cloud is off of the grid.

d)

The background code is covering it up because it in the wrong order.

79.

Look at the line of code. What does the number 173 represent?

a)

the x coordinate of the circle

b)

the width of the circle

c)

the y coordinate of the circle

d)

the height of the circle

80.

What do we call a piece of code that STORES information to be used later on in the program?

a)

variable

b)

random number

c)

ellipse

d)

storage

81.

What does the randomNumber code do to our program?

a)

switches our program order

b)

adds variables

c)

makes it react differently each time

d)

writes the code for us

82.

What is missing from the line of code?


rect (100, 234, 24, 65)

a)

a period

b)

the semi-colon ;

c)

nothing, it looks great!

d)

the rest of the word rectangle

83.

What does the = sign mean in the line of code?


var playerScore = 0;

a)

is equal to

b)

is not equal to

c)

gets the value or gets

84.

What is NOT a rule when creating a variable label?

a)

It cannot start with a number.

b)

It cannot have spaces.

c)

It has to be called out exactly as it was named.

d)

It must contain the letter e.

85.

What is the biggest difference between Javascript and Python?

a)

The Lore

b)

Mouse is a cat

c)

;

d)

Python is a snake

86.

Select candy, gum, and chocolate only.

a)
b)
c)
d)
e)
87.
What is a variable?
a)
A box(memory location) where you store values
b)
a type of graphics
c)
Data type
d)
a type of memory
88.
What symbol is used in python to assign values to a variable?
a)
equals =
b)
plus + 
c)
forward slash /
d)
asterisk *
89.

What will be the output?

name = "Dave"

print (name)

a)

Dave

b)

'Dave'

c)

name

d)

(name)

90.
What is Python?
a)
text based programming language
b)
word processor 
c)
spreadsheet
d)
block based programming language
91.

What is Algorithm?

a)

Fixing bugs

b)

Functions

c)

A sequence of instructions

d)

Game design

92.

Fixing errors in programming is called ...

a)

Optimization

b)

Debugging

c)

Looping

d)

Cleaning

93.

A command that lets us repeat an action multiple times in your code

a)

Algorithm

b)

Loop

c)

Variable

d)

Method

94.

Which line of code is used to make a loop?

a)

for i in range(5)

b)

# Code normally executes in the order it's written.

c)

hero.build("upArrow")

d)

a = "door"

95.

Find the object in the following code:

helper.build("upArrow")

a)

helper

b)

build()

c)

upArrow

d)

hero

96.

Find the argument in the following code:

hero.moveUp(4)

a)

hero

b)

moveUp()

c)

4

d)

Up()

97.

Find the method in the following code:

hero.use("door")

a)

hero

b)

use()

c)

door

d)

" "

98.

Which python operator means 'less than or equal to'?

a)

>=

b)

>

c)

<

d)

<=

99.

Python uses indentation to block code into chunks

a)

True

b)

False

100.
A syntax error means your code has a 'grammar' mistake or you used symbols/operations incorrectly
a)
True
b)
False