tic tac toe with ai

Quiz
•
Computers
•
7th Grade
•
Medium
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
Similar Resources on Wayground
16 questions
Cyclic Test Grade 7 EKAM

Quiz
•
7th Grade
20 questions
7-D Computer Quiz

Quiz
•
7th Grade
20 questions
Google Apps

Quiz
•
6th - 8th Grade
15 questions
Петон%%%%%

Quiz
•
6th - 8th Grade
20 questions
What about technology? - Codeweek 2022

Quiz
•
5th - 11th Grade
20 questions
Using Google Applications

Quiz
•
5th - 7th Grade
15 questions
Milestone Exkul SMP SMA - Q5_2022_Basic Python Syntax

Quiz
•
6th - 8th Grade
15 questions
Thunkable Assessment

Quiz
•
7th - 12th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade