Geschreven door studenten die geslaagd zijn Direct beschikbaar na je betaling Online lezen of als PDF Verkeerd document? Gratis ruilen 4,6 TrustPilot
logo-home
Tentamen (uitwerkingen)

CST 8116 QUIZ 11 QUESTIONS WELL ANSWERED LATEST UPDATE 2026

Beoordeling
-
Verkocht
-
Pagina's
3
Cijfer
A+
Geüpload op
16-05-2026
Geschreven in
2025/2026

CST 8116 QUIZ 11 QUESTIONS WELL ANSWERED LATEST UPDATE 2026 In implementation hiding, the calling method needs to understand only the interface to the method that is called and it need not know how the method works internally. True False - Answers True Variables and constants are ____ within, or local to, only the method in which they are declared. in scope out of bounds out of scope limited - Answers in scope When a data item is known to all of a program's modules, it is a ____data item. scope defined local global - Answers global Programmers use the term ____ to describe any extra time and resources required by an operation. black box overhead overload cohesion - Answers overhead Using implementation hiding means that the ____ is the only part of a method with which the method's client interacts. argument list interface to the method parameter list internal detail - Answers interface to the method ____ refers to how the internal statements of a method serve to accomplish the method's purpose. Coupling Cohesion Bonding Binding - Answers Cohesion ____ is a measure of the strength of the connection between two program methods. Coupling Cohesion Bonding Binding - Answers Coupling ____ occurs when methods excessively depend on each other and makes programs more prone to errors. Late coupling Loose coupling Tight coupling Weak coupling - Answers Tight coupling ____ occurs when methods do not depend on others. Tight coupling Loose coupling Data coupling Abstract coupling - Answers Loose coupling Programmers refer to hidden implementation details as existing in a(n) ____________________. black-box white-box clear-box empty-box - Answers black-box Which of the following is considered by the text to be the most important consideration when designing a class? A. Each class should represent an appropriate mathematical concept. B. Each class should represent a single concept or object from the problem domain. C. Each class should represent no more than three specific concepts. D. Each class should represent multiple concepts only if they are closely related. - Answers B Which of the following questions should you ask to help determine if a proposed class design is on the right track? A. Does the class name contain eight or fewer characters? B. Is the class name a verb? C. Can I visualize an object of the class? D. Does the class name describe the tasks that this class will accomplish? - Answers C Which class category has static methods and constants, but no objects? Real-life entity abstraction Actor class Utility class Concept class - Answers Utility class A class named CurrencyTranslator would most probably fall into which of the following class categories? Actor classes Starter classes Abstract entities Utility classes - Answers Actor classes Why does the Scanner class belong to the category of classes known as actors? A. It acts as an interface between your program and the command line. B. It serves as an abstract entity that represents a user of your program. C. It plays an important part in streamlining the operation of your system. D. It performs a task, such as scanning a stream for numbers and characters. - Answers D Which of the following most likely indicates that you have chosen a good name for your class? A. The name consists of a single word. B. You can tell by the name what an object of the class is supposed to represent. C. You can easily determine by the name how many concepts the class represents. D. The name is the task the class will perform. - Answers B Which of the following describes the first thing you should do when beginning a new object-oriented programming activity? A. Consider how many concepts each class should represent. B. Determine which categories of classes may be needed for the project. C. Decide what combination of functions and methods are appropriate for the project. D. Identify the objects and the classes to which they belong. - Answers D Under which of the following conditions would the public interface of a class be considered cohesive? A. All of its features are public and none of its features are static. B. The quality of the public interface is rated as moderate to high. C. All of its features are related to the concept that the class represents. D. It is obvious that the public interface refers to multiple concepts. - Answers C Which of the following is a good indicator that a class is overreaching and trying to accomplish too much? A. The class has more constants than methods B. The public interface refers to multiple concepts C. The public interface exposes private features D. The class is both cohesive and dependent. - Answers B A class (ClassOne) is considered to have a dependency on another class (ClassTwo) under which of the following conditions? A. ClassOne and ClassTwo both use a third class ClassThree. B. The public interfaces of both classes are cohesive. C. ClassTwo uses objects of ClassOne. D. ClassOne uses objects of ClassTwo. - Answers D Should constructors have console input / output? - Answers Yes Should accessors and-or mutators have console input / output? - Answers No What is(are) the design problem(s) with the createReport() method, for class orange in Hybrid 11? A. Too many tasks inside one method. B. Mutating fields when this would not be expected.

Meer zien Lees minder
Instelling
CST 8116
Vak
CST 8116

Voorbeeld van de inhoud

CST 8116 QUIZ 11 QUESTIONS WELL ANSWERED LATEST UPDATE 2026

In implementation hiding, the calling method needs to understand only the interface to the method
that is called and it need not know how the method works internally.
True
False - Answers True
Variables and constants are ____ within, or local to, only the method in which they are declared.
in scope
out of bounds
out of scope
limited - Answers in scope
When a data item is known to all of a program's modules, it is a ____data item.
scope
defined
local
global - Answers global
Programmers use the term ____ to describe any extra time and resources required by an operation.
black box
overhead
overload
cohesion - Answers overhead
Using implementation hiding means that the ____ is the only part of a method with which the
method's client interacts.
argument list
interface to the method
parameter list
internal detail - Answers interface to the method
____ refers to how the internal statements of a method serve to accomplish the method's purpose.
Coupling
Cohesion
Bonding
Binding - Answers Cohesion
____ is a measure of the strength of the connection between two program methods.
Coupling
Cohesion
Bonding
Binding - Answers Coupling
____ occurs when methods excessively depend on each other and makes programs more prone to
errors.
Late coupling
Loose coupling
Tight coupling
Weak coupling - Answers Tight coupling
____ occurs when methods do not depend on others.
Tight coupling
Loose coupling
Data coupling
Abstract coupling - Answers Loose coupling
Programmers refer to hidden implementation details as existing in a(n) ____________________.
black-box
white-box
clear-box
empty-box - Answers black-box
Which of the following is considered by the text to be the most important consideration when
designing a class?
A. Each class should represent an appropriate mathematical concept.
B. Each class should represent a single concept or object from the problem domain.

Geschreven voor

Instelling
CST 8116
Vak
CST 8116

Documentinformatie

Geüpload op
16 mei 2026
Aantal pagina's
3
Geschreven in
2025/2026
Type
Tentamen (uitwerkingen)
Bevat
Vragen en antwoorden

Onderwerpen

$11.49
Krijg toegang tot het volledige document:

Verkeerd document? Gratis ruilen Binnen 14 dagen na aankoop en voor het downloaden kun je een ander document kiezen. Je kunt het bedrag gewoon opnieuw besteden.
Geschreven door studenten die geslaagd zijn
Direct beschikbaar na je betaling
Online lezen of als PDF

Maak kennis met de verkoper

Seller avatar
De reputatie van een verkoper is gebaseerd op het aantal documenten dat iemand tegen betaling verkocht heeft en de beoordelingen die voor die items ontvangen zijn. Er zijn drie niveau’s te onderscheiden: brons, zilver en goud. Hoe beter de reputatie, hoe meer de kwaliteit van zijn of haar werk te vertrouwen is.
joshuawesonga22 Liberty University
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
98
Lid sinds
1 jaar
Aantal volgers
1
Documenten
14119
Laatst verkocht
1 dag geleden
Tutor Wes

Hi there! I'm Tutor Wes, a dedicated tutor with a passion for sharing knowledge and helping others succeed academically. All my notes are carefully organized, detailed, and easy to understand. Whether you're preparing for exams, catching up on lectures, or looking for clear summaries, you'll find useful study materials here. Let’s succeed together!

3.9

9 beoordelingen

5
4
4
1
3
3
2
1
1
0

Recent door jou bekeken

Waarom studenten kiezen voor Stuvia

Gemaakt door medestudenten, geverifieerd door reviews

Kwaliteit die je kunt vertrouwen: geschreven door studenten die slaagden en beoordeeld door anderen die dit document gebruikten.

Niet tevreden? Kies een ander document

Geen zorgen! Je kunt voor hetzelfde geld direct een ander document kiezen dat beter past bij wat je zoekt.

Betaal zoals je wilt, start meteen met leren

Geen abonnement, geen verplichtingen. Betaal zoals je gewend bent via iDeal of creditcard en download je PDF-document meteen.

Student with book image

“Gekocht, gedownload en geslaagd. Zo makkelijk kan het dus zijn.”

Alisha Student

Bezig met je bronvermelding?

Maak nauwkeurige citaten in APA, MLA en Harvard met onze gratis bronnengenerator.

Bezig met je bronvermelding?

Veelgestelde vragen