Search Header Logo

AI and Python: Ch.1 Revision

Authored by Ms. swchan

Computers

9th Grade

Used 18+ times

AI and Python: Ch.1 Revision
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following example is NOT AI?

Google Translate

Robot waiters

Apple Siri

Smart Mirrors

RFID tag

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following codes can be executed?

Print(“I hate exams”)

print(‘I hate exams’)

Print I hate exams

print(‘I hate exams”)

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a library?

tts

say

sleep

print

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does time.sleep(5) mean?

Make the program run faster by five times

Make the program pause for 5 minutes

Make the program pause for five seconds

Shut down the computer after 5 seconds

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

For the statement time.sleep(5)

Which keyword is a function?

time

sleep

(5)

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the voice output of the program below?

import tts

Tts.say(“Merry Christmas!)

The program cannot be executed.

Merry Christmas!

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Why can’t the program be executed?

import tts

Tts.say(“Merry Christmas!”)

Python is case-sensitive.

No library was imported.

The speaker was out of order.

The program can be executed.

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?