Python Recap

Quiz
•
Computers
•
University
•
Medium
P zet
Used 2+ times
FREE Resource
7 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
What do you call a class which you inherit from?
Ultra class
Parent class
Super class
Mega class
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What function is used to access super class attributes and methods?
super()
parent()
top()
self()
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not a built-in data type in Python?
String (str)
Integer (int)
list
void
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a correct way to create a list of integers from 1 to 5?
(1, 2, 3, 4, 5)
[1, 2, 3, 4, 5]
{1, 2, 3, 4, 5}
1, 2, 3, 4, 5
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following statements about classes in Python is true?
A class is used to create conditional statements.
A class is an instance of an object.
A class is a blueprint for creating objects.
A class is a collection of elements such as integers.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of the following calculation: 5 % 2
2.5
2
1
0
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code?
5
"MyClass"
"x"
None
Similar Resources on Wayground
9 questions
Inheritance + java

Quiz
•
University
6 questions
Inheritance and polymorphism

Quiz
•
University
10 questions
INTRODUCTION TO OOPS

Quiz
•
University
10 questions
Unit 24 - Java Basics

Quiz
•
University
10 questions
TIU Quiz-10

Quiz
•
University
10 questions
Software Engineering Fundas!

Quiz
•
University
10 questions
Unit 1 - Classes and Objects

Quiz
•
University
12 questions
Guess the Gaming Food 1

Quiz
•
KG - Professional Dev...
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