CSE 2221 Midterm 2 Exam 2025. | Exam Revision Questions And Correct
Answers | Graded A+ | 2025 Update |
Relationship of RSS to XML? - ANSWER- • An RSS 2.0 feed is well-formed XML
• An RSS 2.0 feed meets additional specifications beyond being XML: certain tags, certain
required/optional attributes, certain required/optional elements, etc.
in <channel>? - ANSWER- <title></title>
<link></link>
<description></description>
RSS - ANSWER- Really Simple Syndication - A type of web feed that allows users and
applications to access updates to online content in a readable format.
what is RSS? - ANSWER- A textual format used on the web for "news
feeds" or "web feeds"
- Uses XML to represent information that is frequently updated (e.g., news, weather, sports scores,
blogs), generally in summary form with links to originals
XMLTree Features/ Properties of the XMLTree from an RSS 2.0 feed: - ANSWER- - The root
node is an rss node with a version attribute whose value is "2.0"
- There is one channel node as a child of the root
- The channel node has certain required child nodes: one title, one link, and one description, in no
particular order; it can also have zero or more item child nodes plus other optional children
, - No particular order is required among the children of an item node, but for each item node at
least one of its children must be a title or description node
NaturalNumber - ANSWER- allows you to manipulate natural numbers (i.e., non-negative
integers)
- has no upper bound
The Standard Interface - ANSWER- has methods that
are part of most (nearly all) OSU CSE component families
The Kernel Interface - ANSWER- as a minimal set of methods that are
primitive in the NaturalNumber component family
The Enhanced Interface - ANSWER- has all other methods that are convenient to have in the
NaturalNumber component family
how many constructors for each implementation class? - ANSWER- four (No-argument
Constructor, Copy Constructor,
No-argument Constructor - ANSWER- A constructor with no parameters
Copy Constructor - ANSWER- There is a constructor with one parameter
of the same type (NaturalNumber n), and it returns a copy of the parameter
value
Constructor from int - ANSWER- There is a constructor with one parameter
int i
Answers | Graded A+ | 2025 Update |
Relationship of RSS to XML? - ANSWER- • An RSS 2.0 feed is well-formed XML
• An RSS 2.0 feed meets additional specifications beyond being XML: certain tags, certain
required/optional attributes, certain required/optional elements, etc.
in <channel>? - ANSWER- <title></title>
<link></link>
<description></description>
RSS - ANSWER- Really Simple Syndication - A type of web feed that allows users and
applications to access updates to online content in a readable format.
what is RSS? - ANSWER- A textual format used on the web for "news
feeds" or "web feeds"
- Uses XML to represent information that is frequently updated (e.g., news, weather, sports scores,
blogs), generally in summary form with links to originals
XMLTree Features/ Properties of the XMLTree from an RSS 2.0 feed: - ANSWER- - The root
node is an rss node with a version attribute whose value is "2.0"
- There is one channel node as a child of the root
- The channel node has certain required child nodes: one title, one link, and one description, in no
particular order; it can also have zero or more item child nodes plus other optional children
, - No particular order is required among the children of an item node, but for each item node at
least one of its children must be a title or description node
NaturalNumber - ANSWER- allows you to manipulate natural numbers (i.e., non-negative
integers)
- has no upper bound
The Standard Interface - ANSWER- has methods that
are part of most (nearly all) OSU CSE component families
The Kernel Interface - ANSWER- as a minimal set of methods that are
primitive in the NaturalNumber component family
The Enhanced Interface - ANSWER- has all other methods that are convenient to have in the
NaturalNumber component family
how many constructors for each implementation class? - ANSWER- four (No-argument
Constructor, Copy Constructor,
No-argument Constructor - ANSWER- A constructor with no parameters
Copy Constructor - ANSWER- There is a constructor with one parameter
of the same type (NaturalNumber n), and it returns a copy of the parameter
value
Constructor from int - ANSWER- There is a constructor with one parameter
int i