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
Python Quiz Girls in ICT Day

Quiz
•
University
18 questions
Codean - Java Rekursi

Quiz
•
University
18 questions
Python Library Routines Quiz

Quiz
•
10th Grade - University
25 questions
Fundamentals of programming Quiz

Quiz
•
University
20 questions
2F-1 | Python Quiz | 14/10/2024

Quiz
•
University
25 questions
Seatwork #4

Quiz
•
12th Grade - University
15 questions
Selection Programming_If condition

Quiz
•
8th Grade - University
20 questions
Algoritma Struktur Data

Quiz
•
University
Popular Resources on Wayground
12 questions
Unit Zero lesson 2 cafeteria

Lesson
•
9th - 12th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Lab Safety Procedures and Guidelines

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

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
20 questions
Lab Safety and Equipment

Quiz
•
8th Grade
13 questions
25-26 Behavior Expectations Matrix

Quiz
•
9th - 12th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Information Technology (IT)
15 questions
Let's Take a Poll...

Quiz
•
9th Grade - University
2 questions
Pronouncing Names Correctly

Quiz
•
University
12 questions
Civil War

Quiz
•
8th Grade - University
18 questions
Parent Functions

Quiz
•
9th Grade - University
21 questions
Mapa países hispanohablantes

Quiz
•
1st Grade - University
19 questions
Primary v. Secondary Sources

Quiz
•
6th Grade - University
25 questions
Identifying Parts of Speech

Quiz
•
8th Grade - University
20 questions
Disney Trivia

Quiz
•
University