100% de satisfacción garantizada Inmediatamente disponible después del pago Tanto en línea como en PDF No estas atado a nada 4.2 TrustPilot
logo-home
Examen

Test Bank for Data Abstraction & Problem Solving with C++ Walls and Mirrors 7th Edition by Frank Carrano

Puntuación
-
Vendido
-
Páginas
128
Grado
A+
Subido en
24-11-2025
Escrito en
2025/2026

Test Bank for Data Abstraction & Problem Solving with C++ Walls and Mirrors 7th Edition by Frank Carrano. Full Chapters Include;.....Data Abstraction: The Walls Recursion: The Mirrors Array-Based Implementations Link-Based Implementations Recursion as a Problem-Solving Technique Stacks Stack Implementations Lists List Implementations Algorithm Efficiency Sorting Algorithms and Their Efficiency Sorted Lists and Their Implementations Queues and Priority Queues Queue Implementations Trees Tree Implementations Heaps Dictionaries and Their Implementations Balanced Search Trees Graphs Processing Data in External Storage

Mostrar más Leer menos
Institución
Data Abstraction & Problem Solving With C++
Grado
Data Abstraction & Problem Solving with C++











Ups! No podemos cargar tu documento ahora. Inténtalo de nuevo o contacta con soporte.

Escuela, estudio y materia

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

Información del documento

Subido en
24 de noviembre de 2025
Número de páginas
128
Escrito en
2025/2026
Tipo
Examen
Contiene
Preguntas y respuestas

Temas

Vista previa del contenido

Data Abstraction & Problem Solving
with C++ Walls and Mirrors
UV

– 7th Edition
IA

TEST BANK
_A
PP
RO
Frank Carrano
VE

Comprehensive Test Bank for Instructors and
D?
Students
??
© Frank Carrano


All rights reserved. Reproduction or distribution without permission is prohibited.
??

©Medexcellence ✅��

, Chapter 1 Questions


Multiple Choice Questions

1. The specifications of an ADT’s operations indicate ______.
a. what the operations do
UV
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
IA
b. implementation
c. specifications
d. usage
Answer: b.
_A
3. A(n) ______ allows two modules to communicate with each other.
a. data structure
b. axiom
c. interface
d. client
Answer: c.
PP
4. An ADT’s ______ govern(s) what its operations are and what they do.
a. specifications
b. implementation
c. documentation
d. data structure
RO
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
VE
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?
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


© 2017 Pearson Education, Inc., Hoboken, NJ. All rights reserved.

, Chapter 1 Questions

c. expanded
d. compact
Answer: b.

9. What must be known about the ADT Bag in order to use it in a program?
UV
a. how entries in the bag are represented
b. how bag operations are implemented
c. how many entries can be stored in the bag
d. the interface of the bag
Answer: d.

10. According the CRC specifications for a Bag, which of the following behaviors would not be one of the
IA
responsibilities of the class Bag?
a. See if the bag is empty
b. See if the bag is full
c. Look at all the objects in the bag
d. Count the number of times a certain object occurs in the bag
_A
Answer: b.


11. A client program depends solely on the ______ of the ADT.
a. data members
b. structure
PP
c. implementation
d. behavior
Answer: d.

12. What should a programmer do before implementing a recently designed class?
a. write code that uses the class
RO
b. check comments that document specifications
c. adjust the design when problems are discovered
d. all of these
Answer: d

13. Object-oriented programming views a program as ______.
a. a sequence of actions
VE
b. a collection of classes
c. a group of methods
d. an interaction among objects
Answer: d.

14. An ADT’s operations are known as its ______.
D?
a. axioms
b. methods
c. variables
d. interfaces
Answer: b.
??
15. Encapsulation combines an ADT’s data with its operations to form a(n) ______.
a. exception
b. method
c. object
d. variable
??
Answer: c.

16. A(n) ______ is a C++ construct that enables a programmer to define a new data type.


© 2017 Pearson Education, Inc., Hoboken, NJ. All rights reserved.

, Chapter 1 Questions

a. class
b. method
c. data field
d. object
Answer: a.
UV
17. A C++ class contains data members and ______.
a. clients
b. interfaces
c. methods
d. data structures
Answer: c.
IA
18. A(n) ______ is an instance of a class.
a. method
b. data field
c. interface
_A
d. object
Answer: d.

19. A(n) ______ is a class that inherits the members of another class.
a. base class
b. superclass
PP
c. abstract class
d. subclass
Answer: d.


20. A function can indicate that an error has occurred by ______ an exception.
RO
a. throwing
b. catching
c. implementing
d. declaring
Answer: a.

21. To ______ an exception means to deal with the error condition.
VE
a. declare
b. catch
c. implement
d. try
Answer: b.
D?
22. Which of the following are ways to address unusual situations?
a. simply assume the invalid situation will never occur
b. guess at the client’s intention
c. return a value that signals a problem
d. all of the above are options
Answer: d.
??
23. For the method remove(anEntry) of the ADT Bag, what would be the output of the method?
a. anEntry
b. nothing
??
c. true or false
d. the previous position of anEntry in the bag



© 2017 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
$19.99
Accede al documento completo:

100% de satisfacción garantizada
Inmediatamente disponible después del pago
Tanto en línea como en PDF
No estas atado a nada

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.
MedExcellence Western Governors University
Seguir Necesitas iniciar sesión para seguir a otros usuarios o asignaturas
Vendido
218
Miembro desde
2 año
Número de seguidores
90
Documentos
951
Última venta
1 semana hace
MedExcellence: - Verified Solutions, Test Banks & Guides for Medical, Nursing, Business, Engineering, Accounting, Chemistry, Biology & Other Subjects

MedExcellence – Study Smarter with Expert-Curated Guides for Online Learners Are you a busy online student juggling work, life, and school? At MedExcellence, we specialize in providing A+ graded study guides, exam notes, and course summaries that help Western Governors University, SNHU, and ASU Online students master their coursework efficiently. Our materials are created by experienced professionals and top-performing students to help you: - Understand complex concepts quickly - Prepare confidently for assessments - Download instantly—no delays, no fluff - Perfect for competency-based learning - Covers business, healthcare, education, IT, and more - 100% digital and mobile-friendly for online learners Whether you're prepping for performance assessments, final exams, or weekly tasks—MedExcellence is your trusted study companion. Share with fellow online learners and boost your entire cohort's performance. Ace your courses with MedExcellence—optimized for the online student lifestyle.

Lee mas Leer menos
3.3

22 reseñas

5
10
4
2
3
2
2
1
1
7

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