
Basic OOP
Quiz
•
Other
•
University
•
Practice Problem
•
Hard
Hai NS
FREE Resource
Enhance your content in a minute
26 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is an object in object-oriented programming (OOP)?
A basic entity that represents a specific instance of a class.
A template for creating objects.
A structure for storing simple data types.
A contract that classes must implement.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What defines the properties and methods that objects of a class will have?
Object
Class
Struct
Interface
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a struct used for?
To store simple data types.
To define a contract for classes.
To represent a specific instance of a class.
To define properties and methods.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does an interface define?
A contract that classes must implement.
A template for creating objects.
A structure for storing simple data types.
A basic entity in OOP.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What do access modifiers determine?
The visibility of class members.
The methods available in a class.
The properties of a struct.
The inheritance of a class.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a constant?
Defined only once at compile time.
Can be changed at runtime.
Supports all data types.
Initialized at runtime.
7.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
What is the difference between override and new?
Override always calls the latest implementation.
New preserves the original implementation.
Both are the same.
Override cannot be used in derived classes.
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
21 questions
Primer Parcial Relaciones Internacionales
Quiz
•
University
21 questions
The PokéDex
Quiz
•
University
21 questions
nchcxhr
Quiz
•
University
30 questions
HCT CB Level 1 List 3 ADWC
Quiz
•
4th Grade - University
22 questions
Ainsley - Biochem lab (Isang bagsakan Midterms)
Quiz
•
University
22 questions
MIS Quiz 1
Quiz
•
University
21 questions
Unit 7
Quiz
•
University
21 questions
CXN JÓVENES
Quiz
•
University - Professi...
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
Discover more resources for Other
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
23 questions
Subject Verb Agreement
Quiz
•
9th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
5 questions
Poetry Interpretation
Interactive video
•
4th Grade - University
19 questions
Black History Month Trivia
Quiz
•
6th Grade - Professio...
15 questions
Review1
Quiz
•
University
15 questions
Pre1
Quiz
•
University
