
Loops in python Python Quiz 3

Quiz
•
Computers
•
11th Grade
•
Medium
Reshma Kamthe
Used 45+ times
FREE Resource
24 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
The program above
prints all the odd numbers between 1 and 20
prints all even numbers between 1 and 20
print all the odd numbers between 1 and 21
prints all the even numbers between 1 and 21
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The above program prints
Numbers 1 to 10 in reverse order
Numbers 1 to 11 in reverse order
Numbers 1 to 10
Numbers 1 to 11
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
The code above prints all numbers between 1 and 30 that are
not divisible by 5
divisible by 5
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
A while loop equivalent of the for loop above is
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What does this program print
2 + 2 = 4
4 + 4 = 8
8 + 8 = 16
16 + 16 = 32
32 + 32 = 64
2 + 2 = 4
2 + 2 = 4
2 + 2 = 4
2 + 2 = 4
2 + 2 = 4
2 + 2 = 4
2 + 4 = 6
2 + 6 = 8
2 + 8 = 10
2 + 10 = 12
2 + 2 = 4
2 + 2 = 4
2 + 2 = 4
2 + 2 = 4
2 + 2 = 4
2 + 4 = 6
2 + 6 = 8
2 + 8 = 10
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
print("Hello" + 2 + "world")
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of these is the correct code for creating a list of names?
nameList = John, Harry, Jesse, John, Harry, Harry
nameList = ("John", "Harry", "Jesse", "John", "Harry", "Harry")
nameList = ["John", "Harry", "Jesse", "John", "Harry", "Harry"]
nameList = [John, Harry, Jesse, John, Harry, Harry]
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Python - lists,loops,basics

Quiz
•
9th - 11th Grade
25 questions
PYTHON QUIZ 1

Quiz
•
11th - 12th Grade
26 questions
Python set 1

Quiz
•
9th - 12th Grade
20 questions
Python Programming Quiz

Quiz
•
9th - 12th Grade
20 questions
ИТ ИЭФ

Quiz
•
9th - 12th Grade
25 questions
Data Types- Python

Quiz
•
7th - 11th Grade
20 questions
แบบทดสอบ Python เบื้องต้น

Quiz
•
9th - 12th Grade
20 questions
js_edu_wrap_up

Quiz
•
1st Grade - Professio...
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