• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 2 out of 9 pages
Exam (elaborations)

CSE 3901 Midterm 2 Questions and Correct Answers

Document preview thumbnail
Preview 2 out of 9 pages

CSE 3901 Midterm 2 Questions and Correct Answers

Content preview

1 | Page



CSE 3901 Midterm 2 Questions and Correct
Answers
static site generation Ans: A program to produce HTML pages

First advantage of ssg Ans: Code reuse and single-point-of-control

over change

Second advantage of ssg Ans: Authoring of content in a language

that is more human-friendly

Third advantage of ssg Ans: Parameterized generation of markup

and content

Partial Ans: A document fragment included in other documents.
Filename begins with '_'

Scriplet Ans: <% code %>

Expression to display Ans: <%= expr %>

:locals Ans: Content of partial can be customized

with arguments in call. In call: pass a hash called

lorem Ans: placeholder method to generate random text


© 2025 All rights reserved

, 2 | Page


Helper functions Ans: Used to generate common HTML snippets

Testing Ans: A process whereby we increase our

confidence in an implementation by

observing its behavior

Idea Ans: 3 levels of abstraction in

functionality: want

Implementation Ans: 3 levels of abstraction in

functionality: have

Specification Ans: 3 levels of abstraction in

functionality: Defines desired mapping from input to output

Better Ans: Better or worse: Have someone else test your code

Working backwards Ans: Best way to create expected output

Spurious Ans: Test failure: passes when shouldn't

False positive Ans: Test failure: fails when it shouldn't

Unit Tests Ans: Individual components tested in isolation




© 2025 All rights reserved

Document information

Uploaded on
November 5, 2025
Number of pages
9
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers
$13.99

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
Axpert
3.8
(127)
Sold
575
Followers
168
Items
29738
Last sold
2 days ago



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions