
120-140
Authored by Ілияс Тілепалды
Information Technology (IT)
University

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
Access all questions and much more by creating a free account
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
Already have an account?
Similar Resources on Wayground
20 questions
DATA STRUCTUIR Quiz1 (AIML)
Quiz
•
University
17 questions
Quiz de Programação em C
Quiz
•
University
20 questions
IT ELECTIVES - ROBOTICS 1ST QUIZ
Quiz
•
University
16 questions
Kuis Uji Pemahaman Python Variabel, Sintaks Dasar, Type Data
Quiz
•
11th Grade - University
20 questions
Kelas 9 - Halaman 23 (UH Bab 1)
Quiz
•
9th Grade - University
15 questions
Q1. Human Computer Interaction
Quiz
•
University
20 questions
Mesin Pencari Artikel
Quiz
•
11th Grade - University
20 questions
Review PBO
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Information Technology (IT)
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
23 questions
Subject Verb Agreement
Quiz
•
9th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
5 questions
Poetry Interpretation
Interactive video
•
4th Grade - University
19 questions
Black History Month Trivia
Quiz
•
6th Grade - Professio...
15 questions
Review1
Quiz
•
University
15 questions
Pre1
Quiz
•
University