Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 4 out of 49 pages
Exam (elaborations)

CS 235 FINAL STUDY QUESTIONS WITH COMPLETE ANSWERS

Document preview thumbnail
Preview 4 out of 49 pages

CS 235 FINAL STUDY QUESTIONS WITH COMPLETE ANSWERS

Content preview

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!

Document information

Uploaded on
August 12, 2025
Number of pages
49
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers
$10.50

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

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.
CLASSROOMTEST
3.4
(10)
Sold
47
Followers
2
Items
7474
Last sold
1 month ago



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

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions