JavaScript unit 1 and 2

JavaScript unit 1 and 2

9th - 12th Grade

44 Qs

quiz-placeholder

Similar activities

Nghe_DeLyThuyet_2017

Nghe_DeLyThuyet_2017

11th Grade

40 Qs

Domain 1.0 (DD1)

Domain 1.0 (DD1)

9th - 12th Grade

39 Qs

Quiz TIK

Quiz TIK

12th Grade

45 Qs

PHOTOPEA TEST-补考

PHOTOPEA TEST-补考

11th Grade

42 Qs

Tin học 11c2

Tin học 11c2

11th Grade

40 Qs

TABLAS EN WORD

TABLAS EN WORD

6th - 12th Grade

45 Qs

MS Word Quiz for class 9th

MS Word Quiz for class 9th

9th Grade

41 Qs

KUIZ TMK TAHUN 6

KUIZ TMK TAHUN 6

12th Grade

40 Qs

JavaScript unit 1 and 2

JavaScript unit 1 and 2

Assessment

Quiz

Computers

9th - 12th Grade

Medium

Created by

Gareth Yeoman

Used 4+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

44 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

What is the proper function to call to print to the screen?

write

println

PRINT

post

2.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

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

variable

var

int

x

3.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

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

4.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

What function do you need to call to ask the user of the program to enter text?

readLine

readln

text

println

5.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

What will the following code print to the screen?

println(2 + 2);

2 + 2

4

22

nothing

6.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

What symbol do you use to do division in JavaScript?

%

/

//

*

7.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

What symbol do you use to do multiplication in JavaScript?

x

X

*

#

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?