CPT236 TEST 2 Flashcards

1
Q

6 items on the Req Doc

A

Application Name, Purpose, Program Procedures, Algorithm, Notes, Comments

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

What goes at the top of the Req Doc? (4 items)

A

David Smith, IST 236, Requirements Document, Assignment and Problem Numbers

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

Application Name

A

Self Explanatory

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

Purpose

A

Tell me about the program and sell me on why I need it

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

Program Procedures

A

Basic Description of what the program does

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

Algorithm

A

Step by step instructions of what it does

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

Notes

A

that would be valid to the reader

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

Comments

A

Information pertinent to the application

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

What is the setListAdapter statement?

A

setListAdapter(new ArrayAdapter(this, android.R.layout.simple_list_item_1, nameOfStringArray));

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

statement for startActivity for a web address

A

startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(“web address”)));

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

create instance of the Button.OnClickListener

A

Button.OnClickListener variable = new Button.OnClickListener() {}

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

variable for date dialog

A

static final int DATE_DIALOG_ID = 0;

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

statement for onCreateDialog

A

protected Dialog onCreateDialog(int id) {}

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

for a calendar, what goes inside the onCreateDialog method?

A

return new DatePickerDialog(this, variable, currentYear, currentMonth, currentDay);

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

the statement for a listener for when the user selects a date

A

private DatePickerDialog.OnDateSetListener variable = new DatePickerDialog.OnDateSetListener() {}

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

statement for when an item in a list is selected

A

protected void onListItemClick(ListView l, View v, int position, long id) {}