JavaScript Basics

Quiz
•
Computers
•
University
•
Medium
Long Nguyen
Used 7+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is JavaScript's official name?
JavaScript
TypeScript
ECMAScript
ScriptJS
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Who invented JavaScript?
Bill Gates
Brendan Eich
Tim Berners-Lee
Steve Jobs
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of JavaScript in web development?
To create web servers
To add interactivity to HTML pages
To handle database connections
To create operating systems
4.
OPEN ENDED QUESTION
3 mins • 1 pt
Which HTML tag is used to include JavaScript in a webpage?
Evaluate responses using AI:
OFF
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does `console.log()` do in JavaScript?
Prints content to the web page
Displays content in the browser’s console
Creates a new HTML element
Stops the script execution
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What method is used to access an HTML element by its ID in JavaScript?
document.getElementByClassName()
document.getById()
document.querySelector()
document.getElementById()
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is `innerHTML` used for in JavaScript?
To define a JavaScript function
To insert JavaScript into an HTML file
To change the content of an HTML element
To call a JavaScript file
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Quiz -3: JavaScript & PHP (AIML)/CC/1st Year

Quiz
•
University
20 questions
Review JavaScript

Quiz
•
11th Grade - University
21 questions
quiz 2nd/3rd year

Quiz
•
University
15 questions
CYBER 2

Quiz
•
University
18 questions
JS/DOM/JQuery/HTML/CSS

Quiz
•
University
23 questions
js basic

Quiz
•
University
15 questions
JavaScript Basics

Quiz
•
12th Grade - University
21 questions
Prog Web U3

Quiz
•
University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade