
js expressions
Authored by cid ungriano
Information Technology (IT)
11th Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
9 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
If the user enters "5" in the prompt, what will be the value of doubled?
"10"
10
"55"
NaN
2.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
If the user enters "5", what will be the value of converted?
"55"
10
"10"
NaN
3.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
If the user enters "8", what will be displayed in the second alert()?
"String concatenation result: 88"
"String concatenation result: 16"
"String concatenation result: 8 + 8"
"String concatenation result: 8 8"
4.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Which statement correctly describes the behavior of alert("You entered: " + userInput);?
It displays the entered value as a string.
It converts the input into a number before displaying.
It multiplies the input by 2 before displaying.
It removes spaces from the input before displaying.
5.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
What is the purpose of parseInt() in the code?
It converts user input into a whole number.
It checks if the input is odd or even.
It adds two numbers together.
It displays an alert with the sum.
6.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
If the user enters "10" and "5", what will be the second alert message?
"The sum is: 10"
"The sum is: 5"
"The sum is: 15"
"The sum is: 105"
7.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Which operator is used to check if a number is odd or even?
+ (Addition)
* (Multiplication)
% (Modulus)
/ (Division)
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
12 questions
Fundamentals
Quiz
•
7th Grade - University
10 questions
Data and Database Fundamentals part 1
Quiz
•
11th Grade
10 questions
SAP Lintas Bidang (Problem pada Segitiga)
Quiz
•
11th Grade
14 questions
Google sheets
Quiz
•
7th Grade - University
10 questions
LD siskom SE
Quiz
•
10th Grade - University
10 questions
Tebak Istilah Pengembangan Produk Digital
Quiz
•
11th Grade
10 questions
Web 1.1 Bacaan
Quiz
•
11th Grade
10 questions
Quiz Booting dan CPU
Quiz
•
10th Grade - University
Popular Resources on Wayground
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
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Information Technology (IT)
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
15 questions
Main Idea and Supporting Details.
Quiz
•
4th - 11th Grade
12 questions
Add and Subtract Polynomials
Quiz
•
9th - 12th Grade
13 questions
Model Exponential Growth and Decay Scenarios
Quiz
•
9th - 12th Grade
27 questions
7.2.3 Quadrilateral Properties
Quiz
•
9th - 12th Grade
7 questions
Amoeba Sisters Dihybrid Cross Punnett Square
Interactive video
•
9th - 12th Grade
10 questions
The Holocaust: Historical Overview
Interactive video
•
9th - 12th Grade
10 questions
Key Features of Quadratic Functions
Interactive video
•
8th - 12th Grade