
120-140

Quiz
•
Information Technology (IT)
•
University
•
Hard
Ілияс Тілепалды
FREE Resource
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
Similar Resources on Wayground
20 questions
Mastering Python Control Structures

Quiz
•
University
18 questions
SDC_SAP_C02-Part01 (1-18)

Quiz
•
University
24 questions
Mail Merge Quiz

Quiz
•
7th Grade - University
20 questions
Python Programming Concepts Quiz

Quiz
•
University
20 questions
Basic C# intro

Quiz
•
University
20 questions
21 MARET PRAK PEMROGRAMAN

Quiz
•
University
20 questions
Функції у Python

Quiz
•
University
25 questions
Python Study Topics Quiz

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 Information Technology (IT)
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