Unit3 JavaScript Basics Quiz

Unit3 JavaScript Basics Quiz

10th Grade

15 Qs

quiz-placeholder

Similar activities

Python Ch. 1 & 2

Python Ch. 1 & 2

9th - 12th Grade

10 Qs

C++ Arrays

C++ Arrays

8th - 12th Grade

12 Qs

FOR and WHILE loop in Python

FOR and WHILE loop in Python

9th - 12th Grade

18 Qs

Control Structures

Control Structures

9th - 12th Grade

20 Qs

P5.js Conditional Statements in Computer Science

P5.js Conditional Statements in Computer Science

9th - 12th Grade

15 Qs

Computer Application Practice Quiz Class 10

Computer Application Practice Quiz Class 10

10th Grade

20 Qs

Java Recursion

Java Recursion

9th - 12th Grade

10 Qs

Cumulative Test Practice Units 1, 3, 4, 5, & 7

Cumulative Test Practice Units 1, 3, 4, 5, & 7

9th - 12th Grade

17 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?