100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4,6 TrustPilot
logo-home
Exam (elaborations)

CSCE 1337 261 SP24 - Object Oriented Programming 100% Verified

Rating
-
Sold
-
Pages
2
Grade
A+
Uploaded on
06-01-2025
Written in
2024/2025

CSCE 1337 261 SP24 - Object Oriented Programming 100% Verified...

Institution
CSCE 1337 261 SP24 - Object Oriented Programming
Course
CSCE 1337 261 SP24 - Object Oriented Programming

Content preview

CSCE 1337 261 SP24 - Object Oriented
Programming 100% Verified


Call-by-reference should be used - ANSWER When the function needs to change the
value of one or more arguments



The following is legal in a void function - ANSWER True



Testing your program should be done - ANSWER As each function is developed



It is illegal to call other functions from inside a function definition. - ANSWER False



When a void function is called, it is known as - ANSWER an executable statement.



If you write a function that should use call-by-reference, but forget to include the
ampersand - ANSWER The program will run with incorrect results



A void function may not be used in an output statement. - ANSWER True



It is acceptable to have both call-by-value and call-by-reference parameters in the same
function declaration. - ANSWER True



What is wrong with the following code?int f1( int x, int y){ x = y * y; return x;int f2( float a,
float& b){ if(a < b) b = a; else a=b; return 0.0;}} - ANSWER Function definitions may not
be nested.



In a function with call-by-reference parameters, any changes to the formal parameters
will change the actual arguments passed to the function. - ANSWER True

Written for

Institution
CSCE 1337 261 SP24 - Object Oriented Programming
Course
CSCE 1337 261 SP24 - Object Oriented Programming

Document information

Uploaded on
January 6, 2025
Number of pages
2
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

R217,19
Get access to the full document:

100% satisfaction guarantee
Immediately available after payment
Both online and in PDF
No strings attached


Document also available in package deal

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.
Easton West Virgina University
Follow You need to be logged in order to follow users or courses
Sold
529
Member since
3 year
Number of followers
221
Documents
25580
Last sold
21 hours ago

3,9

113 reviews

5
53
4
21
3
22
2
7
1
10

Trending documents

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their exams and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can immediately select a different document that better matches what you need.

Pay how you prefer, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card or EFT and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions