Escrito por estudiantes que aprobaron Inmediatamente disponible después del pago Leer en línea o como PDF ¿Documento equivocado? Cámbialo gratis 4,6 TrustPilot
logo-home
Examen

Test Bank For Data Abstraction & Problem Solving with C++ Walls and Mirrors, 7th edition Frank M. Carrano | Complete Guide A+.

Puntuación
-
Vendido
-
Páginas
159
Grado
A+
Subido en
26-08-2025
Escrito en
2025/2026

Test Bank For Data Abstraction & Problem Solving with C++ Walls and Mirrors, 7th edition Frank M. Carrano | Complete Guide A+.

Institución
Data Abstraction & Problem Solving With C++ Walls
Grado
Data Abstraction & Problem Solving with C++ Walls

Vista previa del contenido

Chapter 1 #mr


Questions
#mr




Multiple Choice Questions

1. The specifications of an ADT’s operations indicate .
a. what the operations do
b. how to implement the operations
c. how to store the data in the ADT
d. how to carry out the operations
Answer: a.

2. Data structures are part of an ADT’s .
a. definition
b. implementation
c. specifications
d. usage
Answer: b.

3. A(n) allows two modules to communicate with each other.
a. data structure
b. axiom
c. interface
d. client
Answer: c.

4. An ADT’s govern(s) what its operations are and what they do.
a. specifications
b. implementation
c. documentation
d. data structure
Answer: a.

5. When each module performs one well-defined task, we say that it is .
a. loosely coupled
b. highly coupled
c. cohesive
d. not easily reused
Answer: c.

6. When should an operation contract be written?
a. during analysis
b. after coding
c. at the same time as user documentation
d. when taking initial notes from client
Answer: a.

7. What information is included in the operation contract?
a. the method’s interface
b. data flow among the modules
c. assumptions about input
d. all of these
Answer: d.

8. What kind of interface contains a method if and only that method is essential to that class’s
responsibilities?
a. complete
b. minimal


© #mr 2017 #mr Pearson #mr Education, # mr Inc., #mr Hoboken, #mr NJ.
# m r All # mr rights # mr reserved.



SCHOLARVAULT

, Chapter 1 #mr


Questions
#mr


c. expanded
d. compact
#mrAnswer: #mrb.



9. What #mrmust #mrbe #mrknown #mrabout #mrthe #mrADT #mrBag #mrin #mrorder #mrto #mruse #mrit #mrin #mra #mrprogram?
a. how #mrentries #mrin #mrthe #mrbag #mrare #mrrepresented
b. how #mrbag #mroperations #mrare #mrimplemented
c. how #mrmany #mrentries #mrcan #mrbe #mrstored #mrin #mrthe #mrbag
d. the #mrinterface #mrof #mrthe
#mrbag #mrAnswer: #mrd.



10. According #mrthe #mrCRC #mrspecifications #mrfor #mra #mrBag, #mrwhich #mrof #mrthe #mrfollowing #mrbehaviors #mrwould
# m r not #mrbe #mrone #mrof #mrthe # m r responsibilities #mrof #mrthe #mrclass #mrBag?

a. See #mrif #mrthe #mrbag #mris #mrempty
b. See #mrif #mrthe #mrbag #mris #mrfull
c. Look #mrat #mrall #mrthe #mrobjects #mrin #mrthe #mrbag
d. Count #mrthe #mrnumber #mrof #mrtimes #mra #mrcertain #mrobject
#mroccurs #mrin #mrthe #mrbag #mrAnswer: #mrb.




11. A #mrclient #mrprogram #mrdepends #mrsolely #mron #mrthe # m r of #mrthe #mrADT.
a. data #mrmembers
b. structure
c. implementation
d. behavior
#mrAnswer: # m r d.



12. What #mrshould #mra #mrprogrammer #mrdo #mrbefore #mrimplementing #mra #mrrecently #mrdesigned #mrclass?
a. write #mrcode #mrthat #mruses #mrthe #mrclass
b. check #mrcomments #mrthat #mrdocument #mrspecifications
c. adjust #mrthe #mrdesign #mrwhen #mrproblems #mrare #mrdiscovered
d. all #mrof
#mrthese #mrAnswer: # m r d



13. Object-oriented #mrprogramming #mrviews #mra #mrprogram #mras #mr .
a. a #mrsequence #mrof #mractions
b. a #mrcollection #mrof #mrclasses
c. a #mrgroup #mrof #mrmethods
d. an #mrinteraction #mramong
#mrobjects #mrAnswer: # m r d.



14. An #mrADT’s #mroperations #mrare #mrknown #mras #mrits #mr .
a. axioms
b. methods
c. variables
d. interfaces
#mrAnswer: # m r b.



15. Encapsulation #mrcombines #mran #mrADT’s #mrdata #mrwith #mrits #mroperations #mrto #mrform #mra(n) #mr .
a. exception
b. method
c. object
d. variable
#mrAnswer: # m r c.



16. A(n) #mr is #mra #mrC++ #mrconstruct #mrthat #mrenables #mra #mrprogrammer #mrto #mrdefine #mra #mrnew #mrdata #mrtype.


© #mr 2017 #mr Pearson #mr Education, # mr Inc., #mr Hoboken, #mr NJ.
# m r All # mr rights # mr reserved.



SCHOLARVAULT

, Chapter 1 #mr


Questions
#mr


a. class
b. method
c. data #mrfield
d. object
#mrAnswer: # m r a.



17. A #mrC++ #mrclass #mrcontains #mrdata #mrmembers #mrand #mr .
a. clients
b. interfaces
c. methods
d. data
#mrstructures #mrAnswer:

# m r c.



18. A(n) #mr is #mran #mrinstance #mrof #mra #mrclass.
a. method
b. data #mrfield
c. interface
d. object
#mrAnswer: # m r d.



19. A(n) #mr is #mra #mrclass #mrthat #mrinherits #mrthe #mrmembers #mrof #mranother #mrclass.
a. base #mrclass
b. superclass
c. abstract #mrclass
d. subclass
#mrAnswer: # m r d.




20. A #mrfunction #mrcan #mrindicate #mrthat #mran #mrerror #mrhas #mroccurred #mrby #mr an #mrexception.
a. throwing
b. catching
c. implementing
d. declaring
#mrAnswer: # m r a.



21. To #mr an #mrexception #mrmeans #mrto #mrdeal #mrwith #mrthe #mrerror #mrcondition.
a. declare
b. catch
c. implement
d. try
#mrAnswer:

# m r b.



22. Which #mrof #mrthe #mrfollowing #mrare #mrways #mrto #mraddress #mrunusual #mrsituations?
a. simply #mrassume #mrthe #mrinvalid #mrsituation #mrwill #mrnever #mroccur
b. guess #mrat #mrthe #mrclient’s #mrintention
c. return #mra #mrvalue #mrthat #mrsignals #mra #mrproblem
d. all #mrof #mrthe #mrabove #mrare
#mroptions #mrAnswer: # m r d.




23. For #mrthe #mrmethod #mrremove(anEntry)o
r f #mrthe #mrADT #mrBag, #mrwhat #mrwould #mrbe #mrthe #mroutput #mrof #mrthe
#
m

#mrmethod?

a. anEntry
b. nothing
c. true#omr r #mrfalse

© #mr 2017 #mr Pearson #mr Education, # mr Inc., #mr Hoboken, #mr NJ.
# m r All # mr rights # mr reserved.



SCHOLARVAULT

, Chapter 1 #mr


Questions
#mr

d. the #mrprevious #mrposition #mrof #mranEntryi#mrn #mrthe #mrbag




© #mr 2017 #mr Pearson #mr Education, # mr Inc., #mr Hoboken, #mr NJ.
# m r All # mr rights # mr reserved.



SCHOLARVAULT

Escuela, estudio y materia

Institución
Data Abstraction & Problem Solving with C++ Walls
Grado
Data Abstraction & Problem Solving with C++ Walls

Información del documento

Subido en
26 de agosto de 2025
Número de páginas
159
Escrito en
2025/2026
Tipo
Examen
Contiene
Preguntas y respuestas

Temas

$16.49
Accede al documento completo:

¿Documento equivocado? Cámbialo gratis Dentro de los 14 días posteriores a la compra y antes de descargarlo, puedes elegir otro documento. Puedes gastar el importe de nuevo.
Escrito por estudiantes que aprobaron
Inmediatamente disponible después del pago
Leer en línea o como PDF

Conoce al vendedor

Seller avatar
Los indicadores de reputación están sujetos a la cantidad de artículos vendidos por una tarifa y las reseñas que ha recibido por esos documentos. Hay tres niveles: Bronce, Plata y Oro. Cuanto mayor reputación, más podrás confiar en la calidad del trabajo del vendedor.
ScholarVault West Virgina University
Seguir Necesitas iniciar sesión para seguir a otros usuarios o asignaturas
Vendido
29
Miembro desde
11 meses
Número de seguidores
1
Documentos
547
Última venta
3 semanas hace
StudyHub: I provide A+ solutions in Accounting, Finance, Statistics, Computer Science, Nursing, Chemistry, Biology, and many other subjects.

Greetings, Are you tired of scouring for reliable study materials? Look no further! I'm here to provide you with accurate, comprehensive, and current study documents to ace your quizzes, assignments, midterms, and final exams. Whatever your study needs may be, I've got you covered. Feel free to reach out for assistance with any study materials, and don't hesitate to refer me to your friends. Thank you for choosing my services, and welcome to your solution! Best regards,

Lee mas Leer menos
3.0

1 reseñas

5
0
4
0
3
1
2
0
1
0

Recientemente visto por ti

Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes