100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
CSE 2221 Final Exam (1). $9.30   Add to cart

Exam (elaborations)

CSE 2221 Final Exam (1).

 4 views  0 purchase
  • Course
  • Institution

CSE 2221 Final Exam (1).

Preview 1 out of 3  pages

  • June 17, 2024
  • 3
  • 2023/2024
  • Exam (elaborations)
  • Questions & answers
avatar-seller
CSE 2221 Final Exam

In design-by-contract, when is precondition (requires clause) of a method is not satisfied
the implementer of a method is obligated to: - ANS-A. stop the program and report an
error
B. generate a default result that will let the client know of their error
C. make sure the postcondition (ensure clause( is satisfied
D. None of the above *ANSWER*

Abstraction - ANS-Providing a valid cover story for the behavior of a system

The checkstyle plugin for Eclipse is useful because - ANS-it helps you make your code
understandable for yourself and other programmers

Array - ANS-A group of similar variables of the same type

Ensures - ANS-A method postcondition

Formal parameter - ANS-Declared in a method signature

Information hiding - ANS-Intentionally leaving out internal details of a system

Requires - ANS-A method precondition

Argument (or actual parameter) - ANS-Provided when calling a method

Client - ANS-Someone viewing a system from the outside

Expression - ANS-Can be evaluated to produce a value

Implementer - ANS-Someone viewing a system from the inside

Interface - ANS-Description of the boundary between a system and everything else

Statement - ANS-Smallest complete unit of execution

T or F: Instance methods can only be private - ANS-False

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 denicetho. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

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

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

75632 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
$9.30
  • (0)
  Add to cart