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
15 questions
Lesson 31 Test-4

Quiz
•
5th - 8th Grade
10 questions
Lesson 28 - Recursive and anonymous function

Quiz
•
5th - 8th Grade
10 questions
Lesson 43 - Dictionary Datatype 1

Quiz
•
5th - 8th Grade
10 questions
AI for Youth – Machine and Minds

Quiz
•
8th Grade
12 questions
Lesson 34 - Math & OS module

Quiz
•
5th - 8th Grade
10 questions
Python Marathon (Easy Round)

Quiz
•
1st - 6th Grade
15 questions
JAVA: Level-1

Quiz
•
5th - 12th Grade
10 questions
Lesson 44 - Dictionary Datatype 2

Quiz
•
5th - 8th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade
Discover more resources for Professional Development
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
12 questions
Dividing Fractions

Quiz
•
6th Grade
9 questions
1. Types of Energy

Quiz
•
6th Grade
18 questions
Main Idea & Supporting Details

Quiz
•
5th Grade
20 questions
Parts of Speech

Quiz
•
3rd - 6th Grade