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

Exam (elaborations)

OSU CSE 2221 Midterm 2 Exam/75 Questions and answers

 4 views  0 purchase
  • Course
  • OSU CSE 2221
  • Institution
  • OSU CSE 2221

OSU CSE 2221 Midterm 2 Exam/75 Questions and answers

Preview 2 out of 5  pages

  • September 26, 2024
  • 5
  • 2024/2025
  • Exam (elaborations)
  • Questions & answers
  • OSU CSE 2221
  • OSU CSE 2221
avatar-seller
Nursephil2023
OSU CSE 2221 Midterm 2 Exam/75
Questions and answers
NaturalNumber - - component family that allows you to manipulate natural
numbers (non-negative integers).
is an interface

- modulo - - similar to a remainder, calculated using "clock arithmetic".
when a negative number is "modded", it goes "counter-clockwise," returning
a negative value

- standard methods - - putting highly reused methods into an interface so
they're described in exactly one place

- single point of control - - creating a single place to change code that
affects many others

- kernel (primary) methods - - primary methods that are deemed being
special enough to go into their own interface

- secondary methods - - methods that are more "powerful" than kernel
methods, introduced to make a component readily usable in client code

- constructor - - a method that creates an instance of a class

- no-argument constructor - - default constructor, takes no arguments

- copy constructor - - returns a copy of the parameter value

- instance method - - methods that are called by a specific object

- distinguished formal parameter - - this

- receiver - - object an instance method is called on

- parameter mode - - the effect the parameter will have on the object

- mutable - - object can be modified

- #<variable_name> - - # represents the old (incoming) variable value

- updates parameter mode - - signifies that the parameter may change the
object
does not ensures parameter restoration

, - clear parameter mode - - signifies that the object's value will be reset to
its initial value

- primitive types - - built-in types, such as boolean, char, int, double

- reference types - - all other non-primitive types, such as String, XMLTree,
SimpleReader, NaturalNumber, etc.

- object - - instance of a class

- reference value - - memory address of an object

- object value - - mathematical model value of the object a reference points
to

- memory address - - location in memory of an object

- assignment operator - - =, copies the value of an expression on the right
side into the variable on the left side

- anonymous reference variable - - temporary, inaccessible variables
creating while performing operations during the assignment to a variable
int i = k + 7 has two anonymous reference variables

- uninitialized reference variable - - reference that holds no value

- garbage collector - - reclaims memory from objects that are no longer
referenced

- aliasing of references - - unintentionally modifying an object due to
multiple references pointing to it
only affects mutable types

- immutable - - object that cannot be modified

- array - - group of variables of the same type
always a reference type

- array element - - single variable within an array

- restores parameter mode - - ensures that a parameter has its incoming
value
the default parameter mode

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