
Mashdemy 6-10 AI/ML
Authored by Mashdemy Tutor
Computers
9th - 12th Grade
Used 10+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following correctly defines a for loop in Python?
for i to 10:
for i in range(10):
for (i = 0; i < 10; i++):
for i = 1 to 10:
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code?
python
for i in range(3):
print(i)
1 2 3
0 1 2 3
0 1 2
1 2 3 4
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which statement correctly defines a while loop?
while i in range(10):
while (i = 10):
while i < 10:
while (i < 10) {
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which loop control statement is used to skip the rest of the code inside a loop for the current iteration only?
break
continue
pass
exit
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Creating Functions Using The def Keyword
How do you define a function in Python?
function my_function():
def my_function():
create my_function():
func my_function():
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which library do you need to import to use NumPy arrays?
import numpy
import pandas
import array
import math
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
number = 4
if number % 2 == 0:
print("The number is even.")
else:
print("The number is odd.")
The number is odd.
The number is even.
error
nothing
Access all questions and much more by creating a free account
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
Already have an account?
Similar Resources on Wayground
15 questions
Bài 22-Kiểu dữ liệu danh sách
Quiz
•
10th Grade
12 questions
Remidi TLJ
Quiz
•
12th Grade
11 questions
Types of Mass Media
Quiz
•
10th Grade - Professi...
11 questions
Programming Quiz 1
Quiz
•
11th Grade
10 questions
Cuestionario Steve Jobs
Quiz
•
12th Grade - University
10 questions
Sistema Operativo Android
Quiz
•
9th - 12th Grade
10 questions
Staff CPD Internet Safety and AI Quizizz
Quiz
•
10th Grade
8 questions
Reforzamiento de Metodologías de Desarrollo de Software
Quiz
•
10th Grade
Popular Resources on Wayground
7 questions
History of Valentine's Day
Interactive video
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
15 questions
Valentine's Day Trivia
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Computers
10 questions
Exploring Valentine's Day with Charlie Brown
Interactive video
•
6th - 10th Grade
18 questions
Valentines Day Trivia
Quiz
•
3rd Grade - University
20 questions
El Verbo IR Practice
Quiz
•
9th Grade
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
10 questions
Valentine's Day History and Traditions
Interactive video
•
6th - 10th Grade
20 questions
Graphing Inequalities on a Number Line
Quiz
•
6th - 9th Grade
20 questions
Exponent Properties
Quiz
•
9th Grade
21 questions
Presidents Day Trivia
Quiz
•
6th - 12th Grade