
CodeHS: Unit6 - JavaScript Basics
Flashcard
•
Computers
•
9th Grade
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Student preview

14 questions
Show all answers
1.
FLASHCARD QUESTION
Front
What is the proper function to call to print to the screen?
Back
console.log
2.
FLASHCARD QUESTION
Front
What keyword do you need to use to define a variable in JavaScript?
Back
let
3.
FLASHCARD QUESTION
Front
What function do you need to call to ask the user of the program to enter text?
Back
readLine
4.
FLASHCARD QUESTION
Front
To ask the user of the program for a number, which function should you use? Options: readLine, readInt, readFloat, Both readInt and readFloat are for numbers.
Back
Both readInt and readFloat are for numbers.
5.
FLASHCARD QUESTION
Front
What will the following code print to the screen?
console.log(2 + 2);
Back
4
6.
FLASHCARD QUESTION
Front
What symbol do you use to do division in JavaScript?
Back
/
7.
FLASHCARD QUESTION
Front
What symbol do you use to do multiplication in JavaScript?
Back
*
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Microsoft
or continue with
%20(1).png)
Apple
Others
Already have an account?