WorksheetsComputer Coding Basics
Total questions: 26
Worksheet time: 14mins
What is the name for the basic orders given to a computer?
Algorithm
Code
Line
Petition
Does code-by-blocks allow you to program without having a deep knowledge on programming languages?
True
False
Which is the main character of Scratch?
A cat
A dog
A fox
A mouse
Scratch allows you to do...
animations
paintings
music
All of them are correct
When you're programming, is there only one way to resolve the problem right?
True
False
What kind of instructions are used to do a repetitive task?
A function
A condition
A loop
An event
Which is the best method to encapsulate code that execute a determinate task?
A loop
A condition
A function
An event
Which kind of instructions respond to external actions (i.e. mouse click or key typped in keyboard)?
A loop
A condition
A function
An event
The 21st century is
the digital age
all about electricity
the age of physics
An If/Else statement is
a command that tells the computer to repeat an action
a normal computer function
a decision between 2 things
Computers are really good at
turning themselves off
repeating commands
not working
doing jobs for humans
When you define your own command and give it a command
instruction
loop
function
code
When you get to a computer program and repeat a command, you can give it an exact number of times to
repeat
end
HTML is the code used to create
games
UI
webpages
a green flag or play button that must be clicked to run the program
null
output
go
loop
What is coding?
something used to develop computer programs
a form of "language" used to communicate computer actions
an essential part to everything we do online
All of these
Look at the picture. Which answer describes the code pictured?
travels forward, then backwards, then turns purple
travels forward, then left, then turns purple
travels left, then backwards, then turns blue
this robot does not move
A name that refers to a value. Stores a piece of data, and gives it a specific name.
declaration
variable
operator
source
Any finite sequence of characters (i.e., letters, numerals, symbols and punctuation marks).
String
Commenting
Casting
Boolean
Which symbol is used to indicate a comment?
&
@
=
#
Finding and fixing errors in programs
Defining
Decompose
Debugging
Fixing
What is the definition of a variable?
Something that is stored by the computer but the value changes.
Something used by the computer
Something that cannot be changed
Something that is not stored but the value changes
a 'sequence' is
a clever piece of computer code
a programming language
a set of instructions carried out in order
a piece of code that is rarely used
Interpret the following code. how many steps will the sprite take in total?
5
-5
10
0
Definition: Writing instructions in special languages
algorithm
coding
function
loop
