
XI-A1 FLOW OF CONTROL G6

Quiz
•
Information Technology (IT)
•
11th Grade
•
Hard
Pulkit 1292
FREE Resource
21 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
1. What is the purpose of an elif clause in Python?
To comment code
To make an alternate branch if the if condition is false
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
2. L = "45" → datatype of L?
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which function converts a string "123" into integer?
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
4. x = 5
if x > 10:
print("A")
elif x > 3:
print("B")
else:
print("C")
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
5. What’s the difference between elif and else?
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
6. Which of these keywords marks a null operation?
PASS
CONTINUE
BREAK
ELSE
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
7. x = float(input())
if (x == 1):
print("Yes")
elif (x >= 2):
print("Maybe")
else:
print("No")
IF USER INPUT 1.5 THEN WHAT WILL BE OUTPUT
YES
NO
MAYBE
NOTHING PRINTED
Create a free account and access millions of resources
Similar Resources on Wayground
23 questions
Grade 11 Midterm

Quiz
•
11th Grade
20 questions
Питон П411

Quiz
•
9th - 12th Grade
21 questions
Python Savollari 2

Quiz
•
11th Grade
25 questions
Understanding the concept of list

Quiz
•
11th Grade
18 questions
Python Library Routines Quiz

Quiz
•
10th Grade - University
20 questions
for_students

Quiz
•
11th Grade
20 questions
Sensor dan Servo Motor Arduino

Quiz
•
11th Grade
25 questions
G9-Introduction to Python Programming

Quiz
•
9th Grade - University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

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

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Information Technology (IT)
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
6 questions
Rule of Law

Quiz
•
6th - 12th Grade
15 questions
ACT Math Practice Test

Quiz
•
9th - 12th Grade
18 questions
Hispanic Heritage Month

Quiz
•
KG - 12th Grade
28 questions
Ser vs estar

Quiz
•
9th - 12th Grade
10 questions
Would you rather...

Quiz
•
KG - University