tic tac toe with ai
Quiz
•
Computers
•
7th Grade
•
Medium
BPS School
Used 42+ times
FREE Resource
Enhance your content in a minute
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

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
20 questions
Yr 8.1 Spreadsheet/Excel Models
Quiz
•
6th - 8th Grade
16 questions
Y7 End of Topic Assessment: Gaining Support for a Cause
Quiz
•
7th Grade
20 questions
ASK T3 : 1.1 Pembangunan Aturcara
Quiz
•
1st - 12th Grade
20 questions
[RB3-Ch3] Working with Spreadsheet
Quiz
•
6th - 8th Grade
15 questions
Bluetooth and Wi-Fi Quiz
Quiz
•
7th Grade - University
15 questions
COMPONENTES BIOS
Quiz
•
7th Grade
15 questions
[RB3-Ch7] Data Verification & Validation
Quiz
•
6th - 8th Grade
15 questions
Grade 7 AI
Quiz
•
7th Grade
Popular Resources on Wayground
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Order of Operations
Quiz
•
5th Grade
20 questions
Halloween
Quiz
•
5th Grade
16 questions
Halloween
Quiz
•
3rd Grade
12 questions
It's The Great Pumpkin Charlie Brown
Quiz
•
1st - 5th Grade
20 questions
Possessive Nouns
Quiz
•
5th Grade
10 questions
Halloween Traditions and Origins
Interactive video
•
5th - 10th Grade
