uCertify JavaScript Chapter 9 and 10

Quiz
•
Computers
•
9th - 12th Grade
•
Easy
Greg Baker
Used 12+ times
FREE Resource
21 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following methods returns an array of all the elements in a Webpage, with a specified class name?
getElementsByName
getElementsByTagName
getElementsByClassName
getElementByClassName
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which method allows you to delete entire HTML attributes from an element?
getElementById
setAttribute
innerHTML
removeAttribute
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which method retrieves the corresponding value of an attribute?
getAttribute
setAttribute
removeAttribute
innerHTML
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following methods will access all occurrences in the page of an element with a specified name value and return them in an array?
getElementsByTagName
getElementById
innerHTML
getElementsByName
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which line of code will center <div id="mydiv"> on the page?
document.getElementsByName("mydiv").setAttribute("align", "center");
document.getElementById("mydiv").getAttribute("align", "center");
document.getElementsByName("mydiv").getAttribute("align", "center");
document.getElementById("mydiv").setAttribute("align", "center");
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following methods lets you access all occurrences of an HTML tag in a Webpage?
getElementByID
getElementsByName
getElementsByTagName
innerHTML
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which method will return only the first occurrence of a specified element in a script, rather than finding all occurrences of a specified element and returning them in an array?
getElementsByTagName
getElementById
innerHTML
getElementsByName
Create a free account and access millions of resources
Similar Resources on Wayground
18 questions
js basics

Quiz
•
4th Grade - University
20 questions
(Q3) HTML Table Quiz

Quiz
•
9th - 12th Grade
20 questions
HTML Basic Part 2

Quiz
•
10th Grade
20 questions
Javascript Basics Test

Quiz
•
7th - 12th Grade
21 questions
HTML Element Vocab and Data Type Review

Quiz
•
9th - 12th Grade
20 questions
INTERNET

Quiz
•
7th - 9th Grade
20 questions
JavaScript Basics Review

Quiz
•
7th - 12th Grade
22 questions
HTML Quiz

Quiz
•
9th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
1.2 OSI & TCP IP Models Quiz

Quiz
•
10th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
30 questions
Introduction to Computers

Quiz
•
8th - 9th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade