wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Artificial Intelligence -Voice Selfie

Total questions: 15

Worksheet time: 15mins

Name
Class
Date
1.

Which code saves the picture in the name of mySelfie.png

a)

<a href=" " id="link" download="mySelfie.png"></a>

b)

<a href=" " id="link" save="mySelfie.png"></a>

c)

<a href=" " id="link" save="myselfie.png"></a>

2.

Choose the correct API which recognise the speech and convert to text

a)

webkitRecognition

b)

webkitSpeechRecognition

c)

webSpeechAPIRecognition

3.

The actual content spoken is available in

a)

content

b)

transcript

c)

label

d)

confidence

4.

AI means training the computer to learn, think and answer like a human.

a)

True

b)

False

5.

Choose the correct statements about WebSpeechAPI

a)

Special library created by Google Chrome developers

b)

Trained on many languages

c)

can be used freely to make a computer understand what is spoken

d)

It cannot respond back

6.

speechSynthesis is an API which converts

a)

text to speech

b)

speech to text

c)

both

7.

triggers the system to speak whatever is passed inside this speak function

a)

utter()

b)

speak()

c)

speech()

8.

Which is the correct sequence in configuring the webcam?

a)

Setting the Webcam and Attaching the Webcam

b)

Attaching the Webcam and Setting the Webcam

c)

none

9.

Pick the odd man out of Webcam.set()

a)

png_quality (or) jpeg_quality

b)

image_quality

c)

width

d)

height

e)

image_format

10.

Choose the correct option

a)

Webcam.set({

width: 300,

height:300,

image_format: 'png',

png_quality: 90

});

b)

Webcam.set({

width: 300;

height:300;

image_format: 'png';

png_quality: 90;

})

c)

Webcam.set({

width: 300,

height:300,

image_format: 'jpg',

png_quality: 90

});

d)

Webcam.set({

width: 300,

height:300,

image_format: 'jpg',

image_quality: 90

});

11.

Displays the webcam live view in the HTML element

a)

Webcam.set()

b)

Webcam.attach()

12.

predefined function of webcam.js which is used to take a selfie

a)

Webcam.snap()

b)

Webcam.set()

c)

Webcam.attach()

13.

used to show preview of the image which generates after taking a snapshot.

a)

function(data_uri)

b)

function(data_url)

14.

setTimeout(function(){


},500)

a)

Delays the process by 500 seconds

b)

Delays the process by half second

c)

Delays the process by 500 milliseconds

d)

Delays the process by 5000 milliseconds

15.

link.click() --> automatically downloads the image only when

a)

"link" holds the anchor tag element with a download attribute

b)

src of the selfie image is which is being captured is provided

c)

none