JavaScript Test

Quiz
•
Computers
•
12th Grade
•
Easy
Megan Cunningham
Used 1+ times
FREE Resource
19 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the proper syntax to draw a circle on the screen in JavaScript?
var = new Circle (20);
var = Circle(circleDraw();)
createCircle();
var = new circle(20);
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which command is used to concatenate text and display it in JavaScript?
print("Text " + " Text")
"Text " + " Text"
println("Text " + " Text");
show("Text " + " Text")
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the naming convention where the first letter is lower case and each subsequent start of a word is upper case?
UpperCamelCase
lowerCamelCase
snake_case
kebab-case
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a Callback Function in JavaScript?
A function that returns a value
A function that is called when a variable is declared
A function passed as a parameter to another function to be called later
A function that prints a line to the user
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the getWidth() function return in JavaScript?
The height of the graphics canvas
The width of the graphics canvas
The area of the graphics canvas
The perimeter of the graphics canvas
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the study of computational thinking and the step-by-step process to a computer called?
Information Technology
Computer Science
Algorithmic Thinking
Software Thinking
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of Input Output (I/O) in programming?
To perform basic mathematical tasks
To send and receive data from a computer hardware component, device, or network
To manage the flow of information into and out of a program
To store data permanently
Create a free account and access millions of resources
Similar Resources on Wayground
22 questions
CodeHS AP CSP Unit 3 Review

Quiz
•
11th - 12th Grade
19 questions
Parameters and Return Review

Quiz
•
9th - 12th Grade
20 questions
Game Lab Basics

Quiz
•
9th - 12th Grade
15 questions
Grade 12-Python selection&iteration

Quiz
•
11th - 12th Grade
15 questions
CSE_CodeHS_intro_python_unit_3_5

Quiz
•
9th - 12th Grade
20 questions
Arrays in Java

Quiz
•
9th - 12th Grade
20 questions
function in python

Quiz
•
12th Grade
24 questions
Javascript Basics

Quiz
•
7th Grade - University
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