Font size
WorksheetsDP Coding School Poojapitiya
Total questions: 40
Worksheet time: 1hrs 12mins
What is coding?
Finding and fixing a problem
Using a language to instruct computers on what to do
An action that happens over and over again
Statements that happen under certain conditions
What does a Loop block do?
Gives information
An action that causes something to happen
A way to give information to a computer
Repeats that action
If my program doesn't work, what should I do?
Delete and start over again
Give up...it will never work
Debug the program - check your code block by block
Research the coding language you are using
Which is an event?
Code that makes the sprite create the same movements over and over again is called:
Variable
Conditional
Loop
The main purpose of a variable, is
So you can draw circles and change colors start a function
To have to enter code into the variable and then it will be throughout your program wherever you put the variable.
To assist in finding sprites.
Which of these would create a loop?
Doing something over and over again
sequence
Boolean
debug
loop
A step-by-step procedure for solving a problem or running a program
algorithm
conditional statement
iteration
event handling
Coding can be used to...
Tell computers what to do
Create games, websites, and apps
Program Robots
All of the above
A piece of code with multiple steps that have been simplified down to one command which you can easily call over and over again.
digital footprint
run program
abstraction
function
A letter or symbol to which a some value can be assigned.
Variable
Output
Bug
The language that computers read (1's and 0's)
Primary
Numbers
Binary
Digital
Check off all of the options that the coding type is text-based syntax
Python
Block-based
HTML
JavaScript
What is an error in a program that stops the program from running as expected?
Algorithm
Program
Bug
Code
A command which tells the program when it should start.
event
sprite
blockly
workplane
a computer graphic that may be moved on-screen.
sprite
event
blockly
loop
Also called an inner loop. A loop within a loop
nested loop
refactor
decompose
pattern matching
Statements that run only under certain conditions or situations.
conditionals
nested loop
command
refactor
Finding similarities between things.
pattern matching
variable
event
command
Which 2 of these components are inputs?
user and screen
mouse and speakers
keyboard and mouse
screen and speakers
A placeholder piece of code for information that can change is called
variable
event
command
sequencing
Putting commands in correct order so computers can read the commands.
sequencing
program
variable
conditionals
His last name, Blåtand, translates in English to “________”.
Bluetooth
Greentooth
Redtooth
Yellowtooth
What part of a computing system begins the process?
keyboard
you, the user
mouse
screen
Which 2 of these components are outputs?
keyboard and mouse
user and keyboard
user and mouse
screen and speakers
What are the 6 parts of a computer system, in the correct order (read carefully)?
user, keyboard, speakers, processor, screen and mouse
mouse, user, keyboard, processor, screen and speakers
user, keyboard, mouse, processor, screen and speakers
user, speakers, screen, processor, mouse and keyboard
Which block allows you to type words for a name or message?
show number
show string
show LEDs
show icon
Which block will make your program run continuously?
on start
when button A is pressed
forever
repeat
A sequence of characters (letters, numerals, symbols, and punctuation marks).
Value
Variable
String
Boolean
A chip that processes information and data from input and delivers information or data as an output.
Emulator
Event handler
Data packet
Processor
The period when a program is running. ______ begins when a program is opened (or executed) and ends when the program is closed.
Computations
Variable
Runtime
Smart devices
What will happen after this algorithm is run?
an artist will draw a window
an artist will draw a rocket ship
an artist will draw a house
This sprite is closest to which edge of the game window?
Top
Bottom
Left
Right
Choose all the correct alternatives about this block.
We can assign the space key, letters, numbers and arrows
Each letter can be used only once
The block is used to start an action
It is always the first block of a script
Which block can we use to end an animation?
What is the difference between these blocks?
In Play Sound the volume is higher
In Start Sound the volume is higher
In Play Sound we listen to the whole sound
In Start Sound we listen to the whole sound
Which group of blocks include the "When Flag Clicked" command?
Motion
Looks
Events
Control
