Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 2 out of 15 pages
Exam (elaborations)

Object Oriented Programming Test 1 UPDATED ACTUAL Exam Questions and CORRECT Answers

Document preview thumbnail
Preview 2 out of 15 pages

Object Oriented Programming Test 1 UPDATED ACTUAL Exam Questions and CORRECT Answers To use custom data types, you need to define a ________________ - CORRECT ANSWER - class An object is called an ____________ of a class - CORRECT ANSWER Creating an object is called ___________ - CORRECT ANSWER - instance - instantiation The characteristics of an object are called _____________ - CORRECT ANSWER properties c# has two ways of storing data, by ____________ ______ ___________ - CORRECT ANSWER - reference and value -

Content preview

Object Oriented Programming Test 1
UPDATED ACTUAL Exam Questions and
CORRECT Answers
To use custom data types, you need to define a ________________ - CORRECT
ANSWER - class



An object is called an ____________ of a class - CORRECT ANSWER - instance



Creating an object is called ___________ - CORRECT ANSWER - instantiation



The characteristics of an object are called _____________ - CORRECT ANSWER -
properties


c# has two ways of storing data, by ____________ ______ ___________ - CORRECT
ANSWER - reference and value


The area in memory that stores the contents of a value type is called the _____________ -
CORRECT ANSWER - stack


Reference types are stored in the part of memory called the _____________ - CORRECT
ANSWER - heap


a ____________ _____________ contains a memory address to the actual object on the heap -
CORRECT ANSWER - reference type


______________ is used for static memory allocation, which includes all your value types, like x
- CORRECT ANSWER - stack

, _______________ is used for dynamic memory allocation, which includes custom objects, that
might need additional memory during the runtime of your program - CORRECT
ANSWER - heap


_____________ ____________ are keywords used to specify the accessibility of a member -
CORRECT ANSWER - access modifiers


If no access modifier is defined, the member is _____________ by default - CORRECT
ANSWER - private


A member that has been defined _______________ can be accessed from outside the class, as
long as it's anywhere within the scope of the class object. - CORRECT ANSWER - public


the ________ operator instantiates an object and returns a reference to its location - CORRECT
ANSWER - new


The ________ ___________ is used to access and call the method of the object - CORRECT
ANSWER - dot operator



______________ is also called information hiding - CORRECT ANSWER - encapsulation


Encapsulation is implemented using ________________ _________________ - CORRECT
ANSWER - access modifiers


___________________ allows you to hide details of a class realization - CORRECT
ANSWER - encapsulation


The _________ access modifier makes members accessible only from within the class and hides
them from the outside - CORRECT ANSWER - private

Document information

Uploaded on
April 17, 2025
Number of pages
15
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
$12.49

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
STANFORDGRADESS
4.0
(238)
Sold
1590
Followers
108
Items
115164
Last sold
8 hours ago




Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions