
Web L4 (Advanced)
Authored by Alaa Ahmad
Computers
6th - 8th Grade
Used 1+ times

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
In this line, what is the purpose of addEventListener?
btn.addEventListener("click", function(){ ... })
To create a new element
To style the button
To run the function when the page loads
To execute a function when the button is clicked
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be printed by the following code?
let name = "Maryam";
name = "Menna";
console.log(name)
Maryam
Menna
Error
Undefined
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What happens if you try to reassign pi in this code?
const pi = 3.14;
pi = 3.14159;
pi will change to 3.14159
It will log both values
It will throw an error
Nothing happens
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is the correct way to access the type property of the laptop object?
let laptop = {
type:hp,
ram:16,
price:40000
}
laptop[type]
laptop.type
laptop->type
laptop::type
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which syntax is used to change the text color of an element with id="title" in JavaScript?
document.getElementById("title").color = "red";
document.getElementById("title").style.textColor = "red";
document.getElementById("title").style.color = "red";
document.style("title").color = "red";
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct keyword to define a function in JavaScript?
function
func
def
local
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following developer tools shows the code for the web page ?
console
Elements/inspector
network
sources
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
15 questions
Cyber Security KS4
Quiz
•
8th - 12th Grade
15 questions
MORE ON CSS3
Quiz
•
7th Grade
10 questions
Scratch
Quiz
•
KG - Professional Dev...
12 questions
Adventure game project
Quiz
•
7th - 8th Grade
10 questions
What is a program slides(6:16)
Quiz
•
8th - 12th Grade
10 questions
Pre-Test: Search Engine
Quiz
•
7th Grade
10 questions
Pioneers of Computer
Quiz
•
7th - 8th Grade
10 questions
Actividad - Ordenadores
Quiz
•
7th 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
20 questions
Context Clues
Quiz
•
6th Grade
10 questions
Exploring Valentine's Day with Charlie Brown
Interactive video
•
6th - 10th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
10 questions
History and Traditions of Valentine's Day
Interactive video
•
3rd - 6th Grade
20 questions
Valentine’s Day and Disney Trivia Worksheet
Quiz
•
6th Grade
18 questions
Valentines Day Trivia
Quiz
•
3rd Grade - University
20 questions
Writing Algebraic Expressions
Quiz
•
6th Grade
20 questions
Ratios/Rates and Unit Rates
Quiz
•
6th Grade