Unit3 JavaScript Basics Quiz

Unit3 JavaScript Basics Quiz

10th Grade

15 Qs

quiz-placeholder

Similar activities

AP CSA Unit 10 Recursion

AP CSA Unit 10 Recursion

9th - 12th Grade

10 Qs

Programming

Programming

1st - 10th Grade

10 Qs

Arrays += Chan

Arrays += Chan

9th - 12th Grade

12 Qs

CodeHS JavaScript Control Functions

CodeHS JavaScript Control Functions

9th - 12th Grade

20 Qs

JavaScript Quiz

JavaScript Quiz

9th - 10th Grade

15 Qs

C++ Recursion

C++ Recursion

8th - 12th Grade

12 Qs

Recursion in Java

Recursion in Java

9th - 12th Grade

10 Qs

AP Computer Science A Recursive

AP Computer Science A Recursive

9th - 12th Grade

10 Qs

Unit3 JavaScript Basics Quiz

Unit3 JavaScript Basics Quiz

Assessment

Quiz

Computers

10th Grade

Medium

Created by

R. Mou

Used 44+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the proper function to call to print to the screen?
write
console.log
print
log
console.print

2.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

What keyword do you need to use to define a variable in JavaScript?
variable
let
int
x

var

3.

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
text
console.log
None of the above

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To ask the user of the program for a number, which function should you use?
readLine
readInt
readFloat
Both readInt and readFloat are for numbers.
None of the above

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will the following code print to the screen? console.log(2 + 2);
2 + 2
4
22
Nothing
None of the above

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What symbol do you use to do division in JavaScript?
%
/
//
*
None of the above

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What symbol do you use to do multiplication in JavaScript?
x
X
*
#
None of the above

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?