7th Seoul - 2nd Cycle Exam
Quiz
•
Computers
•
7th Grade
•
Hard
Eugene Castro
Used 1+ times
FREE Resource
40 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does JavaScript do in a webpage?
Structures content
Styles content
Makes the webpage interactive
Stores data in a database
Answer explanation
JavaScript primarily makes webpages interactive by enabling dynamic content updates, user interactions, and real-time responses, enhancing the overall user experience. It does not structure or style content directly.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which tag is used to include JavaScript in an HTML document?
<script>
<js>
<javascript>
<code>
Answer explanation
<script> is the tag that can be used on declaring JavaScript
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Where can JavaScript be written in an HTML file?
Inside the
tagInside the
tagBoth
and tagsOnly in an external file
Answer explanation
JavaScript can be included in both the
and tags of an HTML file. This allows for scripts to be loaded before or after the content, providing flexibility in how and when the scripts are executed.4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT a use of JavaScript?
Form validation
Adding animations
Designing a webpage layout
Fetching data from a server
Answer explanation
JavaScript is primarily used for dynamic functionalities like form validation, animations, and fetching data. However, designing a webpage layout is typically done with HTML and CSS, not JavaScript.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct way to display an alert box in JavaScript?
alertBox("Hello");
message("Hello");
alert("Hello");
display("Hello");
Answer explanation
The correct way to display an alert box in JavaScript is by using the alert() function. Therefore, alert("Hello"); is the right choice, as it triggers a pop-up alert with the specified message.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which method writes content to an HTML document?
document.write()
document.log()
write.document()
write.log()
Answer explanation
The correct method to write content to an HTML document is document.write(). The other options, document.log(), write.document(), and write.log(), are not valid JavaScript methods for this purpose.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you log information to the console?
console.log("Hello");
log.console("Hello");
output.console("Hello");
display.log("Hello");
Answer explanation
The correct way to log information to the console in JavaScript is using console.log("Hello"). The other options are incorrect as they do not use the proper syntax for logging.
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
36 questions
Microbit Review
Quiz
•
7th Grade
40 questions
Unit 7 to 10
Quiz
•
University
40 questions
Java Programming
Quiz
•
University
40 questions
HTML Basics
Quiz
•
6th - 8th Grade
40 questions
TypeScript_Ver3
Quiz
•
University
40 questions
Easy LEVEL
Quiz
•
9th Grade - University
42 questions
Python Programming Quiz
Quiz
•
8th Grade
35 questions
Strings In java
Quiz
•
9th - 10th Grade
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
20 questions
ELA Advisory Review
Quiz
•
7th Grade
15 questions
Subtracting Integers
Quiz
•
7th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd 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
25 questions
Exploring POV and Unreliable Narrators
Quiz
•
7th Grade
18 questions
Company Logos
Quiz
•
6th - 8th Grade
20 questions
Typing Practice
Quiz
•
7th - 12th Grade
14 questions
Inputs and Outputs: Computer Science Intro
Lesson
•
5th - 9th Grade