What will be the output of following code ?
Lesson 10 - Decision control statements

Quiz
•
Professional Development, Education
•
5th - 8th Grade
•
Medium
NotchUp .co
Used 108+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
perfect
imperfect
12
none
2.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What will be the output of the following code ?
26
25
50
none
3.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What is the maximum choices will we have in 2 level nested if else hierarchy ?
3
4
5
6
4.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
From the code below write for what condition else block will be executed ?
never execute
when a<18
when a=18
when a>=18
5.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What will be the output of the following code ?
True
False
both True and false
none
6.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What will be the output of following code ?
False
True
True
False
True
Error
7.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
what will be the output of the following statement ?
print(str(int(float(int(5.6)))))
'5'
5
'5.6'
5.6
Create a free account and access millions of resources
Similar Resources on Quizizz
10 questions
PYTHON ISHAAN2412

Quiz
•
6th - 9th Grade
13 questions
Arduino Level 2

Quiz
•
8th Grade
13 questions
Common Coding Vocabulary

Quiz
•
2nd - 8th Grade
10 questions
Lesson 12 - Transfer statements

Quiz
•
5th - 8th Grade
10 questions
Lesson 29 - Introduction to module

Quiz
•
5th - 8th Grade
15 questions
Programming - Screening Test

Quiz
•
3rd Grade - Professio...
10 questions
Lesson 26 – Types of functions

Quiz
•
5th - 8th Grade
15 questions
Lesson 7 - Test 1

Quiz
•
5th - 8th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade