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
Document preview thumbnail
Vista previa 4 fuera de 49 páginas
Examen

CS 235 FINAL STUDY QUESTIONS WITH COMPLETE ANSWERS

Document preview thumbnail
Vista previa 4 fuera de 49 páginas

CS 235 FINAL STUDY QUESTIONS WITH COMPLETE ANSWERS

Vista previa del contenido

What is the proper relationship between class List and class Ordered_List?


Give this one a try later!


class Ordered_List has-a List




What is FALSE about abstract classes?

,Give this one a try later!


An abstract class contains only abstract functions.




What is the difference between const and the preprocessor #define directive?


Give this one a try later!


As a general rule you should give the compiler preference to the
precompiler




What do Red-Black trees, 2-3-4 trees, and AL trees all have in common?


Give this one a try later!


They are all self balancing trees




Software practitioners sometimes object to the term "bugs" because


Give this one a try later!


It tends to trivialize potentially serious consequences of program defects




What iss the advantage of placing the word const in the function declartaion and din
the function definition?

,Give this one a try later!


Any operation that could modify the object is flagged, it facilitates
optimaztions in the machine code, this tells the user that the function will
not modify the associated object.




There are two general ways to implement ADT Stack:


Give this one a try later!


Using a contiguous structure or a linked structure




What is true of translation of units?


Give this one a try later!


Translation units are compiled into object files that are joined together by
the linker




what are reasons to uses a linked list over a vector?


Give this one a try later!


Removal from a linked list is more efficient, Inserting at the beginning of
alinked list is more efficient

, A template class typically ___


Give this one a try later!


facilitates the same set of operations on a variety of data types.




Suppose we are trying to use multiple inheritance, but the compiler reports that there
is an ambiguity about out variable named 'var'. What can we do to resolve this error?


Give this one a try later!


Refactor the parent classes by combining them;
Rename the variable of one of the parent classes;
Specify which parent you are taking the variable from with "Parent1::var".




The inorder traversal sequence of a binary tree is A B C. The root is ___.


Give this one a try later!


Not a unique binary tree.




What are use cases?


Give this one a try later!

Información del documento

Subido en
12 de agosto de 2025
Número de páginas
49
Escrito en
2025/2026
Tipo
Examen
Contiene
Preguntas y respuestas
$10.50

¿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

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.
CLASSROOMTEST
3.4
(10)
Vendido
47
Seguidores
2
Artículos
7474
Última venta
1 mes hace



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