JavaScript and Graphics

Quiz
•
Other
•
12th Grade
•
Hard
Angel Ligon
Used 4+ times
FREE Resource
17 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What keyword do you need to use to define a variable in JavaScript?
variable
var
int
x
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What function do you need to call to ask the user of the program to enter text?
readLine
readln
readString
println
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
To ask the user of the program for a number, which function should you use?
readLine
readFloat
readInt
Both readInt and readFloat are for numbers.
4.
FILL IN THE BLANK QUESTION
1 min • 1 pt
What will the following code print to the screen?
println(2 + 2):4
5.
FILL IN THE BLANK QUESTION
1 min • 1 pt
What symbol do you use to do division in JavaScript?
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What function do you need to call to get the width of the screen?
width()
getWidth()
screenWidth()
getScreenWidth()
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A store has 20 apples in its inventory. How can you store this information in a JavaScript variable?
var numApples == 20;
20 = numApples;
var numApples = 20;
var num apples = 20;
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Draw toolbar & Shortcuts

Quiz
•
7th Grade - Professio...
20 questions
Thanksgiving

Quiz
•
KG - 12th Grade
20 questions
Demon Slayer

Quiz
•
12th Grade
22 questions
Java Primitive Unit 1-A

Quiz
•
12th Grade
20 questions
UTS Desain Media Interaktif

Quiz
•
12th Grade
15 questions
28.02 C sharp

Quiz
•
12th Grade
12 questions
Basic Python and Console Interaction (Unit 3)

Quiz
•
12th Grade
19 questions
CODE Unit 3 Intro to App Design 2020-21

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade