Classes in (OOP)

Quiz
•
Computers
•
11th Grade
•
Medium
Margaret Sifuna
Used 19+ times
FREE Resource
12 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
45 sec • 5 pts
What do objects instantiated from a class contain?
Variables
Attributes
Predefined actions
2.
MULTIPLE SELECT QUESTION
45 sec • 5 pts
What do objects instantiated from a class contain?
Class variables
Methods
Predefined Functions
3.
MULTIPLE CHOICE QUESTION
45 sec • 5 pts
What is the purpose of a method in a class?
To define new data types.
To organise code in a modular way.
To perform actions or behaviours.
To generate random numbers.
4.
MULTIPLE CHOICE QUESTION
45 sec • 5 pts
What is the term used to refer to an object in OOP?
Identifier
Blueprint
Instance
Class variable
5.
MULTIPLE CHOICE QUESTION
45 sec • 5 pts
What is a class in the context of Object-Oriented Programming (OOP)?
A blueprint for creating objects.
A specific instance of an object
A method for organising code.
A predefined set of actions
6.
MULTIPLE CHOICE QUESTION
45 sec • 5 pts
What are attributes in the context of OOP?
Actions or behaviours within a class
Predefined set of functionalities
Variables within a class
Identifiers for objects
7.
MULTIPLE CHOICE QUESTION
45 sec • 5 pts
Which of the following is an example of a predefined class in Python?
Animal()
Int()
Student()
Object()
Create a free account and access millions of resources
Similar Resources on Wayground
12 questions
LABORATORIO 1 4TO BACO

Quiz
•
9th - 12th Grade
10 questions
Productivity Tools

Quiz
•
11th Grade
10 questions
RO81 LO2 Hardware

Quiz
•
10th - 11th Grade
10 questions
Microsoft Teams

Quiz
•
KG - 12th Grade
10 questions
OOP

Quiz
•
9th - 12th Grade
10 questions
C++ Quiz 1

Quiz
•
11th - 12th Grade
13 questions
3.TR - PHP 12

Quiz
•
11th Grade
15 questions
DIT Excel 2016 Review

Quiz
•
8th - 12th Grade
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 Computers
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade