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

For pre-final and final exams. (34 cards)

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. An example of this development framework is the

(Kim, 2015).

A

An interactive system development framework
model-view-controller framework

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
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
5
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
6
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
7
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
8
Q

is one of the first object-oriented 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
9
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
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

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
12
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
13
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
14
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
15
Q

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

(Kim, 2015).

A

The Model

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

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

A

The View component

17
Q

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

A

The View component

18
Q

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

A

Multiple Views

19
Q

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

(InterServer.net, n.d.).

20
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.

21
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).

22
Q

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

(Kim, 2015).

A
  • View: Interface
23
Q

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

24
Q

It processes all the business logic and incoming requests and input, manipulates data using the model component,

(InterServer.net, n.d.).

A
  • Controller: User Input
25
and interacts with the views to render the final output of a software application ## Footnote (InterServer.net, n.d.).
* **Controller: User Input**
26
In many application architecture and framework, the `____` and `__________` are already merged into one (1) module or object because of its close connection.
________view________ controller
27
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**
28
*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
29
*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
30
**View** Interface *sends input events* **Controller** **Controller** User input *modifies* **Model** *modifies* **View** **Model** Data and logic *updates* **View** The implementation of an MVC framework 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.
31
An example of the `___ _________` is the implementation of a simple object-oriented bank application. The `___ _____` maintains the balance for a user who can make deposits and withdrawals through a computer.
MVC framework MVC model
32
``` UIObject -- v ---------------------------------- AccountViewController Account virtual: Init ui display(); Handle ui event (event type, input) Update ui display (new balance); v ------------------------------------- > DepositViewController > WithdrawViewController ``` * The more general `________` is a superclass for the `_____________________`.
``` UIObject AccountViewController ```
33
``` AccountViewController Account virtual: Init ui display(); Handle ui event (event type, input) Update ui display (new balance); v ------------------------------------- > DepositViewController > WithdrawViewController ``` * The `_____________________` is also a superclass for the subclasses `_____________________` and `______________________`. Both subclasses interpret `____ _____` and invoke the `_______`. ## Footnote (e.g, textual input of digits into integers)
`AccountViewController` ``` DepositViewController WithdrawViewController ``` user input *Account*
34
``` Account Name Balance Deposit_ViewController Withdraw_ViewController { Void Deposit (amount) Void Withdraw (amount) } V Notify_depositVC (amount) NotifyWithdrawVC (amount) ``` * The class named `_______` holds the customer's `____`, `_______`, and two (2) views or controller (one for `__________` the balance `_____ __________` and one for `__________` the balance `_____ _ __________`).
Account name balance displaying after depositing displaying after a withdrawal