100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
CSE 2221 Exam 2/52 Answered Questions $8.49   Add to cart

Exam (elaborations)

CSE 2221 Exam 2/52 Answered Questions

 6 views  0 purchase
  • Course
  • CSE 2221
  • Institution
  • CSE 2221

CSE 2221 Exam 2/52 Answered Questions

Preview 1 out of 4  pages

  • September 26, 2024
  • 4
  • 2024/2025
  • Exam (elaborations)
  • Questions & answers
  • CSE 2221
  • CSE 2221
avatar-seller
Nursephil2023
CSE 2221 Exam 2/52 Answered Questions
Design By Contract - - describes the behavior between the client and
implement, where each has the responsibility to meet the precondition and
postcondition, respectively, and the client and implement can assume the
postcondition and precondition is met, respectively, when the method is
called/returned

- Precondition - - sets responsibilities of the client calling a method to meet
in order for the implementation to return an appropriate result

- Postcondition - - sets responsibilities of the method to return an
appropriate result to the client code

- Testing - - technique for trying to disprove that a method body is correct
for the method contract; goal is to show that the method body does not
correctly implement the contract

- Debugging - - technique for trying to fix and repair bugs and defects in
code so that the method correctly returns all appropriate values

- Parameter Mode - - summarize in a method contract a way that a method
might change the value of the corresponding argument

- Clears - - returns value that does not equal the initial value

- Replaces - - replaces incoming value with another value specified by the
method body, outgoing value does not depend on the method's behavior

- Restores - - upon return from a method call, the outgoing value equals the
original value

- Updates - - incoming value altered with another value specified by the
method body, outgoing value does depend on the method's behavior

- Immutable Types - - no method can change the value of the receiver, the
value of the variable cannot be changed

- Primitive Types - - basic value variables

- Reference Types - - fundamentally different from primitive as the values
are stored in a memory address, reference value si created to reference the
memory address where the object value is stored

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 or Stuvia-credit 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 Nursephil2023. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

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

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

77529 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$8.49
  • (0)
  Add to cart