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
15 questions
ASK F2 -KOD ARAHAN (PYTHON)

Quiz
•
1st Grade - University
20 questions
Pre-Test TIK 7 | 2 | 01 - Simulasi Pilihan Ganda

Quiz
•
7th Grade
20 questions
Web Development

Quiz
•
7th Grade - University
15 questions
Google Drive

Quiz
•
3rd - 9th Grade
20 questions
Browsers & Search Engines

Quiz
•
7th - 12th Grade
20 questions
POWER POINT

Quiz
•
3rd - 8th Grade
20 questions
Year 7 - The Internet

Quiz
•
5th - 7th Grade
20 questions
Coding 2 Performance Final

Quiz
•
6th - 8th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
15 questions
Acceptable Use Policy (Quiz)

Quiz
•
6th - 8th Grade
25 questions
Career Vs. Job

Quiz
•
6th - 8th Grade
20 questions
Copyright and Fair Use

Quiz
•
6th - 8th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade
21 questions
Input Output Storage Device

Quiz
•
5th - 8th Grade