
Quiz1
Authored by Yasser Monzer
Instructional Technology
6th - 8th Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
if the user enter fight what it will print
You escaped safetly
You fight bravely and won
You stand still.. the dragon flies away.
2.
OPEN ENDED QUESTION
5 mins • 3 pts
Evaluate responses using AI:
OFF
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following best describes a while loop in programming?
A function used to define a new variable.
A statement used to end a program.
A data structure that stores multiple values.
. A condition-based loop that continues executing as long as the condition remains true.
4.
OPEN ENDED QUESTION
5 mins • 2 pts
write a while loop that prints "run" 5 times
Evaluate responses using AI:
OFF
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What does the and operator do in Python programming?
It combines two strings into one.
It runs two loops at the same time.
It returns True only if both conditions are True.
It repeats a block of code while a condition is true.
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What does the or operator do in Python programming?
It stops the program if one condition is false.
It returns True if at least one of the conditions is True.
It combines two lists into one.
It repeats code until one condition is false.
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the primary purpose of loops in programming?
To store data in memory.
To define functions and variables.
To repeat a block of code multiple times.
To stop the execution of a program.
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?