OSU CSE 2221 MIDTERM 2 STUDY GUIDE (ACTUAL
2025/2026) | 75 QUESTIONS WITH 100% VERIFIED CORRECT
ANSWERS | | LATEST UPDATE
component family that allows you to manipulate natural numbers
(non-negative integers).
is an interface
NaturalNumber
similar to a remainder, calculated using "clock arithmetic". when a
negative number is "modded", it goes "counter-clockwise," returning
a negative value
modulo
putting highly reused methods into an interface so they're described in
exactly one place
standard methods
creating a single place to change code that affects many others
single point of control
parameter has a value that replaces the object
, does not ensures restoration
replaces parameter mode
variable does not refer to any object
null reference
assignment, parameter passing
causing of aliasing
sending the same reference as two different arguments in a method
same if passing a reference to itself through a method [n.add(n)]
repeated arguments
each iteration eliminates half of a previous interval
interval halving
similar to an array
<1, 2, 3, 2>
<'G', 'o'>
<>
2025/2026) | 75 QUESTIONS WITH 100% VERIFIED CORRECT
ANSWERS | | LATEST UPDATE
component family that allows you to manipulate natural numbers
(non-negative integers).
is an interface
NaturalNumber
similar to a remainder, calculated using "clock arithmetic". when a
negative number is "modded", it goes "counter-clockwise," returning
a negative value
modulo
putting highly reused methods into an interface so they're described in
exactly one place
standard methods
creating a single place to change code that affects many others
single point of control
parameter has a value that replaces the object
, does not ensures restoration
replaces parameter mode
variable does not refer to any object
null reference
assignment, parameter passing
causing of aliasing
sending the same reference as two different arguments in a method
same if passing a reference to itself through a method [n.add(n)]
repeated arguments
each iteration eliminates half of a previous interval
interval halving
similar to an array
<1, 2, 3, 2>
<'G', 'o'>
<>