
G9, unit 2
Authored by Ahmad Abdallah
Computers
10th Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
13 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the 'elif' statement stand for in Python?
Else if true
Else if false
Else if not
Else if
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which logical operator is used to connect two or more conditional statements?
NOT
AND
OR
XOR
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In the program to find the largest among three numbers, which condition checks if num1 is the largest?
if (num1 == num2) and (num1 == num3)
if (num1 >= num2) and (num1 >= num3)
if (num1 > num2) and (num1 > num3)
if (num1 <= num2) and (num1 <= num3)
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the else statement in an if-elif-else structure?
To execute code if all previous conditions are false
To execute code if the first condition is true
To execute code if the last condition is true
To execute code if the second condition is true
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In a calculator program, what will happen if the user inserts an invalid input?
The program will ask for input again
The program will crash
The program will display 'Invalid Input'
The program will return 0
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the program if the user inputs 30 and 5 with the operator '/'?
6
5.0
5
6.0
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How many conditions can be checked using if-elif-else statements?
Multiple
Two
Only one
None
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
10 questions
python
Quiz
•
10th Grade
16 questions
Conditions
Quiz
•
8th - 10th Grade
15 questions
Q1 W1 M1 PRE-TEST
Quiz
•
10th Grade
15 questions
Ôn tập KTGK. Bài 17. Biến và lệnh gán
Quiz
•
10th Grade
11 questions
Creative iMedia: Strengths, Weaknesses and Improvements
Quiz
•
10th Grade
18 questions
School Mangement System ICT 0417 IGCSE
Quiz
•
10th - 12th Grade
10 questions
R082 Book Cover Assets planning
Quiz
•
7th - 12th Grade
16 questions
Input Device
Quiz
•
9th - 10th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
10 questions
Probability Practice
Quiz
•
4th Grade
15 questions
Probability on Number LIne
Quiz
•
4th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
6 questions
Appropriate Chromebook Usage
Lesson
•
7th Grade
10 questions
Greek Bases tele and phon
Quiz
•
6th - 8th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
14 questions
[AP CSP] JavaScript Programming Quiz
Quiz
•
9th - 12th Grade
10 questions
Understanding Computers and Computer Engineering
Interactive video
•
7th - 12th Grade
37 questions
Python - Tuples, Lists, and List Methods
Quiz
•
9th - 12th Grade