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
21 questions
O gigante Egoísta

Quiz
•
4th - 12th Grade
20 questions
Harmoni 1 Unit 2

Quiz
•
10th - 12th Grade
20 questions
STFG dagen

Quiz
•
9th - 12th Grade
12 questions
Iluminação no Trabalho 01

Quiz
•
1st Grade - University
20 questions
Saat kac? - Telling the time in Turkish

Quiz
•
KG - Professional Dev...
12 questions
Dersler ve Sifatlar (Classes and adjectives)

Quiz
•
7th - 12th Grade
17 questions
SÖZCÜK TÜRLERİ

Quiz
•
9th - 12th Grade
20 questions
Iyelik eki

Quiz
•
1st Grade - Professio...
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

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

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Other
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
6 questions
Rule of Law

Quiz
•
6th - 12th Grade
15 questions
ACT Math Practice Test

Quiz
•
9th - 12th Grade
18 questions
Hispanic Heritage Month

Quiz
•
KG - 12th Grade
28 questions
Ser vs estar

Quiz
•
9th - 12th Grade
10 questions
Would you rather...

Quiz
•
KG - University
13 questions
BizInnovator Startup - Experience and Overview

Quiz
•
9th - 12th Grade