
Python - Branching and Looping - 1

Quiz
•
Computers, Professional Development
•
6th Grade - Professional Development
•
Medium
Lathika Valavan
Used 13+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
How do we differentiate the body of the loop from the rest of the code?
Writing loop above.
Writing loop below the whole code.
Using proper indentation.
All are correct.
2.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
a, b = 12, 5
if a + b: print('True')
else: print('False')
True
False
3.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
Given the nested if-else structure below, what will be the value of x after code execution completes
2
0
3
4
4.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Given the nested if-else below, what will be the value x when the code executed successfully
0
4
2
3
5.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Mark the output:
cpp
learnpython
java
None
6.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
What is the output?
Or learning python?
Or learning python 4 sona
Am I learning python?
Or learning python? Or learning python 4 sona
7.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
What is the output?
You rock
Not interested
None
Error
Create a free account and access millions of resources
Similar Resources on Wayground
14 questions
year 8 lesson 2 quiz - python

Quiz
•
8th - 10th Grade
10 questions
Conditional statements in python

Quiz
•
11th - 12th Grade
15 questions
PYTHON PROGRAMMING FUNDAMENTALS

Quiz
•
11th Grade
15 questions
Basic Python Coding

Quiz
•
11th - 12th Grade
12 questions
Python Programming Basics

Quiz
•
7th - 11th Grade
15 questions
Python Basics

Quiz
•
KG - University
20 questions
Python Basics & Syntax

Quiz
•
10th - 12th Grade
11 questions
PYTHON "If" Statement

Quiz
•
6th Grade
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
Discover more resources for Computers
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

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

Interactive video
•
6th - 10th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade