Classes in (OOP)
Quiz
•
Computers
•
11th Grade
•
Practice Problem
•
Medium
Margaret Sifuna
Used 22+ times
FREE Resource
Enhance your content in a minute
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()
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
10 questions
AIJ Test 1 Firewall Jaringan
Quiz
•
9th - 12th Grade
10 questions
Câu hỏi về thiết bị máy tính
Quiz
•
7th Grade - University
10 questions
Prueba Teología 4to Bach 2024-2025
Quiz
•
11th Grade
10 questions
Excel
Quiz
•
11th - 12th Grade
15 questions
History of Computers
Quiz
•
6th - 12th Grade
10 questions
Quizzone Gmail
Quiz
•
9th - 12th Grade
10 questions
Arduino
Quiz
•
7th - 12th Grade
10 questions
Sistema Operativo
Quiz
•
1st - 12th Grade
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
