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
Similar Resources on Wayground
35 questions
JAVA BASIC 2

Quiz
•
University
36 questions
JavaScript

Quiz
•
12th Grade
40 questions
EE092206

Quiz
•
11th - 12th Grade
40 questions
EE.09-SG-21.01

Quiz
•
11th Grade
40 questions
Scratch Midterm Revision

Quiz
•
9th Grade
40 questions
EGZAMIN INF.03

Quiz
•
10th Grade
40 questions
JavaScript - Avaliação

Quiz
•
10th - 12th Grade
35 questions
JavaScript Control Flow and Loops.

Quiz
•
10th Grade - University
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
Discover more resources for Computers
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
24 questions
Flinn Lab Safety Quiz

Quiz
•
5th - 8th Grade
22 questions
Figurative Language

Quiz
•
7th Grade
10 questions
Essential Lab Safety Practices

Interactive video
•
6th - 10th Grade
30 questions
Lufkin Road Middle School Student Handbook & Policies Assessment

Quiz
•
7th Grade