tic tac toe with ai

tic tac toe with ai

7th Grade

20 Qs

quiz-placeholder

Similar activities

Arduino IDE

Arduino IDE

3rd Grade - Professional Development

17 Qs

Milestone Exkul SMP SMA - Q8_2022_Python Exploration

Milestone Exkul SMP SMA - Q8_2022_Python Exploration

6th - 8th Grade

15 Qs

Python_2R

Python_2R

KG - Professional Development

20 Qs

Semester 2 Computer Vocabulary 2018

Semester 2 Computer Vocabulary 2018

3rd - 7th Grade

19 Qs

Scratch Test

Scratch Test

7th Grade

20 Qs

Computing Systems Vocabulary Quiz

Computing Systems Vocabulary Quiz

6th - 7th Grade

20 Qs

ICT

ICT

6th - 9th Grade

16 Qs

GOOGLE

GOOGLE

1st - 7th Grade

20 Qs

tic tac toe with ai

tic tac toe with ai

Assessment

Quiz

Computers

7th Grade

Medium

Created by

BPS School

Used 42+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

Which keyword is used to define a function in Python?

function

execute

define

def

2.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

What is the purpose of the random.choice() function in Python?

Generate random numbers

Select a random item from a sequence

Sort a list

Shuffle a list

3.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

Which of the following is an example of a built-in function in Python?

len()

random.choice()

print()

def

4.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

What is the purpose of conditional statements in Python?

To make decisions based on conditions

To execute a specific task

To make random selections

To store values

5.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

What is the purpose of variables in Python?

To create an infinite loop

To store values

To make random selections

To execute a specific task

6.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

which of the following is the correct syntax for creating a variable in python?

var x = 5

x = 5

create x = 5

x := 5

7.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

which of the following is the correct syntax for creating a list in python?

list = [ 1,2,3 ]

( 1,2,3 )

{ 1,2,3 }

" 1, 2, 3"

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?