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 6 pages
Exam (elaborations)

Programming Logic and Design Chapter 10 Review AND Vocabulary Correct Answers

Document preview thumbnail
Preview 2 out of 6 pages

Programming Logic and Design Chapter 10 Review AND Vocabulary Correct Answers

Content preview

Programming Logic and Design
Chapter 10 Review AND Vocabulary
Correct Answers

class diagram - ANSWER-A tool for describing a class that consists of a rectangle
divided into three sections that show the name, data, and methods of a class

set method - ANSWER-An instance method that sets the values of a data field within
a class

mutator method - ANSWER-An instance method that can modify an object's
attributes

property - ANSWER-A property provides methods that allow you to get and set a
class field value using a simple syntax

get method - ANSWER-An instance method that returns a value from a class

accessor method - ANSWER-A method that gets values from class fields

work method - ANSWER-A method that performs tasks within a class

help method or facilitator method - ANSWER-A work method

private access - ANSWER-A privilege of class members in which data or methods
cannot be used by any method that is not part of the same class

public access - ANSWER-A privilege of class members in which other programs and
methods may use the specified data or methods within a class

access specifier - ANSWER-The adjective that defines the type of access outside
classes will have to the attribute or method

instance method - ANSWER-A method that operates correctly yet differently for each
class object

an instance method is nonstatic and receives a 𝚝𝚑𝚒𝚜 reference - ANSWER-

this reference - ANSWER-An automatically created variable that holds the address
of an object and passes it to an instance method whenever the method is called

Static methods - ANSWER-Methods for which no object needs to exist

static methods are not instance methods and they do not receive a 𝚝𝚑𝚒𝚜 reference -
ANSWER-

, class methods - ANSWER-A static method

class methods are not instance methods and they do not receive a this reference -
ANSWER-

Nonstatic methods - ANSWER-Methods that exist to be used with an object

they are instance methods and they receive a 𝚝𝚑𝚒𝚜 reference - ANSWER-

Which of the following means the sames as object?

a. class
b. instance
c. field
d. category - ANSWER-a. class

Which of the following means the same as instance variable?

a. class
b. instance
c. category
d. field - ANSWER-d. field

A program that instantiates objects of another prewritten class is a(n)__________.

a. client
b. object
c. instance
d. GUI - ANSWER-b. object

The relationship between an instance and a class is a(n) ________ relationship

a. has-a
b. is-a
c. polymorphic
d. hostile - ANSWER-b. is-a

Which of these does not belong with the others?

a. instance variable
b. attribute
c. field
d. object - ANSWER-d. object

The process of acquiring the traits of one's predecessors' is ____________

a. polymorphism
b. encapsulation
c. inheritance

Document information

Uploaded on
March 22, 2025
Number of pages
6
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
$13.99

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.
lectknancy
3.8
(80)
Sold
327
Followers
27
Items
26139
Last sold
4 days 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