
Overcoming activity - JS
Authored by Francisco Javier Ruiz Restrepo
Computers
7th Grade
Used 7+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
11 questions
EXPO 2020
Quiz
•
4th - 8th Grade
10 questions
Internet
Quiz
•
7th - 10th Grade
15 questions
PowerPoint Window Label
Quiz
•
7th - 8th Grade
10 questions
ม.2 แบบทดสอบก่อนเรียน หน่วย 2
Quiz
•
6th - 8th Grade
10 questions
Encryption
Quiz
•
4th - 10th Grade
16 questions
Robotic /coding exam
Quiz
•
6th - 8th Grade
10 questions
tes3 ict
Quiz
•
7th Grade
15 questions
Systems Architecture
Quiz
•
KG - 9th Grade
Popular Resources on Wayground
7 questions
History of Valentine's Day
Interactive video
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
15 questions
Valentine's Day Trivia
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Computers
10 questions
Exploring Valentine's Day with Charlie Brown
Interactive video
•
6th - 10th Grade
18 questions
Valentines Day Trivia
Quiz
•
3rd Grade - University
14 questions
Volume of rectangular prisms
Quiz
•
7th Grade
10 questions
Valentine's Day History and Traditions
Interactive video
•
6th - 10th Grade
11 questions
Valentines Day
Quiz
•
6th - 8th Grade
20 questions
Graphing Inequalities on a Number Line
Quiz
•
6th - 9th Grade
25 questions
7th Reading STAAR Vocabulary
Quiz
•
6th - 8th Grade
20 questions
Revising & Editing practice
Quiz
•
7th Grade