stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
Programming - Intermediate Flashcards | StudBud
Explore
/
Programming - Intermediate
Programming - Intermediate
18 terms
·
StudBud Administration
·
2,238 plays
#KS3 #Programming #Basics #Javascript #Coding
Flashcards
18 cards
F
Practice quiz
P
Host live
L
Questions
18
Answers
1
What is the Javascript symbol for '
greater than
'?
>=
<=
>
<
2
Putting processes in the
correct order
is known as creating a...
Iteration/Loop
Selection
Sequence
Decision
3
In the following code the
first two numbers
control the ellipse's...
Size
Shape
Colour
Position
4
What will be
TRUE
about the shape that is drawn using this code?
In the centre of the canvas
Blue colour
No stroke
A perfect circle
5
JavaScript
is used mostly in...
interactive web pages
communications software
video applications
GPS navigation
6
Which of the following is NOT a
programming construct
?
Variable
Selection (Decision)
Sequence
Iteration (Loop)
7
Every line of Javascript code
must end
with a...
full-stop .
semi-colon ;
colon :
comma ,
8
Variables
can be used to store...
Letters
Numbers
All of these
Words
9
What colour is created using
fill (255, 0, 0);
?
Red
Green
Blue
Yellow
10
In Javascript, each
variable declaration
must start with the word...
vbl
v_name
variable
var
11
What programming language have we been using in Khan Academy?
Visual Basic
C++
Java
JavaScript
12
What would make the ball roll
down
this hill?
Decreasing the value x and y by the same amount
Increasing the value x and y by the same amount
Increasing its x value
Increasing its y value
13
Which of the following is an example of a
Selection/Decision
?
if (x > 400) {x = 0};
text ("Hi", 10, 10);
var x = 0;
fill (255, 0, 0);
14
A
diagram
that can be used to explain what a program does is called a...
Box matrix
Flowchart
Code diagram
Mind map
15
draw = function()
is what type of programming construct?
Iteration/Loop
Process
Sequence
Selection/Decision
16
When writing a program the
first thing
to do is...
Draw a flowchart
Ask someone for help
Google 'programming'
Write some code
17
The code
x = random (0, 400);
will assign what value to x?
x
0
400
A random value between 0 and 400
18
Which of the following commands would
remove the outline
from a shape?
fill (0, 0, 0);
strokeWeight (1);
noStroke ();
line (0, 0, 400, 400);