• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 1 out of 3 pages
Exam (elaborations)

CMSC 202 FINAL EXAM(Complete solutions)

Document preview thumbnail
Preview 1 out of 3 pages

The term ________ means the ability to take many forms. correct answers polymorphism An iterator is a generalization of a ________, commonly used for a container classes. correct answers pointer If no exception is thrown, then the ______ _______ is ignored. correct answers catch A recursive function is one in which the function invokes _______________ correct answers itself In a ______ ______ two pointers will point to the same object. correct answers shallow copy Separate compilation generally works except when using correct answers templates Two primary queue operations are _________________ and _______________ correct answers dequeue, endqueue When a structure is passed by _______________ to a function, its members are not copied. correct answers by reference When the ________ is placed in front of a variable name, it returns the address of that variable. correct answers ampersand ( & ) A ___________ is a linked data structure that follows the First In First Out (FIFO) convention. correct answers A queue To save the output of a command to a file the operator used is _________________________. correct answers A friend function is used to access the ___________ and ___________ of a class. correct answers private, protected The next pointer of the _______________ node in a singly linked list will have a null pointer. correct answers last(tail) Consider the following recursive definition, where n is a positive integer. mult(1) = 1 mult(n) = 2* mult(n - 1) + 1 if n 1 The value of mult(3) is __________________. correct answers 7 An abstract class must contain at least one ___________ ___________ _______________. (3 words) correct answers pure virtual function


Document information

Uploaded on
May 23, 2024
Number of pages
3
Written in
2023/2024
Type
Exam (elaborations)
Contains
Questions & answers
$11.29

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.
Sold
23
Followers
6
Items
4026
Last sold
2 months 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

Whoops! We can’t load your doc right now. Try again or contact support.