
Workshop Day 3
Authored by arya thool
Professional Development
Professional Development

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
1. Which of these is a correct way to declare a variable in JavaScript?
let x = 5;
variable x = 5;
x := 5;
var 5 = x;
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which function is used to generate a random number in JavaScript?
Math.randomNumber();
Math.random();
random();
generateRandom();
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will this if statement do?
It will log "True"
It will log "False"
It will not log anything
It will throw an error
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you create a simple function in JavaScript?
function myFunction() {}
create function myFunction() {}
func myFunction() {}
define myFunction() {}
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does document.getElementById("id") do?
It changes the page title
It gets an element with the specified id
It creates a new element
It removes an element with the specified id
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these is used to trigger a function when a button is clicked in HTML?
onclick="functionName();"
onClick="functionName();"
click="functionName();"
buttonClick="functionName();"
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the following code display?
A random number between 0 and 1
A fixed number
A random number between 1 and 10
An error message
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
Maslow's theory test
Quiz
•
Professional Development
15 questions
Quiz On Audit Trail
Quiz
•
Professional Development
10 questions
Tools of KPI
Quiz
•
Professional Development
10 questions
Applied Networking
Quiz
•
Professional Development
15 questions
Emerging Tech
Quiz
•
Professional Development
10 questions
ASM Global - EXPERIENCE
Quiz
•
Professional Development
10 questions
Software Security
Quiz
•
University - Professi...
15 questions
BJT - BASICS
Quiz
•
Professional Development
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
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th 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
Discover more resources for Professional Development
20 questions
Black History Month Trivia Game #1
Quiz
•
Professional Development
100 questions
Screening Test Customer Service
Quiz
•
Professional Development
20 questions
90s Cartoons
Quiz
•
Professional Development
10 questions
Reading a ruler in Inches
Quiz
•
4th Grade - Professio...
16 questions
Parallel, Perpendicular, and Intersecting Lines
Quiz
•
KG - Professional Dev...
12 questions
Valentines Day Trivia
Quiz
•
Professional Development