
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
20 questions
Python Basics

Quiz
•
7th Grade
13 questions
Test

Quiz
•
7th Grade
18 questions
Python ծրագրավորման լեզու

Quiz
•
8th Grade
10 questions
Y9 Intro to Python

Quiz
•
8th Grade
20 questions
kuis pertama

Quiz
•
University
10 questions
ASESMEN DIAGNOSTIK INFORMATIKA – FASE E

Quiz
•
11th Grade
20 questions
Python - lists,loops,basics

Quiz
•
9th - 11th Grade
15 questions
ONE 6th FORM Introduction to Python Basics

Quiz
•
11th 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 Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
20 questions
typing

Quiz
•
6th Grade
18 questions
Company Logos

Quiz
•
6th - 8th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
20 questions
Input, Output, Processing or Storage

Quiz
•
5th - 6th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade
29 questions
AP CSP Unit 2 Review (Code.org)

Quiz
•
10th - 12th Grade