AI and Python: Ch.1 Revision

AI and Python: Ch.1 Revision

9th Grade

10 Qs

quiz-placeholder

Similar activities

Testing

Testing

9th Grade

11 Qs

AP CSA Unit 1 & 2 Review

AP CSA Unit 1 & 2 Review

9th - 12th Grade

10 Qs

9.2 knowledge check

9.2 knowledge check

9th Grade

14 Qs

T1-CSC401/P.C.1.1-1.9

T1-CSC401/P.C.1.1-1.9

9th Grade

15 Qs

Program Development - Python: Errors

Program Development - Python: Errors

8th - 10th Grade

13 Qs

Python Packing & Unpacking Review

Python Packing & Unpacking Review

9th - 12th Grade

7 Qs

Python Introduction Quiz

Python Introduction Quiz

8th - 9th Grade

12 Qs

CS Edexcel Unit 6 Part 1 - Inputs, Variables and Outputs

CS Edexcel Unit 6 Part 1 - Inputs, Variables and Outputs

9th - 10th Grade

12 Qs

AI and Python: Ch.1 Revision

AI and Python: Ch.1 Revision

Assessment

Quiz

Computers

9th Grade

Medium

Created by

Ms. swchan

Used 17+ times

FREE Resource

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.

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?