CS401A's Pre-Finals: Human-Comp. Interact Module 07 Flashcards

For pre-final and final exams.

1
Q

pertains to an established modular approach for interactive program development

A

An interactive system development framework

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

where the core computation and interface parts are developed in a modularized method and are combined flexibly.

A

An interactive system development framework

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

This kind of development is often based on the user interface (UI) toolkit, which provides the abstraction for the interface part.

A

An interactive system development framework

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

An example of this development framework is the model-view-controller framework

(Kim, 2015).

A

An interactive system development framework

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

also known as MVC architecture,

A

The model-view-controller (MVC) framework,

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

is a well known three-layer framework used in developing and implementing user interfaces, especially Web applications, on computers.

A

The model-view-controller (MVC) framework,

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

It divides a given software application into three (3) interconnected parts to separate internal representations of data and information from the ways that information is presented to or accepted from the user

(InterServer.net, n.d.).

A

The model-view-controller (MVC) framework,

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

The designers of the programming language called Smalltalk proposed the ___ approach as a computational architecture for interactive programs, rather than a methodology.

A

MVC (model-view-controller)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

is one of the first object-orietned and modular languages in the programming history

(Kim, 2015).

A

Smalltalk

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

These are the following components of an MVC framework:

A
  • Model: Data and Logic
  • View: Interface
  • Controller: User Input
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

These are the following components of an MVC framework:

A
  • Model: Data and Logic
  • View: Interface
  • Controller: User Input
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

specifies the logical structure of data and the associated high-level classes in a software application.

A

A Model

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

It is a domain-specific representation of the data that describes the processes in an application.

A
  • Model: Data and Logic
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

When changes its state, the domain notifies its associated views to refresh

(InterServer.net, n.d.).

A

a Model

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Example: In an interactive banking app,
involves the part of the program that maintains the balance, computes for the interest, makes wire transfers, etc.

A

the Model

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Example:
does not know how the info will be presented to the user and how the transactions are made.

(Kim, 2015).

17
Q

involves all the user interface (UI) logic in a software app,

A

The View component

18
Q

which also presents the app’s user interface as an output.

A

The View component

19
Q

can also exist for a single model but for different purposes.

A

Multiple Views

20
Q

In modern graphical user interface (GUI), the implementation
is commonly through widgets

(InterServer.net, n.d.).

21
Q

Example: In an interactive banking app,
might be windows and widgets that display the list of all possible transactions and the balance of a given account.

22
Q

Example:
Moreover, there could be different
implementation for different display platforms or user groups.

(e.g., 17-in. monitor and 10-in. LCD) (e.g., young users and people with special needs).

23
Q

Example:
Note that the output display does not necessarily have to be visual

(Kim, 2015).

A
  • View: Interface
24
Q

serves as an interface between the model and the view components.

A

A Controller

25
It processes all the business logic and incoming requests and input, manipulates data using the model component, ## Footnote (InterServer.net, n.d.).
* **Controller: User Input**
26
and interacts with the views to render the final output of a software application ## Footnote (InterServer.net, n.d.).
* **Controller: User Input**
27
In many application architecture and framework, the view and __________ are already merged into one (1) module or object because of its close connection.
**Controller**
28
For instance, a UI button object is defined by an attribute parameter such as size, label, and color, as well as the event handler that invokes the methods on the model for change or manipulation ## Footnote (Kim, 2015).
**Controller**
29
*Advantages of MVC Framework*
* Faster development process... * Can provide multiple views for a single model... * Modification does not affect the entire framework... * pattern returns data without applying any formatting... * Easy to develop an SEO-friendly URL... * Supports the test-driven development approach
30
*Disadvantages of MVC Framework*
* Inefficiency of data access in view... * Difficulty of implementing with modern user interface involving different modalities * Programmers/Developers must be knowledgeable about the business process linked to the app development for each MVC component
31
**View** Interface *sends input events* **Controller** **Controller** User input *modifies* **Model** *modifies* **View** **Model** Data and logic *updates* **View** can be summarized through the following steps:
**1:** A browser sends a request to the MVC app. **2:** The incoming request is directed to the controller. **3:** The controller processes the request based on the data model of the app. **4:** The result of the model component is passed to the appropriate view. **5:** The view component renders the result into a form suitable for user interaction.
32
An example is the implementation of a simple object-oriented bank application.
of the MVC framework
33
maintains the balance for a user who can make deposits and withdrawals through a computer.
The MVC model
34
Account Name Balance Deposit_ViewController Withdraw ViewController {Void Deposit (amount) Void Withdraw (amount} Notify_depositVC (amount) NotifyWithdrawVC(amount) | BONUS
35
AccountViewController Account virtual: Init ui display(); Handle ui event (event type, input) Update ui display (new balance); | BONUS