BTI420 Quiz 1

Quiz 1, on Tuesday, January 20, 2015

.

The sample answers are just that – sample answers. It is not necessary to include all items in a sample answer in order to earn partial or full credit.

.

Briefly explain the purpose of a View, and a Controller. Briefly describe the difference between the two objects.

View – user interface code 
Source code file, includes HTML and code expressions

Controller – manages user interaction logic 
Source code file is C#

Difference? Code/language, purpose, location, etc.

.

When writing a class for a real-world object, how do you define initial values for the data/state members?

Use a default constructor 
Initialize the values in this method

.

Name and briefly explain the purpose and benefit of a view model class. What problem(s) does it solve?

Describes the shape of data… 
Sent to the user 
Gathered from the user

Completely, strictly, and exactly defines the data needed by the use case

.

.

.

.

.

.

.

.

.

.

.

.

  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: