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
16 questions
Bar charts

Quiz
•
5th - 12th Grade
13 questions
Consumer Theory

Quiz
•
12th Grade
20 questions
Waves Review

Quiz
•
KG - University
20 questions
Thanksgiving

Quiz
•
KG - 12th Grade
20 questions
Valodas līdzekļi

Quiz
•
12th Grade
15 questions
Administrasi Sistem Jaringan

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

Quiz
•
12th Grade
12 questions
Poesia Trovadoresca - 10º ano

Quiz
•
10th Grade - University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Other
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
20 questions
Getting to know YOU icebreaker activity!

Quiz
•
6th - 12th Grade
10 questions
Impact of 9/11 and the War on Terror

Interactive video
•
10th - 12th Grade
28 questions
Ser vs estar

Quiz
•
9th - 12th Grade
6 questions
Biography

Quiz
•
4th - 12th Grade
25 questions
ServSafe Foodhandler Part 3 Quiz

Quiz
•
9th - 12th Grade
10 questions
Fact Check Ice Breaker: Two truths and a lie

Quiz
•
5th - 12th Grade
20 questions
Macromolecules

Quiz
•
9th - 12th Grade