
120-140
Quiz
•
Information Technology (IT)
•
University
•
Hard
Ілияс Тілепалды
FREE Resource
Enhance your content
20 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
How is a method different from a regular function?
Method is inside a class
Method takes self as first parameter
Methods run faster
Functions are always static
2.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
How to add attributes to a class?
Assign in __init__
Use self.attribute = value
Use def keyword
Use import
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is inheritance in Python?
A class deriving from another
Copying a method
Making global variables
Running a loop
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How to override a parent method?
Redefine it in child class
Use override keyword
Use def twice
Use import
5.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
What is the difference between a class and an object?
Class is a blueprint
Object is an instance
Class is data
Object defines a class
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is math.floor(0o10)?
8
10
0
9
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is returned by int(math.pow(3, 2))?
6
9
error, third argument required
error, too many arguments
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple

Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
25 questions
Pyhton Debugging Questions
Quiz
•
University
15 questions
Bài 30
Quiz
•
10th Grade - University
25 questions
Ulangan Harian Struktur Data
Quiz
•
9th Grade - University
15 questions
Microsoft Word Processing Skills Assessment
Quiz
•
10th Grade - University
25 questions
Soal Pilihan Ganda Microsoft Word
Quiz
•
8th Grade - University
20 questions
Quiz Pra UAS Algoritma Python
Quiz
•
University
15 questions
Intro to Word Processing
Quiz
•
9th Grade - University
16 questions
Kuis Uji Pemahaman Python Variabel, Sintaks Dasar, Type Data
Quiz
•
11th Grade - University
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
20 questions
ELA Advisory Review
Quiz
•
7th Grade
15 questions
Subtracting Integers
Quiz
•
7th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
Discover more resources for Information Technology (IT)
11 questions
NFL Football logos
Quiz
•
KG - Professional Dev...
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms
Quiz
•
11th Grade - University
38 questions
Unit 6 Key Terms
Quiz
•
11th Grade - University
20 questions
La Hora
Quiz
•
9th Grade - University
7 questions
Cell Transport
Interactive video
•
11th Grade - University
7 questions
What Is Narrative Writing?
Interactive video
•
4th Grade - University