Font size
WorksheetsCoding-Complex
Total questions: 50
Worksheet time: 38mins
A list of steps to finish a task.
coding
abstraction
algorithm
binary
block-based programming
A way of representing information using only two options.
coding
abstraction
algorithm
binary
block-based programming
In a certain code, SPRING is written as URTKPI. How will the word MOBILE be written in that code language?
KQEFPA
OMDGNC
OQDKNG
None of these
If TRUTH is coded as SUQSTVSUGI, then the code for FALSE will be
EGZBKMRDE
EGZKMRTDF
EGZBKMRTDF
FGZBKNRTDF
If BE QUICK is coded as ZC OSGAI, then the code of the last letter of the third word in the sentence I LOVE MY COUNTRY is
A
T
U
W
A variable
is a placeholder for a piece of information that can change.
is like a bucket for holding information.
can be written as letters or with longer words.
all of these
Which symbol means "not equal to"?
==
<=
>=
!=
All programs are finally converted into _______________.
common code
media code
binary code
best code
____________________ is a language used to build interactive websites.
Python
Java
Javascript
MATLAB
WHAT IS THE CORRECT CODE TO COMPLETE THIS PROGRAM?
WHAT HAVE YOU LEARNED IN CODING
FOR LOOPS
IF/ELSE STATMENTS
WHILE LOOP
REPEAT UNTIL LOOP
WHICH OPTION IS CORRECT ?
SOLVE
WHAT IS A FUNCTION?
A FUNCTION is a block of organized, reusable CODE that is used to perform a single, related action
A FUNCTION IS A SET OF INSTRUCTION THAT CAN BE USED AGAIN AND AGAIN
What are events?
Events are instructions to the computer.
Events are the blocks that triggers some action
Events are the buttons we press for some actions
Which are the Boolean Operators in Coding?
AND, NOT
AND,OR, NOT
OR, NOT
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
Statements that can only run under certain conditions or situations such as: if the seat is taken, then move to the next available seat.
conditionals (if/then statements)
variable
abstractions
binary
The main purpose of a variable, is
So you can draw circles and change colors.
To have to enter code into the variable and then it will be throughout your program wherever you put the variable.
So you don't have to change maybe hundreds of pieces of code, you can do it with only one change in the variable
To help you find sprites.
Which of these allows the user to enter text?
None of these.
This control is frequently used to let the user start an action.
The User Interface or UI of an app refers to..
One button on the screen
The layout of the screen that a person interacts with
The On/Off button
An event
text colour, background colour, X and Y position, text and font size are examples of
Properties
elements
design
app presentation
Which of these could be used to display a different page?
App Lab is used for?
Making a Drawing
a. Making a Mobile App
a. Making a Web Site
Which programming language is used in App Lab?
Python
MSW Logo
Scratch
JavaScript
.The OnEvent block is used to
Change property of elements in an app
Respond to events
Create a new app
What Is RGB & how many shades of RGB are there?
Red, Yellow, Purple (255 Shades)
Red, Green, Blue (255 Shades)
Red, Green, Blue (256 Shades)
Red, Green, Black (256 Shades)
What will be displayed?
A dog
A cat
A rectangle
Two rectangles
A dog and a cat
A placeholder for a piece of information that can change.
variable
event
command
sequencing
Which of these is a loop?
if(x<10)
for( var x=0; x<10; x++)
var x=10;
loop(x,10;10)
What is the symbol used for the INCREMENT operator in Javascript?
+
++
=
==
Repeat something 10 times
repeat 10
for (var i=0; i<10; i++)
repeat { } until 10;
while (i = 10)
Defining variable for the first time.
Declare a Variable
Variable
Console
readLine
what is the __ missing in this loop
for ( ____ ; x<10; x++);
set a start value for x
exit the loop when x is 11
start x at zero
the loop is not missing code
Repeat something 10 times
repeat 10
for (var i=0; i<10; i++)
repeat { } until 10;
while (i = 10)
A variable is just a _____ for storing a____
constant; value
container; value
constant; variable
container; variable
Which of the following are examples of variables in a video game code?
character
score
lives
map
What word signals to the computer that you are about to create a variable?
var
con
=
score
Order when creating variables is important. The label must appear on the ____and the value must appear on the ____
left; right
right; left
Read the following line of code and decide what would be displayed on the screen.
var score;
score=100
write("score")
the word score
the value 100
To Check the Mathematical condition in If block, what we use?
=
==
!=
++
What is the difference between above 2 in Variables?
Var x = is used to declare the variable
x= is used to assign the value to variable
We first declare & assign value using Var x= and then use x= during the further coding
We cannot use Var x= only to assign value to the variable
