JavaScript unit 1 and 2

JavaScript unit 1 and 2

9th - 12th Grade

44 Qs

quiz-placeholder

Similar activities

UH INFORMATIKA KLS X AK 2

UH INFORMATIKA KLS X AK 2

10th Grade

40 Qs

Computer Network

Computer Network

12th Grade - University

40 Qs

Ujian Tengah Semester Informatika

Ujian Tengah Semester Informatika

10th Grade - University

40 Qs

L3 Digital Technology (entry test)

L3 Digital Technology (entry test)

11th - 12th Grade

45 Qs

tin học 11 ôn tập cuối kì 1

tin học 11 ôn tập cuối kì 1

12th Grade

40 Qs

St Michael's - Year 9 - Networks

St Michael's - Year 9 - Networks

9th Grade

48 Qs

PSAS INFORMATIKA Kelas X

PSAS INFORMATIKA Kelas X

10th Grade

40 Qs

Unit 2 Creating Systems to Manage Information Quiz

Unit 2 Creating Systems to Manage Information Quiz

12th Grade

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