
D4PostTestReview
Presentation
•
Computers
•
9th - 12th Grade
•
Practice Problem
•
Medium
TARASE MCGEE
Used 28+ times
FREE Resource
16 Slides • 18 Questions
1
2
3
Multiple Choice
Consider the code pictured (click to enlarge). What output will be displayed in the alert box when this script is run in the browser?
Morgan, Virgilia, Jeiden, Ivy
Morgan, Virgilia, Jeiden, Juanita, Ivy
Morgan, Virgilia, Jeiden, Juanita,
Ivy
4
5
Multiple Choice
Consider the code pictured (click to enlarge). How would find the position of the last letter "y" in given code?
nurseryRhyme.IndexOf("y")
nurseryRhyme.lastIndexOf("y")
CharAtnurseryRhyme(y)
6
7
Multiple Choice
Consider the code pictured (click to enlarge). What output will be displayed in the alert box when this script is run in the browser?
ThisCodeisCodeCrazy
This, Code, is Crazy
This is Crazy Code
Code
8
9
Multiple Choice
Review the code pictured (click to enlarge). Identify the keyword that must be used to display the current date.
myDate
alert
new
Date
10
11
Multiple Choice
Which of the following would you add to a regular expression that allows matches any non-word characters in an email address.
\s
\w
\W
\S
12
13
Multiple Choice
Consider the code pictured (click to enlarge). What will the alert box display when the code is run in the browser?
Just
Do
It
pop
14
15
Multiple Choice
This property can be used with any function or object? It can also be used to create custom methods, objects, and new properties.
custom
predefined
DOM
prototype
16
17
Multiple Choice
An option can only be selected by using the ___________ property on an element from the options array.
selectedIndex
getElementId
option
document
18
Multiple Choice
Click to enlarge image and consider the code. The selectedIndex property specifies or returns an integer value of the array number of the selected option. Which option will be selected if this code is run in the browser?
1st option
2nd option
3rd option
4th option
19
20
Multiple Choice
The __________ method retrieves the corresponding attribute.
setAttribute
getAttribute
21
Multiple Choice
The __________ method is used to dynamically modify the value of an element's attribute.
setAttribute
getAttribute
22
23
24
Multiple Choice
Click to enlarge the code. Which line of code would be substituted in order to debug the error in the code?
if (document.forms[2].checkThis.checked)
if (document.forms[0].checkThis.checked)
25
Multiple Choice
if (document.forms[1].checkThis.checked) refers to which form if used inside a function?
The 4th form
The 3rd form
The 2nd form
1st form
26
Multiple Choice
Review the code (click to enlarge). How do you know there is only one form on the webpage?
There are two forms on the page. One in the <body> </body> tags and one in the function.s
There is only one form in the function. There is only one form shown between the <body> </body> tags
There are no forms on this page. This is why there is an error
27
28
Multiple Choice
The onblur event is the opposite of the onfocus event, therefore the
onchange is the opposite of onfocus
onblur occurs when an element gets focus
onfocus occurs when an element gets focus
29
30
Multiple Choice
This event occurs when the value or state of an element changes.
onchange
onblur
onfocus
31
32
Multiple Choice
Click to enlarge the Code. Review the code. Which attribute is used to change the background color.
value
style
name
type
33
34
Multiple Choice
Consider the code. Which form element is referenced with this code.
3rd form element
2nd form element
1st form element
4th form element
Show answer
Auto Play
Slide 1 / 34
SLIDE
Similar Resources on Wayground
28 questions
Intermolecular Forces & Physical Properties
Presentation
•
9th - 12th Grade
28 questions
Transformations of Exponential & Logarithmic Functions
Presentation
•
9th - 12th Grade
26 questions
Dependent & Independent Clauses
Presentation
•
9th - 12th Grade
24 questions
Exploring Selection Statements in Python
Presentation
•
9th - 12th Grade
29 questions
ACT Reading
Presentation
•
9th - 12th Grade
28 questions
Graphing Exponential Functions with Shifts
Presentation
•
9th - 12th Grade
30 questions
Unit 2.6: Fossil Fuels
Presentation
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
GPA Lesson
Presentation
•
9th - 12th Grade
7 questions
Albert Einstein
Quiz
•
3rd Grade
31 questions
Bridge A Review
Quiz
•
3rd Grade
6 questions
Blue Sue and Red Ruth
Quiz
•
3rd Grade
8 questions
(Day12 HW) Inverse Trig Ratios
Quiz
•
9th Grade
20 questions
Summer Geometry QUIZ (Week3)
Quiz
•
9th Grade
16 questions
Theme Practice
Quiz
•
7th Grade
20 questions
Taxes
Quiz
•
9th - 12th Grade
Discover more resources for Computers
10 questions
GPA Lesson
Presentation
•
9th - 12th Grade
8 questions
(Day12 HW) Inverse Trig Ratios
Quiz
•
9th Grade
20 questions
Summer Geometry QUIZ (Week3)
Quiz
•
9th Grade
20 questions
Taxes
Quiz
•
9th - 12th Grade
16 questions
Warm Up: Basics of Geometry
Quiz
•
9th Grade
16 questions
Translations and Reflections
Quiz
•
9th - 10th Grade
17 questions
High School Survival Guide
Presentation
•
9th - 12th Grade
20 questions
Banking
Quiz
•
9th - 12th Grade