Escrito por estudiantes que aprobaron Inmediatamente disponible después del pago Leer en línea o como PDF ¿Documento equivocado? Cámbialo gratis 4,6 TrustPilot
logo-home
Document preview thumbnail
Vista previa 2 fuera de 8 páginas
Examen

CSE 3901 Final - EXAM Questions with 100% Correct Answers | Verified | Updated (Actual Exam)

Document preview thumbnail
Vista previa 2 fuera de 8 páginas

CSE 3901 Final - EXAM Questions with 100% Correct Answers | Verified | Updated (Actual Exam)

Vista previa del contenido

CSE 3901 Final - EXAM Questions with 100%
Correct Answers | Verified | Updated (Actual
Exam)




Terms in this set (33)



Explain model view controller Model
The data (ie state)
Methods for accessing and modifying state
View
Renders contents of model for user
When model changes, view must be
updated
Controller
Translates user actions (ie interactions
with view) into operations on the model
Example user actions: button clicks, menu
selections


Draw an example of MVC http://web.cse.ohio-
state.edu/~giles/3901/lectures/lecture16.pdf
slide 4


Who writes schema.rb and what It is generated! (tool called rake)
is the golden rule? Golden rule: Never edit schema.rb directly
Instead, write a migration

, What is a migration? A migration is Ruby code (a class) that
represents a change in schema
Create new tables (including column
names and column types)
Modify existing tables (adding/removing
columns, or changing associations)
Delete ("drop") existing tables


What is the difference between a Schema is a version of the database. It is
migration and a schema? regenerated every time you do a migration.
Every change in schema means writing a
migration


What is important about The name is meaningful (starts with Add or
migrations for table edits? Remove). ie $ rails g migration
AddNickNameToStudent
nick:string


For the resource: students list GET, /students, Collection, index, list all
the 7 routes that are included POST, /students, Collection, create, show one
with the action pack. Include GET, /students/new, Collection, new, blank
HTTP verb, URL, Resource, form
Method, View GET, /students/3, Member, show, show one
GET, /students/3/edit, Member, edit, filled
form
PUT, /students/3, Member, update, show one
DELETE, /students/3, Member, destroy, list all

Información del documento

Subido en
4 de agosto de 2026
Número de páginas
8
Escrito en
2026/2027
Tipo
Examen
Contiene
Preguntas y respuestas
Gratis
Descarga

¿Documento equivocado? Cámbialo gratis Dentro de los 14 días posteriores a la compra y antes de descargarlo, puedes elegir otro documento. Puedes gastar el importe de nuevo.
Escrito por estudiantes que aprobaron
Inmediatamente disponible después del pago
Leer en línea o como PDF

Vendido
19
Seguidores
0
Artículos
1639
Última venta
6 horas hace


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