OSU CSE 2221 ACTUAL EXAM 2026
QUESTIONS WITH ANSWERS GRADED A+
◉modulo . Answer: similar to a remainder, calculated using "clock
arithmetic". when a negative number is "modded", it goes "counter-
clockwise," returning a negative value
◉standard methods . Answer: putting highly reused methods into
an interface so they're described in exactly one place
◉single point of control . Answer: creating a single place to change
code that affects many others
◉kernel (primary) methods . Answer: primary methods that are
deemed being special enough to go into their own interface
◉secondary methods . Answer: methods that are more "powerful"
than kernel methods, introduced to make a component readily
usable in client code
◉constructor . Answer: a method that creates an instance of a class
, ◉no-argument constructor . Answer: default constructor, takes no
arguments
◉copy constructor . Answer: returns a copy of the parameter value
◉instance method . Answer: methods that are called by a specific
object
◉distinguished formal parameter . Answer: this
◉receiver . Answer: object an instance method is called on
◉parameter mode . Answer: the effect the parameter will have on
the object
◉mutable . Answer: object can be modified
◉#<variable_name> . Answer: # represents the old (incoming)
variable value
◉updates parameter mode . Answer: signifies that the parameter
may change the object
does not ensures parameter restoration
QUESTIONS WITH ANSWERS GRADED A+
◉modulo . Answer: similar to a remainder, calculated using "clock
arithmetic". when a negative number is "modded", it goes "counter-
clockwise," returning a negative value
◉standard methods . Answer: putting highly reused methods into
an interface so they're described in exactly one place
◉single point of control . Answer: creating a single place to change
code that affects many others
◉kernel (primary) methods . Answer: primary methods that are
deemed being special enough to go into their own interface
◉secondary methods . Answer: methods that are more "powerful"
than kernel methods, introduced to make a component readily
usable in client code
◉constructor . Answer: a method that creates an instance of a class
, ◉no-argument constructor . Answer: default constructor, takes no
arguments
◉copy constructor . Answer: returns a copy of the parameter value
◉instance method . Answer: methods that are called by a specific
object
◉distinguished formal parameter . Answer: this
◉receiver . Answer: object an instance method is called on
◉parameter mode . Answer: the effect the parameter will have on
the object
◉mutable . Answer: object can be modified
◉#<variable_name> . Answer: # represents the old (incoming)
variable value
◉updates parameter mode . Answer: signifies that the parameter
may change the object
does not ensures parameter restoration