
Object Oriented (Unit 2)

Quiz
•
Computers
•
University
•
Medium
Vanna J
Used 5+ times
FREE Resource
26 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which statement best describes the relationship between a class and an object?
A class is an instance of an object
An object is a blueprint of a class
A class is a blueprint, and an object is an instance of it
Both are the same
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In C#, what keyword is used to create an object from a class?
class
new
object
this
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the return type of a constructor in C#?
void
int
object
It has no return type
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If a developer wants to initialize fields automatically when creating an object, which feature should they use?
Methods
Constructors
Properties
Delegates
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
You create multiple constructors with different parameter lists. This is an example of:
Encapsulation
Overloading
Overriding
Hiding
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which accessor in a property retrieves the value of a field?
get
set
return
this
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a value type in C#?
string
int
object
class
Create a free account and access millions of resources
Similar Resources on Wayground
26 questions
Typescript class 02

Quiz
•
University
21 questions
Cyber Forensics

Quiz
•
University
25 questions
Introduction to Python

Quiz
•
KG - University
30 questions
UML QUIZ

Quiz
•
University
25 questions
Essential Windows Keyboard Shortcuts

Quiz
•
6th Grade - University
25 questions
JAVA BASICS

Quiz
•
University
30 questions
JAVA PROGRAMMING

Quiz
•
University
25 questions
Java - SET -1

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 Computers
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