100% de satisfacción garantizada Inmediatamente disponible después del pago Tanto en línea como en PDF No estas atado a nada 4,6 TrustPilot
logo-home
Examen

CSE 3901 – Midterm 2 Exam (2025) | Software Engineering Project Practice & Coding Assessment

Puntuación
5.0
(1)
Vendido
3
Páginas
17
Grado
A+
Subido en
05-11-2025
Escrito en
2025/2026

CSE 3901 – Midterm 2 Exam (2025) | Software Engineering Project Practice & Coding Assessment

Institución
CSE 3901 –
Grado
CSE 3901 –










Ups! No podemos cargar tu documento ahora. Inténtalo de nuevo o contacta con soporte.

Escuela, estudio y materia

Institución
CSE 3901 –
Grado
CSE 3901 –

Información del documento

Subido en
5 de noviembre de 2025
Número de páginas
17
Escrito en
2025/2026
Tipo
Examen
Contiene
Preguntas y respuestas

Temas

Vista previa del contenido

CSE 3901 – Midterm 2 Exam (2025) | Software Engineering Project Practice & Coding Assessment




STATIC SITES SECTION - (ANSWER)---



What is static site generation? - (ANSWER)Using a program to produce HTML pages

(kind of like compiling programs)

Middleman



what are the source files used in SSG? - (ANSWER).md

.erb

.scss



What is Middleman? - (ANSWER)A ruby Gem

the project is its own directory

lots of subdirectories for css, images, etc

Compile the source files like a program

can then copy to any location



What are the three benefits of using a program for Static Site Generation? - (ANSWER)1. Code reuse and
single point of control (visual identity)

2. Authoring of content in a language that is more human-friendly (improved syntax)

3. Parameterized generation of markup and content (content generation)



Describe Visual Identity (code reuse/single POC) Motivation - (ANSWER)-Having common headers and
footers and making the whole website have a base design for every page

-duplicated code ruins single POC

-Solution: putting common HTML in one file (a partial) and every page includes it



What is ERb? - (ANSWER)Embedded Ruby

-things like <% code %> <%= expr %> and <%# text %>

,CSE 3901 – Midterm 2 Exam (2025) | Software Engineering Project Practice & Coding Assessment




How to generate a site - (ANSWER)save source files as html.erb

>> bundle exec middleman build

this then makes them .html



what is a partial - (ANSWER)a document fragment included in other documents

-include in template as <%= partial "navigation" %>



what is special about naming a partial? - (ANSWER)they always start with _ and end in .erb still (no html)



How to customize arguments with a partial - (ANSWER)in the normal page when you call the partial:

<%= partial "banner", :locals => { :name => "Syllabus", :amount => 34 } %>



in the partial file:

<h3> ,%= name %> </h3>

<p> Costs <%= "$#{amount}.00" %></p>



What is Layout - (ANSWER)It is a file that can make a consistent structure across every page in a website



How do you label where there's page specific stuff in Layout.erb? - (ANSWER)<%= yield =>



How do you fix the issue of using a layout when each page needs a diff <title>? - (ANSWER)Ruby variable
current_page

ie: current_page.path



So in the actual page file you put:

<title><%= current_page.data.title %> </title>

, CSE 3901 – Midterm 2 Exam (2025) | Software Engineering Project Practice & Coding Assessment




and in the layout.erb:

---

title: "Contact Info"

---



What is the main difference in syntax when using middleman? - (ANSWER)Not having to use tags
because that part is in layout



What are some common plain text conventions? - (ANSWER)blank lines between paragraphs

Underlining: - or =

Emphasize: *words*, _words_, **words**

Links: [text](url)

unordered lists: * or -

ordered lists: 1. 2. 3.



What formalizes these shortcuts? - (ANSWER)Markdown



What are CSS magic numbers? - (ANSWER)They are basically variables so you don't have to keep writing
the same hex for a color for example



How do you declare a CSS magic number? - (ANSWER)$primary: #ff14a6



then use:

h1 {color: $primary;}



What does SASS allow for CSS? - (ANSWER)declaring diff css styles in one {} under a class name
$21.49
Accede al documento completo:

100% de satisfacción garantizada
Inmediatamente disponible después del pago
Tanto en línea como en PDF
No estas atado a nada


Documento también disponible en un lote

Reseñas de compradores verificados

Se muestran los comentarios
2 semanas hace

5.0

1 reseñas

5
1
4
0
3
0
2
0
1
0
Reseñas confiables sobre Stuvia

Todas las reseñas las realizan usuarios reales de Stuvia después de compras verificadas.

Conoce al vendedor

Seller avatar
Los indicadores de reputación están sujetos a la cantidad de artículos vendidos por una tarifa y las reseñas que ha recibido por esos documentos. Hay tres niveles: Bronce, Plata y Oro. Cuanto mayor reputación, más podrás confiar en la calidad del trabajo del vendedor.
Belaire Teachme2-tutor
Seguir Necesitas iniciar sesión para seguir a otros usuarios o asignaturas
Vendido
2748
Miembro desde
1 año
Número de seguidores
0
Documentos
1355
Última venta
5 días hace

5.0

498 reseñas

5
486
4
11
3
1
2
0
1
0

Recientemente visto por ti

Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes