ITP221-Midterms

Quiz
•
Other
•
University
•
Hard
Rod Puyat
Used 43+ times
FREE Resource
42 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is object-oriented programming (OOP)?
A way of organizing code for maximum reusability.
A method for writing procedural code.
A technique for managing databases.
A programming language.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a class in OOP?
A user-defined data type.
A built-in data type.
A function that creates objects.
A method for data manipulation.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is an object in OOP?
An instance of a class.
A blueprint for a class.
A type of function.
A method for data encapsulation.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does encapsulation refer to in Python?
Bundling of data and methods together.
Hiding the internal state of an object.
Creating multiple classes.
Using inheritance.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is inheritance in OOP?
Acquiring properties and methods from another class.
Creating new classes without any base class.
A method for data encapsulation.
A way to define functions.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are the types of inheritance?
Single, Multiple, Multilevel, Hierarchical, Hybrid.
Public, Protected, Private.
Encapsulation, Abstraction, Inheritance.
Classes, Objects, Methods.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the self parameter in Python?
To refer to the current instance of the class.
To create a new instance of a class.
To define a class method.
To access class attributes.
Create a free account and access millions of resources
Similar Resources on Wayground
43 questions
National 5 Bus Mgt HR Recruitment and Selection

Quiz
•
KG - University
42 questions
Pedagogy Final Questions (51-100)

Quiz
•
University
47 questions
AJP Vidyalankar Polytechnic CHP 5 Part 1

Quiz
•
University
40 questions
INFO 232 / COMP 351 - CH 2

Quiz
•
University
40 questions
M3.Roles and Responsibilities

Quiz
•
University
40 questions
Midterm Exam - PY 338

Quiz
•
University
42 questions
RISK MANAGEMENT

Quiz
•
12th Grade - University
43 questions
ASSESSMENT PART 2

Quiz
•
University
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 Other
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