Overcoming activity - JS

Overcoming activity - JS

7th Grade

12 Qs

quiz-placeholder

Similar activities

Python Level 3 - Minecraft

Python Level 3 - Minecraft

5th - 12th Grade

11 Qs

ETWINNING SID EVENT 24

ETWINNING SID EVENT 24

1st - 12th Grade

10 Qs

Blue Cross Websites

Blue Cross Websites

7th Grade

10 Qs

Quiz informatyczny

Quiz informatyczny

1st - 8th Grade

15 Qs

S2 Business Letters Assessment

S2 Business Letters Assessment

7th Grade

15 Qs

Introduction To Python

Introduction To Python

6th - 8th Grade

9 Qs

Module 4 Revision

Module 4 Revision

2nd - 8th Grade

10 Qs

Overcoming activity - JS

Overcoming activity - JS

Assessment

Quiz

Computers

7th Grade

Practice Problem

Hard

Created by

Francisco Javier Ruiz Restrepo

Used 7+ times

FREE Resource

AI

Enhance your content in a minute

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

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Create a variable called carName, and assign the value Volvo to it. The right structure is...

var CarName = "Volvo"

var carName = volvo

var carName = "Volvo"

var CarName == "volvo"

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

The correct line to convert a string into a numerical value is

var distance= parseFloat (prompt ( ))

var distance = prompt( )

var distance = parstring ((prompt ())

var = distance (parseFloat (alert())

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Create a variable called z, assign x + y to it, and display the result in an alert box. The correct expression is...

var x = 5

var y = 10

var z = x -y

prompt (alert (x-y)

var x = 5

var y = 10

var z = x + y

alert (x + y)

var x = 5

var y = 10

var z = x + y

alert (z)

None is correct

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

On one single line, declare three variables with the following names and values:

firstName = "John"

lastName = "Doe"

age = 35

Choose the correct form to present them:

var first_name= "John", last_name ="Doe", age ="35"

var first name= "John", last name ="Doe", age =35

var firstName= John, lastName= Doe, age =35

var firstName= "John", lastName ="Doe", age =35

5.

FILL IN THE BLANK QUESTION

45 sec • 1 pt

What must be the right code line, if I want to show the following message on the screen "we are studying JS")?

6.

FILL IN THE BLANK QUESTION

30 sec • 1 pt

If I need to create a dialog box for my program the correct command is...

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Choose the code line that was correctly presented to concatenate different content...

document.write ("according to calendar" + "today is" + day)

document.write (according to calendar + today is + day)

document.write ("according to calendar + "today is + day)

document.write (aacording to calendar, today is, day)

Access all questions and much more by creating a free account

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?