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

IMSA OOP Final Review Questions And Correct Answers 100% Verified

Rating
-
Sold
-
Pages
6
Grade
A+
Uploaded on
26-11-2024
Written in
2024/2025

IMSA OOP Final Review Questions And Correct Answers 100% Verified...

Institution
IMSA OOP
Course
IMSA OOP









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

Written for

Institution
IMSA OOP
Course
IMSA OOP

Document information

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

Subjects

Content preview

IMSA OOP Final Review Questions And Correct
Answers 100% Verified


______ models software in terms similar to those that people use to describe real-world
objects. - ANSWER Object-oriented design



Which of the following is true?

a. A method is required to carry out a task in a Java program.

b. A method contains the program statements that carry out its tasks.

c. The method hides its statements from its user, just as the accelerator pedal of a car
hides from the driver the mechanisms of making the car go faster.

d All of the above. - ANSWER d. All of the above



Which of the following is not true?

a. Classes are reusable software components.

b. A class is to an object as a blueprint is to a house.

c. To carry out some task in a program, a method is used.

d. A class is an instance of its object. - ANSWER d. A class is an instance of its object.



Which of the following statements is incorrect?

a. Many objects can be built using one class only once.

b. Reuse helps you build more reliable and effective systems, because existing classes
and components often have undergone extensive testing, debugging and performance
tuning.

c. Just as the notion of interchangeable parts was crucial to the Industrial Revolution,
reusable classes are crucial to the software revolution that has been spurred by object
technology.

d. Do not reinvent the wheel—use existing high-quality pieces whenever possible. This

, software reuse is a key benefit of object-oriented programming. - ANSWER a. Each
class can be used only once to build many objects.



Which of the following is true?

a. When you drive a car, pressing its gas pedal sends a message to the car to perform a
task—that is, to go faster.

b. You send messages to an object; each message is implemented as a method call that
tells a method of the object to perform its task.

c. A program might call a bank-account object's deposit method to increase the
account's balance.

d. All of the above statements are true. - ANSWER d. All of the above statements are
true.



Which one of the following statements is not valid?

a. The attributes of an object are defined in the object's class. b. A bank-account object
would probably have a balance attribute that reflects how much money is in the
account. c. Each bank-account object knows the balance in the account it represents,
but not the balances of the other accounts in the bank.

d. Attributes are specified by the class's methods.

ANSWER d. Attributes are specified by the class's methods.



Which one of the following statements is not true?

a. Classes (and their objects) encapsulate, i.e., encase, their attributes and methods.

b. A class's (and its object's) attributes and methods are intimately related.

c. For objects to communicate effectively with each other, each must know how the
other object is implemented.

d. Information hiding is essential to good software engineering. - ANSWER c. For objects
to interact properly with each other, each needs to know how the other object is
implemented. Actually, Objects are normally not allowed to know how other objects are
implemented—implementation details are hidden within the objects themselves.



Java was originally developed for:

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.
Easton West Virgina University
View profile
Follow You need to be logged in order to follow users or courses
Sold
501
Member since
2 year
Number of followers
221
Documents
21802
Last sold
3 days ago

3.9

111 reviews

5
53
4
21
3
21
2
7
1
9

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