100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
CSCE 1337 261 SP24 - Object Oriented Programming 100% Verified £10.01
Add to cart

Exam (elaborations)

CSCE 1337 261 SP24 - Object Oriented Programming 100% Verified

 0 view  0 purchase
  • Module
  • CSCE 1337 261 SP24 - Object Oriented Programming
  • Institution
  • CSCE 1337 261 SP24 - Object Oriented Programming

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

Preview 1 out of 2  pages

  • January 6, 2025
  • 2
  • 2024/2025
  • Exam (elaborations)
  • Questions & answers
  • CSCE 1337 261 SP24 - Object Oriented Programming
  • CSCE 1337 261 SP24 - Object Oriented Programming
avatar-seller
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

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller Easton. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for £10.01. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

50990 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy revision notes and other study material for 15 years now

Start selling
£10.01
  • (0)
Add to cart
Added