Unit 3 - Intro to App Design Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

user interface

A

the inputs and outputs that allow a user to interact with a piece of software. User interfaces can include a variety of forms such as buttons, menus, images, text, and graphics.

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

input

A

data that are sent to a computer for processing by a program. Can come in a variety of forms, such as tactile interaction, audio, visuals, or text.

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

output

A

any data that are sent from a program to a device. Can come in a variety of forms, such as tactile interaction, audio, visuals, or text

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

Program Statement

A

a command or instruction. Sometimes also referred to as a code statement

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

program

A
  • a collection of program statements
  • programs run (or “execute”) one command at a time
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Sequential Programming

A

program statements run in order, from top to bottom
- no user interaction
- code runs the same way every time

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

Event Driven Programming

A

some program statements run when triggered by an event, like a mouse click or a key press
- programs run differently each time depending on user interactions

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

documentation

A

a written description of how a command or piece of code works or was developed

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

comment

A

form of program documentation written into the program to be read by people and which do not affect how a program runs

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

debugging

A

the process of finding and fixing problems in code

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

pair programming

A

a collaborative programming style in which two programmers switch between the roles of writing code and tracking or planning high level progress

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

pair programming: driver

A

Manipulates the keyboard and the mouse

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

pair programming: navigator

A

keeps track of the big picture. Guides towards the goal.

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

example of input in an app

A

a button clicked by the user

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

what would be considered output in an application

A

a notification sound from an app

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

the user interface of an app refers to

A

the elements that allow users to interact with the app, such as buttons and text fields

17
Q

when a user presses a “submit” button and sees a confirmation message, the button is acting as an ______ and the message is _____

A
  • Button is an input
  • Message is an output
18
Q

why is it important to use descriptive names for element IDs in app design?

A

it makes the code easier to read and maintain

19
Q

which of the following is not an example of user interface element

A

a variable that stores the app data

20
Q

which of the actions below would usually be helpful in designing and developing an app?

i. Interviewing potential users of the app.
ii. Writing the entire program code before testing any parts of it.
iii. Observing users attempting to use the app.

A

i and iii

21
Q

which of the following best describes the purpose of a design specification

A

describing the requirements for how a program will work or users will interact with it

22
Q

if a program is run then the user clicks a button once, what is displayed is what runs naturally first THEN the click

A
23
Q

words must be written in quotes

A
24
Q

which of the following best describes the differences between sequential and event driven programming

A

In sequential programming commands run in the order they are written. in event driven programming, some commands run in response to user interactions or other events.

25
Q

what is not a reason to include comments in programs

A

comments help the computer decide whether certain components of a program are important

26
Q

when debugging it up, which of the following best describes the purpose of this process

A

finding and fixing errors in the code to ensure the app runs as expected

27
Q

which of these actions is a common first step in debugging an app when a button doesn’t work as expected

A

checking if the buttons ID matches what is used in the code

28
Q

what number of bits do you need to represent a number in binary

A

find the exponent that raises 2 to be larger then given number

29
Q

when do Internet connected computing devices use the IP

A

IP is used whenever two computing devices send data to each other over the Internet.

30
Q

is the Internet decentralized or centralized?

A

the Internet is decentralized, so if a single connection fails, the network can remain functional

31
Q

which of the following is not true about functions in programming ?

A

functions cannot make calls to other functions within the same program

32
Q

what is one important name and convention of functions

A

a function name should be as descriptive as possible to indicate what the function does

33
Q

can two functions in a single program, have a different name, but contain identical code

A

yes