Python quick quiz

Quiz
•
Computers
•
University
•
Hard
Love Lifelong
Used 4+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will be the output of the following code snippet?
print(2**2 + (5 + 6)**(1 + 1))
129
125
8
None of the Above
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will be output if a = 8**2 and b =5
a = input()
b=input()
print(a +b)
69
21
error
8**25
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Samar
Error
Global
No Output
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What will be the output?
[2, 5, 7, 19, 22, 45, 72, 89]
(2, 5, 7, 19, 22, 45, 72, 89)
Error
{2, 5, 7, 19, 22, 45, 72, 89}
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
s = {1, 2, 3.0, 3, 2, 4, 5, 5.0}
print(s)
{1, 2, 3, 4, 5.0}
{1, 2, 3.0, 4, 5}
{1, 2, 3.0, 4, 5.0}
{1, 2, 3.0, 3, 2, 4, 5, 5.0}
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
[0,1,4,9]
[0,1,4,9,16]
[0,1,4,9,16,25]
[0,1,2,3,4]
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Guess output?
1
2
3
4
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Python debugging

Quiz
•
University
10 questions
java quiz based on interface

Quiz
•
University
10 questions
Python-Quiz-Basic-Datatypes

Quiz
•
12th Grade - Professi...
15 questions
GAGC-JAVA-SET1

Quiz
•
University
15 questions
Scope of Variables in Python

Quiz
•
1st Grade - Professio...
10 questions
Session 2 | U

Quiz
•
University
11 questions
ACM AI Pytorch Review

Quiz
•
University
10 questions
Array in C

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

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

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

Interactive video
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University