2F-3 | Python Quiz | 22/11/2024

Quiz
•
Information Technology (IT)
•
University
•
Medium
Olzhas Toktassyn
Used 1+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
What is a conditional operator?
An operator used for looping
An operator that compares strings
An operator that allows decision-making
None of the above
2.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
What does the following program output if a = 5 and b = 10?
a is greater
No output
b is greater
Error in the program
3.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
How many if statements are needed to check if x is greater than both y and z?
3
2
1
None of the above
4.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
What will be the output of this program?
No output
Error in the program
Divisible
None of the above
5.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
What is the result of x > 5 and x < 10 when x = 7?
False
Error
True
None of the above
6.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
Which of these statements checks if a number is positive and divisible by 3?
x > 0 or x % 3 == 0
x % 3 == 0 and x > 0
x > 0 and x % 3 != 0
x < 0 or x % 3 == 0
7.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
Which logical operation is used in the following condition?
(a and b) or not c
and only
or only
Both and and or
Neither
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Review PBO

Quiz
•
University
25 questions
Ulangan Harian Struktur Data

Quiz
•
9th Grade - University
20 questions
Quiz 4

Quiz
•
University
15 questions
Bài 30

Quiz
•
10th Grade - University
20 questions
IT ELECTIVES - ROBOTICS 1ST QUIZ

Quiz
•
University
25 questions
Pyhton Debugging Questions

Quiz
•
University
16 questions
Kuis Uji Pemahaman Python Variabel, Sintaks Dasar, Type Data

Quiz
•
11th Grade - University
15 questions
Q1. Human Computer Interaction

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Information Technology (IT)
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
15 questions
Properties of Equality

Quiz
•
8th Grade - University
38 questions
WH - Unit 3 Exam Review*

Quiz
•
10th Grade - University
21 questions
Advise vs. Advice

Quiz
•
6th Grade - University
12 questions
Reading a ruler!

Quiz
•
9th Grade - University