100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
CSE 2221 - Midterm 1 - Set 1 $9.61   Add to cart

Exam (elaborations)

CSE 2221 - Midterm 1 - Set 1

 14 views  0 purchase
  • Course
  • Institution

CSE 2221 - Midterm 1 - Set 1

Preview 1 out of 3  pages

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

Object - ANS-a software bundle of related state and behavior often used to model the
real-world objects that you find in everyday life. Stores its state in fields (variables in
some programming languages) and exposes its behavior through methods (functions in
some programming languages).

class - ANS-a blueprint or prototype from which objects are created.

inheritance - ANS-provides a powerful and natural mechanism for organizing and
structuring your software.

interface - ANS-a contract between a class and the outside world. When a class
implements an interface, it promises to provide the behavior published by that interface.

Package - ANS-a namespace for organizing classes and interfaces in a logical manner.
Placing your code into packages makes large software projects easier to manage.

two characteristics of an object - ANS-state and behavior

data encapsulation - ANS-a fundamental principle of object-oriented programming.

benefits of objects - ANS-Modularity
Information-Hiding
Code re-use
Pluggability and debugging ease

modularity - ANS-The source code for an object can be written and maintained
independently of the source code for other objects. Once created, an object can be
easily passed around inside the system.

information hiding - ANS-By interacting only with an object's methods, the details of its
internal implementation remain hidden from the outside world.

code reuse - ANS-If an object already exists (perhaps written by another software
developer), you can use that object in your program. This allows specialists to
implement/test/debug complex, task-specific objects, which you can then trust to run in
your own code.

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.61. 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
$9.61
  • (0)
  Add to cart