Font size
WorksheetsCS - A year in Review
Total questions: 100
Worksheet time: 50mins
a step-by-step set of instructions for completing a task
Algorithm
Syntax
Object
Method
the rules for correct spelling, grammar, and punctuation in a programming language
Algorithm
Syntax
Object
Method
The first part of your code. It is a character or thing in the game that can perform actions
Algorithm
Syntax
Object
Method
data that belongs to or is about an object.
Algorithm
Object
Method
Property
an action performed by an object
Method
Property
Arguement
String
extra information put into the parentheses of the method and modifies what the method does
Arguement
Method
Property
String
a type of data that represents text, which is put inside of quotation marks
Algorithm
String
Object
Variable
a programming structure used to repeat actions without needing to write the same lines of code over and over again
Algorithm
String
Variable
Loop
a symbol that represents data. The value of this can be modified over the course of the program
Loop
Sequence
Variable
Comments
the order of the commands in a program.
Variable
Sequence
Loop
Comments
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.
Comments
Sequence
Algorithm
Variable
allow a block of code to be repeated infinitely until the level is completed
While True Loops
If Else Loop
Loopty Loop
Tilt- a- wheel
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.
Peripheral
Touch Screen
Scanner
Bluetooth
A display device that allows a user to interact with a computer by touching, tapping, and swiping areas on the screen.
Touch Screen
Keyboard
Mouse
Laptop
A printer that sprays small dots of ink from an ink reservoir onto a sheet of paper.
Inkjet Printer
Laser Printer
Scanner
Video Graphics Array
A printer that uses electrical charges and heat to fuse tiny plastic particles (called toner) to the paper.
Inkjet Printer
Laser Printer
Scanner
Touchscreen
A device that scans paper documents and converts them into digital files.
Inkjet Printer
Laser Printer
Scanner
Touchscreen
A common interface used to connect peripherals, such as mice, keyboards, printers, and digital cameras to a computer.
Universal Serial Bus (USB)
FireWire
Video Graphics Array (VGA)
Digital Visual Interface (DVI) connector
An interface used to connect peripherals such as digital cameras and external hard drives to a computer. It is no longer commonly used.
Universal Serial Bus (USB)
FireWire
Video Graphics Array (VGA)
Digital Visual Interface (DVI) connector
A connector, identified by its blue color and three rows of pins, that is used to connect older monitors to a computer.
Video Graphics Array (VGA) connector
Digital Visual Interface (DVI) connector
High-Definition Multimedia Interface (HDMI) connector
Registered Jack 45 (RJ-45) connector
A connector, typically white with three rows of eight pins, designed to connect digital monitors to a computer.
Video Graphics Array (VGA) connector
Digital Visual Interface (DVI) connector
High-Definition Multimedia Interface (HDMI) connector
Registered Jack 45 (RJ-45) connector
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.
Video Graphics Array (VGA) connector
Digital Visual Interface (DVI) connector
High-Definition Multimedia Interface (HDMI) connector
Registered Jack 45 (RJ-45) connector
A connector used to connect a computer to a wired network.
Video Graphics Array (VGA) connector
Thunderbolt
High-Definition Multimedia Interface (HDMI) connector
Registered Jack 45 (RJ-45) connector
An interface primarily used on Apple computers that connects a monitor to a computer and can also provide DC power.
Video Graphics Array (VGA) connector
Thunderbolt
High-Definition Multimedia Interface (HDMI) connector
Registered Jack 45 (RJ-45) connector
A communication technology that uses light waves to transmit information through the air.
Infrared
Thunderbolt
High-Definition Multimedia Interface (HDMI) connector
Registered Jack 45 (RJ-45) connector
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.
Infrared
Thunderbolt
Bluetooth
Registered Jack 45 (RJ-45) connector
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.
Infrared
Thunderbolt
Bluetooth
Camera Lens
A light sensitive surface used to capture the image focused by the lens.
Camera Shutter
Photosensitive Material
Bluetooth
Camera Lens
A camera component that sits between the lens and the sensor, allowing light to enter for a short time.
Camera Shutter
Photosensitive Material
Bluetooth
Camera Lens
What are the steps in the Problem-Solving Process?
Reflect, Define, Try, Prepare
Define, Try, Prepare, Reflect
Define, Prepare, Try, Reflect
Try, Prepare, Define, Reflect
What is the 1st Step in the Problem-Solving Process?
Prepare
Define
Reflect
Try
What is the 2nd Step in the Problem-Solving Process?
Try
Reflect
Define
Prepare
What is the 3rd Step in the Problem-Solving Process?
Try
Define
Reflect
Prepare
What is the 4th Step in the Problem-Solving Process?
Prepare
Try
Reflect
Define
Where do we turn in papers?
Trashcan
the box in front of the room
My dog ate it
Give it to Mr. White
What is a proper heading?
First Name
Last Name
Date
Class period
Where did Mr. White go to College?
Texas Tech
Kansas State
Stephen F. Austin State University
Sam Houston State
What type of car is Mr. White Restoring?
1974 Porsche 911
1969 Ford F100
1965 Ford Mustang
1961 VW Beetle
What is the name of Mr. White's Dog?
(a)
telling a computer what to do.
Command
Code
Developers
write code to build their own apps and games
Developers
Sequence
Code
a specific action for the computer to perform
Sequence
Command
Function
the order in which the command are given.
Code
Commands
Sequence
an error in your code
Bug
Debugging
Sequence
the process of identifying and removing errors from your code so you can meet your goals
Bugging
Debugging
Algorithm
A sequence of instructions that can be used to solve a problem or set of problems
Algorithm
Condition
Syntax
a command that lets us repeat an action multiple times in your code
Decomposition
Coding
Loop
a set of rules for how things are spelled and formatted in code so that the computer can understand it
Syntax
Sequence
Loop
What is a logical error?
the wrong direction or human error
a misspelling or wrong format of the code
the code doesn't work
What is a syntax error?
a wrong direction or human error
a misspelling or wrong format in code
the code doesn't work
Code Bank
a method that changes the look of your player
a method that changes the look of your background
A play to find more information about the different method and tools you can use while you code.
a method that changes the size of your games map
Helper.setBackgroud(“crystal”):
a method that changes the look of your player
a method that changes the look of your background
A play to find more information about the different method and tools you can use while you code.
a method that changes the size of your games map
helper.setMapSize(“small”)
a method that changes the look of your player
a method that changes the look of your background
A play to find more information about the different method and tools you can use while you code.
a method that changes the size of your games map
helper.setPlayer(“turtle”)
a method that changes the look of your player
a method that changes the look of your background
A play to find more information about the different method and tools you can use while you code.
a method that changes the size of your games map
How many buttons are on the Circuit Playground?
1
2
3
4
How many sliding switches are on the Circuit Playground?
0
1
2
3
Which of these ARE on the Circuit Playground?
LED
Sound Sensor
Motion Sensor
Temperature Sensor
Light Sensor
How many of the LED's can display the color green?
0
1
10
11
All of them
How many of the LED's are capable of displaying any RGB color?
0
1
10
11
12
How does the Circuit Playground communicate with a computer?
Telepathically
Wirelessly
USB
Ethernet
The Circuit Playground plays music using the speaker in your computer.
True
False
What is the least number of LED's that will be ON when the Circuit Playground is running a program?
0
1
2
3
What is the default state of the Circuit Playground when it is first plugged in? (Choose all that are true)
The power LED is on.
The red LED blinks for a moment.
A rainbow pattern is displayed repeatedly.
The speaker makes 3 clicking noises.
The red LED pulses repeatedly.
This plug goes where?
In the desktop computer USB port
In the Circuit Playground USB port
In the power slot of the Circuit Playground
In the power receptacle on the wall
What does LED stand for?
Light Emitting Diode
Lego Education Department
Little Electronic Device
Lead Erasing Director
This code block responds to events from where?
the app screen
your Circuit Playground
the start of your code
the end of your code
This code block responds to events from where?
the Circuit Playground
the App screen or controls
the computer's operating system
at the end of your code
How often does the "change" parameter cause an onBoardEvent to run?
constantly (every 100 ms)
once
only when data changes from the last reading
twice
Which of these could correctly display the sound volume on an app screen?
None of these.
What does this code do?
Updates the screen every few milliseconds with bright red.
Turns the screen a shade of red whenever the sound level changes.
Updates the screen every few milliseconds with a shade of red.
Turns the screen bright red whenever the sound level changes.
What color is created here?
Red
Green
Blue
Black
White
What is a bug in a program?
a computer virus
a mistake or problem in the code
a creepy, crawly insect that makes Mrs. Altman scream.
a hacker
Look at the image. What is the line of code for the rectangle?
rect (400, 400);
ellipse (200, 400);
rect (0, 0);
ellipse (0, 0);
What is it called when we go in and fix a problem in our program?
bugging
debugging
hacking
shutting down
Look at the image. What line of code made the entire screen appear blue?
background ("blue");
fill ("blue");
rect ("blue");
color ("blue");
What line of code creates a yellow outline around the circle?
fill("yellow");
noStroke("yellow");
background ("yellow");
stroke("yellow");
What are parameters in code?
the outside measurement of a room
the name of a shape
the specific details in a line of code
the line numbers in a program
DEBUG! Why is the cloud not showing up?
They are the wrong color.
What cloud?
The cloud is off of the grid.
The background code is covering it up because it in the wrong order.
Look at the line of code. What does the number 173 represent?
the x coordinate of the circle
the width of the circle
the y coordinate of the circle
the height of the circle
What do we call a piece of code that STORES information to be used later on in the program?
variable
random number
ellipse
storage
What does the randomNumber code do to our program?
switches our program order
adds variables
makes it react differently each time
writes the code for us
What is missing from the line of code?
rect (100, 234, 24, 65)
a period
the semi-colon ;
nothing, it looks great!
the rest of the word rectangle
What does the = sign mean in the line of code?
var playerScore = 0;
is equal to
is not equal to
gets the value or gets
What is NOT a rule when creating a variable label?
It cannot start with a number.
It cannot have spaces.
It has to be called out exactly as it was named.
It must contain the letter e.
What is the biggest difference between Javascript and Python?
The Lore
Mouse is a cat
;
Python is a snake
Select candy, gum, and chocolate only.
What will be the output?
name = "Dave"
print (name)
Dave
'Dave'
name
(name)
What is Algorithm?
Fixing bugs
Functions
A sequence of instructions
Game design
Fixing errors in programming is called ...
Optimization
Debugging
Looping
Cleaning
A command that lets us repeat an action multiple times in your code
Algorithm
Loop
Variable
Method
Which line of code is used to make a loop?
for i in range(5)
# Code normally executes in the order it's written.
hero.build("upArrow")
a = "door"
Find the object in the following code:
helper.build("upArrow")
helper
build()
upArrow
hero
Find the argument in the following code:
hero.moveUp(4)
hero
moveUp()
4
Up()
Find the method in the following code:
hero.use("door")
hero
use()
door
" "
Which python operator means 'less than or equal to'?
>=
>
<
<=
Python uses indentation to block code into chunks
True
False
