
G12 Advanced Theory
Authored by Kiers McFarlane
Computers
12th Grade
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Why is OOP considered more structured and reusable compared to procedural programming?
Because it forces all functions to be global
Because it organizes data and behavior into objects that interact in a modular way
Because it removes the need for defining variables
Because it prevents code from being executed more than once
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How does the __init__ method contribute to encapsulation?
It prevents attributes from being modified after instantiation
It initializes attributes and ensures they are assigned values when an object is created
It encrypts attributes so they cannot be accessed
It restricts the creation of objects to specific classes
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Why is self required in class methods?
It allows each method to modify class-level attributes
It ensures that methods can only be called from within the class
It allows access to instance attributes and methods within the object itself
It automatically generates unique attribute names for every instance
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What advantage does inheritance provide in large-scale software development?
It prevents classes from being modified after creation
It reduces code duplication by allowing shared functionality across multiple classes
It makes all attributes private by default
It forces all classes to follow the same method structure
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How does the super() function help maintain modular and extensible code?
It enforces strict typing rules for all attributes
It ensures that attributes from the parent class are inherited without redefining them
It prevents attributes from being accessed outside the class
It forces method names to be unique in child classes
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a key principle of polymorphism that makes code more flexible?
It allows the same method name to have different implementations in different classes
It requires all methods in a class to have unique names
It prevents child classes from modifying inherited methods
It forces all attributes to be public
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How does method overriding support polymorphism?
It allows a child class to define a method with the same name but different behavior from the parent class
It forces all child classes to use methods exactly as defined in the parent class
It prevents methods from being inherited by child classes
It ensures all methods return the same data type
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
16 questions
C-Programming Basics
Quiz
•
12th Grade
20 questions
Microsoft Excel
Quiz
•
KG - Professional Dev...
10 questions
Working around Adobe Photoshop
Quiz
•
12th Grade
15 questions
Digital Etiquette
Quiz
•
4th Grade - University
15 questions
python basics
Quiz
•
11th Grade - University
10 questions
Topologies and Architecture
Quiz
•
9th - 12th Grade
17 questions
Week #7 - Time Machine
Quiz
•
8th Grade - University
10 questions
Computer Basics Quiz
Quiz
•
8th Grade - 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
29 questions
Alg. 1 Section 5.1 Coordinate Plane
Quiz
•
9th Grade
22 questions
fractions
Quiz
•
3rd Grade
11 questions
FOREST Effective communication
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Computers
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
22 questions
El Imperfecto
Quiz
•
9th - 12th Grade
20 questions
SSS/SAS
Quiz
•
9th - 12th Grade
20 questions
verbos reflexivos en español
Quiz
•
9th - 12th Grade
14 questions
Making Inferences From Samples
Quiz
•
7th - 12th Grade
23 questions
CCG - CH8 Polygon angles and area Review
Quiz
•
9th - 12th Grade
8 questions
Momentum and Collisions
Lesson
•
9th - 12th Grade
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade