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

Quiz
•
University
10 questions
Lesson 3: Boolean Logic and Logic Gates

Quiz
•
University
10 questions
C - Pointers

Quiz
•
University
15 questions
Coding club Summit Online Quiz

Quiz
•
University
10 questions
CLASS 9 AI - VIVA 2024-25

Quiz
•
9th Grade - University
10 questions
Indexing and Slicing in Python

Quiz
•
4th Grade - University
10 questions
Datentypen, Variablen & Eingabe in Python

Quiz
•
University
10 questions
Basics Of C Programming

Quiz
•
University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

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

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University