
Web L4 (Advanced)

Quiz
•
Computers
•
6th - 8th Grade
•
Easy
Alaa Ahmad
Used 1+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Computer Icons

Quiz
•
4th - 9th Grade
15 questions
VisualBasic

Quiz
•
8th Grade
12 questions
Word Processing Terms

Quiz
•
8th - 12th Grade
10 questions
Mengenal Visual Basic

Quiz
•
7th Grade
10 questions
Troubleshooting Chromebooks

Quiz
•
5th - 6th Grade
15 questions
Editing Colors

Quiz
•
7th - 8th Grade
15 questions
Google Sheets - Beginner

Quiz
•
6th - 8th Grade
15 questions
Basic Concepts of Email

Quiz
•
5th - 6th 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
20 questions
typing

Quiz
•
6th 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
20 questions
Input, Output, Processing or Storage

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

Interactive video
•
7th - 12th Grade