100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Exam (elaborations)

Programming Logic and Design Chapter 10 Review AND Vocabulary Correct Answers

Rating
-
Sold
-
Pages
6
Grade
A+
Uploaded on
22-03-2025
Written in
2024/2025

Programming Logic and Design Chapter 10 Review AND Vocabulary Correct Answers

Institution
Programming Logic And Design
Course
Programming Logic and Design









Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
Programming Logic and Design
Course
Programming Logic and Design

Document information

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

Subjects

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

Get to know the seller

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 Boston University
View profile
Follow You need to be logged in order to follow users or courses
Sold
281
Member since
2 year
Number of followers
28
Documents
25966
Last sold
5 days ago

3.6

57 reviews

5
23
4
10
3
11
2
3
1
10

Recently viewed by you

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

Frequently asked questions