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
What will be the output of following code ?
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 Wayground
15 questions
Programming - Screening Test

Quiz
•
3rd Grade - Professio...
12 questions
Year 9 - Coding ( from code.org)

Quiz
•
7th - 12th Grade
10 questions
L4 - DNA

Quiz
•
6th - 8th Grade
10 questions
PHMS Welcome

Quiz
•
6th - 8th Grade
13 questions
TEACHING PROFESSION

Quiz
•
1st - 10th Grade
10 questions
Lesson 1- Concepts of Information technology

Quiz
•
7th - 12th Grade
15 questions
Scratch Programming Level-2 Final Exam

Quiz
•
5th - 8th Grade
10 questions
SYSTEM ENHANCEMENT: Project Charter

Quiz
•
5th Grade
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 Professional Development
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
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
20 questions
Finding Volume of Rectangular Prisms

Quiz
•
5th Grade