CSE 3901 MIDTERM 1 QUESTION SET WITH
RATIONALES AND SOFTWARE DEVELOPMENT
PRACTICE SCENARIOS 2026
◉ First advantage of ssg.
Answer: Code reuse and single-point-of-control
over change
◉ Second advantage of ssg.
Answer: Authoring of content in a language
that is more human-friendly
◉ Third advantage of ssg.
Answer: Parameterized generation of markup
and content
◉ Partial.
Answer: A document fragment included in other documents.
Filename begins with '_'
◉ Scriplet.
, Answer: <% code %>
◉ Expression to display.
Answer: <%= expr %>
◉ :locals.
Answer: Content of partial can be customized
with arguments in call. In call: pass a hash called
◉ lorem.
Answer: placeholder method to generate random text
◉ Helper functions.
Answer: Used to generate common HTML snippets
◉ Testing.
Answer: A process whereby we increase our
confidence in an implementation by
observing its behavior
◉ Idea.
Answer: 3 levels of abstraction in
RATIONALES AND SOFTWARE DEVELOPMENT
PRACTICE SCENARIOS 2026
◉ First advantage of ssg.
Answer: Code reuse and single-point-of-control
over change
◉ Second advantage of ssg.
Answer: Authoring of content in a language
that is more human-friendly
◉ Third advantage of ssg.
Answer: Parameterized generation of markup
and content
◉ Partial.
Answer: A document fragment included in other documents.
Filename begins with '_'
◉ Scriplet.
, Answer: <% code %>
◉ Expression to display.
Answer: <%= expr %>
◉ :locals.
Answer: Content of partial can be customized
with arguments in call. In call: pass a hash called
◉ lorem.
Answer: placeholder method to generate random text
◉ Helper functions.
Answer: Used to generate common HTML snippets
◉ Testing.
Answer: A process whereby we increase our
confidence in an implementation by
observing its behavior
◉ Idea.
Answer: 3 levels of abstraction in