
Modern JavaScript from the Beginning - Second Edition - Speech Synthesis API - Text to Speech
Interactive Video
•
Computers
•
9th - 10th Grade
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Read more
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the form element in the HTML structure?
To display the available voices
To allow users to input text
To style the page
To initialize the JavaScript
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which JavaScript object is used to handle speech synthesis?
window.speechSynthesis
window.speechRecognition
window.voiceControl
window.textToSpeech
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the role of the 'speak' function in the JavaScript code?
To convert text to speech
To log text to the console
To initialize the form
To change the voice
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How is the text input captured for speech synthesis?
Using document.createElement
Using document.getElementById
Using document.addEventListener
Using document.querySelector
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the 'addVoicesToSelect' function?
To log the available voices
To change the language of the voices
To populate the select box with voice options
To initialize the speech synthesis
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which method is used to retrieve available voices in the JavaScript code?
synth.loadVoices()
synth.retrieveVoices()
synth.getVoices()
synth.fetchVoices()
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What attribute is set to identify the language of a voice?
data-speech
data-voice
data-lang
data-language
Access all questions and much more by creating a free account
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
Already have an account?
Similar Resources on Wayground
6 questions
CLEAN : LGBTQ activists appear in court in Ghana on 'unlawful assembly' charges
Interactive video
•
9th - 10th Grade
6 questions
Amazon workers strike at Coventry warehouse
Interactive video
•
9th - 10th Grade
6 questions
Barbados Republic ceremony attended by Prince Charles
Interactive video
•
9th - 10th Grade
6 questions
Julius Caesar 3.2 Scene Summary
Interactive video
•
9th - 10th Grade
6 questions
CLEAN: Nigerian unions call off nationwide strike after crackdown
Interactive video
•
9th - 10th Grade
11 questions
Comparing SQL and QBE Features
Interactive video
•
9th - 10th Grade
6 questions
CLEAN : The dogs of 2020: Elizabeth Warren's dog Bailey hits campaign trail
Interactive video
•
9th - 10th Grade
6 questions
Prince Charles and Camilla arrive in St. John's
Interactive video
•
9th - 10th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
10 questions
Probability Practice
Quiz
•
4th Grade
15 questions
Probability on Number LIne
Quiz
•
4th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
6 questions
Appropriate Chromebook Usage
Lesson
•
7th Grade
10 questions
Greek Bases tele and phon
Quiz
•
6th - 8th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
14 questions
[AP CSP] JavaScript Programming Quiz
Quiz
•
9th - 12th Grade
10 questions
Understanding Computers and Computer Engineering
Interactive video
•
7th - 12th Grade
37 questions
Python - Tuples, Lists, and List Methods
Quiz
•
9th - 12th Grade
60 questions
MOS Word Home, Insert, Reference Ribbon Basics
Quiz
•
9th Grade