Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 2 out of 6 pages
Exam (elaborations)

CSE 3901: FINAL UPDATED ACTUAL QUESTIONS AND CORRECT ANSWERS

Document preview thumbnail
Preview 2 out of 6 pages

CSE 3901: FINAL UPDATED ACTUAL QUESTIONS AND CORRECT ANSWERS

Content preview

CSE 3901: FINAL UPDATED ACTUAL QUESTIONS AND
CORRECT ANSWERS

Question:
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
Answer:
Explain model view controller

Question:
http://web.cse.ohiostate.edu/~giles/3901/lectures/lecture1
6.pdf slide 4
Answer:
Draw an example of MVC

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

Question:
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
Answer:
What is a migration?

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

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

Question:
GET, /students, Collection, index, list all POST, /students, Collection, create, show one GET,
/students/new, Collection, new, blank form 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

, Answer:
For the resource: students list the 7 routes that are included with the action pack. Include HTTP verb, URL,
Resource, Method, View

Question:
Test boundary conditions eg 0, empty array, empty string Test different categories of input eg positive,
negative, and zero Test different categories of behavior eg each menu option, each error message Test
"unexpected" input eg nil, last name includes a space Test representative "normal" input eg random,
reasonable values
Answer:
What are the best type of inputs for testing?

Question:
HTML5 is a core technology markup language of the Internet used for structuring and presenting content
for the World Wide Web. Its core aims have been to improve the language with support for the latest
multimedia while keeping it easily readable by humans and consistently understood by computers and
devices.
Answer:
Describe HTML 5

Question:
A professional front-end template that aids web developers in constructing fast, adaptable, and robust
websites or web applications utilizing a set of HTML5ready features and elements. Incorporates best
practices, css styling fixes, and cross browser compatibility.
Answer:
Describe HTML5 Boilerplate

Question:
Sinatra is a ruby gem that quickly creates a web application. It is a framework like ruby on rails.
Answer:
Describe Sinatra

Question:
jQuery is a cross-platform JavaScript library designed to simplify the clientside scripting of HTML. The
jQuery library is a single JavaScript file containing all of its common DOM, event, effects, and Ajax
functions. It can be included within a web page by linking to a local copy or to one of the many copies
available from public servers.
Answer:
Describe jQuery

Question:
ie <script src="jquery.js"></script>
Answer:

Question:
Asynchronous JavaScript and XML. Basically, a way to update web pages without refreshing the entire
page.

Document information

Uploaded on
September 8, 2026
Number of pages
6
Written in
2026/2027
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.
STANFORDGENIUS
4.0
(236)
Sold
1559
Followers
108
Items
113323
Last sold
7 hours 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