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 2 out of 5 pages
Exam (elaborations)

CMSC 202 Exam 3 ACTUAL UPDATED QUESTIONS AND CORRECT ANSWERS

Document preview thumbnail
Preview 2 out of 5 pages

CMSC 202 Exam 3 ACTUAL UPDATED QUESTIONS AND CORRECT ANSWERS

Content preview

CMSC 202 Exam 3 ACTUAL UPDATED QUESTIONS AND CORRECT ANSWERS

The ability to associate multiple meanings to one function polymorphism
name using dynamic binding is called _________


An iterator is a generalization of a ________, commonly used pointer
for a container classes.


If no exception is thrown then the _____ _____ is ignored. catch block




A recursive function is one in which the function invokes itself
______


In a _______ ____, two pointer will point to the same object shallow copy


Separate compilation generally works except when using templates
_________


Two primary queue operations are _______ and _______ enqueue, dequeue


In a queue, items are added and removed in a _____ -In, first, first
_____-Out manner


When the ________ is placed in front of a variable name, it ampersand (&)
returns the address of that variable.


A _____ is a linked data structure that follows the First In queue
First Our (FIFO) convention


To save the output of a command to a file the operator >
used is _


A friend function is used to access the _______ and _________ of private, protected
a class.




The next pointer of the ____ node in a singly linked list will last
have a null pointer


To search for a specific pattern in Linux/Unix the grep
command is:

, Consider the following recursive definition, where n is a 7
positive integer.
mult (1) = 1
mult (n) = 2* mult(n - 1) + 1 if n > 1
The value of mult(3) is __


An abstract class must contain at least one ____ _______ pure virtual function
________


________ to a base class may be assigned the address of a pointers
derived class object.


Using virtual functions is also known as __________ the overriding
functions


The flag __ must be used during compilation so we can -g
use gdb on code


An _________ is a value or an object that signals an error exception


Most compilers cannot handle separate compilation templates
when using _________




the ______ member function of the string class returns the peek()
next character to be read by can, but it does not use up
that character


To overload the + operator, you would write the function operator+
named _________


When a structure is passed by _________ to a function, its reference
members are not copied


It is a good idea to make a copy constructor's parameters constant, const
________ by specifying the ___ key word in parameter list


An ________ is like a pointer. It is used to access the iterator
individual data elements in a container


The escape sequence that represent the null terminator is /o
__


The _____ operation allows an item to be removed from a pop()
stack


Using virtual functions is also know as __________ the overriding
functions

Document information

Uploaded on
June 12, 2026
Number of pages
5
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers
$14.19

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.
Briwisescore
3.0
(1)
Sold
28
Followers
5
Items
16935
Last sold
1 week 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