
Object Oriented (Unit 2)
Quiz
•
Computers
•
University
•
Practice Problem
•
Medium
Vanna J
Used 8+ times
FREE Resource
Enhance your content in a minute
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
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
24 questions
Mastering Project Management Concepts
Quiz
•
University
25 questions
Internet
Quiz
•
University
22 questions
PLANEACION Y PRODUCCION
Quiz
•
University
21 questions
РМП 3 курс 6 семестр
Quiz
•
11th Grade - University
21 questions
T Levels - Physical Environment - Computer
Quiz
•
University
22 questions
last22
Quiz
•
University
22 questions
Google Prof Cloud Archi - pt 8
Quiz
•
University
23 questions
Repaso Arquitectura TI Empresarial
Quiz
•
University
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
