Overcoming activity - JS

Quiz
•
Computers
•
7th Grade
•
Hard
Francisco Javier Ruiz Restrepo
Used 7+ times
FREE Resource
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)
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Тест на знание основ Python

Quiz
•
6th - 8th Grade
11 questions
Python Ifs, Lists, and Loops

Quiz
•
7th - 8th Grade
12 questions
Java Script 1.4. Массивы

Quiz
•
1st - 12th Grade
16 questions
Python programming

Quiz
•
6th - 12th Grade
17 questions
Квиз для программистов

Quiz
•
6th - 8th Grade
15 questions
Python - тест

Quiz
•
1st - 12th Grade
13 questions
Dojo - Type Inference

Quiz
•
1st - 12th Grade
15 questions
Excel as Database

Quiz
•
7th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
18 questions
Company Logos

Quiz
•
6th - 8th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade