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
Exam (elaborations)

CS 1337 Final Exam UPDATED ACTUAL QUESTIONS AND CORRECT ANSWERS

Rating
-
Sold
-
Pages
5
Grade
A+
Uploaded on
02-05-2026
Written in
2025/2026

CS 1337 Final Exam UPDATED ACTUAL QUESTIONS AND CORRECT ANSWERS When you derive a class from an existing class, you ________ add new data and functions - CORRECT ANSWER may ________ members of a base class are never accessible to a derived class. - CORRECT ANSWER Private The compiler performs ________ on virtual functions - CORRECT ANSWER In the statement, class car : public vehicle which is the base class? - CORRECT ANSWER vehicle dynamic binding These are used to signal errors or unexpected events that occur while a program is running - CORRECT ANSWER Exceptions The beginning of a function template is marked by a: - CORRECT ANSWER The following statement class Car : private Vehicle template prefix allows the ________ members of the Car class to access ________ members of the Vehicle class. - CORRECT ANSWER public, protected Protected members of a base class are like ________, but they may be accessed by derived classes. - CORRECT ANSWER private members When member functions behave differently, depending upon which object performed the call, this is an example of ________. - CORRECT ANSWER In the following statement class car : protected vehicle what is being protected? - CORRECT ANSWER polymorphism

Show more Read less
Institution
CS
Course
CS

Content preview

CS 1337 Final Exam UPDATED ACTUAL
QUESTIONS AND CORRECT ANSWERS
When you derive a class from an existing class, you ________ add new data and functions -
CORRECT ANSWER may



________ members of a base class are never accessible to a derived class. - CORRECT
ANSWER Private



The compiler performs ________ on virtual functions - CORRECT ANSWER dynamic binding



In the statement,



class car : public vehicle



which is the base class? - CORRECT ANSWER vehicle



These are used to signal errors or unexpected events that occur while a program is running -
CORRECT ANSWER Exceptions



The beginning of a function template is marked by a: - CORRECT ANSWER template prefix



The following statement



class Car : private Vehicle



allows the ________ members of the Car class to access ________ members of the Vehicle class. -
CORRECT ANSWER public, protected



Protected members of a base class are like ________, but they may be accessed by derived

classes. - CORRECT ANSWER private members

, When member functions behave differently, depending upon which object performed the call,

this is an example of ________. - CORRECT ANSWER polymorphism



In the following statement



class car : protected vehicle



what is being protected? - CORRECT ANSWER base class members



The ________ starts with the keyword try, and is followed by a block of code executing any

statements that might cause an exception to be thrown. - CORRECT ANSWER try block



In the following statement



template < class T >



what does T represent? - CORRECT ANSWER a generic data type that is used in a function
template



The try block is immediately followed by one or more ________. - CORRECT ANSWER catch
blocks



A(n) ________ is a class that stores data and organizes it in some fashion. - CORRECT
ANSWER container



If the head pointer points to NULL, this indicates: - CORRECT ANSWER there are no nodes in
the list



A doubly-linked list keeps track of the next node in the list, as well as: - CORRECT
ANSWER the previous node

Written for

Institution
CS
Course
CS

Document information

Uploaded on
May 2, 2026
Number of pages
5
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

$11.49
Get access to the full document:

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

Get to know the seller

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.
STANFORDTOPGRADES Stanford University
Follow You need to be logged in order to follow users or courses
Sold
56
Member since
1 year
Number of followers
2
Documents
7115
Last sold
3 days ago
TOPSELLER

Hi there! I'm dedicated to sharing my high-quality study guides and helpful EXAM Materials to make your learning easier and more efficient. All my materials are well-organized and tailored to help you ace your courses. I offer genuine and dependable exam papers that are directly obtained from well-known, reputable institutions as a highly regarded professional who specializes in sourcing study materials. Kindly don't hesitate to contact me, my study guides, notes and exams or test banks, are 100% graded and fully guaranteed

Read more Read less
3.8

8 reviews

5
3
4
1
3
3
2
1
1
0

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