IST236Test1 Flashcards

1
Q

In which year did Google purchase the company Android, Inc.?

A

2005

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

What is the one-time cost for a developer’s account at the Android Market?

A

$25

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

When you post an Android app at the Android Market, what percentage of the app price does the developer keep?

A

70%

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

How much is Amazon’s annual fee for a developer’s account?

A

$99

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

Which three manufacturers’ operating systems can be used to program an Android app?

A

Windows, Mac, Linux

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

Which two languages are used in creating an Android app in Eclipse?

A

Java and XML

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

What would be the recommended package name if your domain was karencodeworld.net and your project name was AndroidMap?

A

net.karencodeworld.AndroidMap

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

Name three widgets mentioned in this chapter.

A

TextView, Button, CheckBox controls

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

What is the name of the widget that was used in the Hello Android World app?

A

TextView control

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

Which two key combinations can you press to execute an Android app in Eclipse?

A

Ctrl+F11 in Windows and Command+Shift+F11 on Mac

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

Which Android version is Ice Cream Sandwich?

A

4.0

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

If you were creating an app in many different languages, would you have to write the entire program from scratch for each language?

A

no

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

What part of the program in question 1 would stay the same?
What part of the program would be different?

A

Java code, You would have unique XML layout files, one for each language.

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

In which subfolder in the Package Explorer are the XML files stored?

A

Layout

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

Which three controls were used in the chapter project? (ch2)

A

TextView, ImageView, Button

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

What is the difference between Linear layout and Relative layout?

A

Linear layout arranges components in a vertical column or horizontal row. Relative layout arranges them in relation to each other.

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

Is the default layout for an Android screen Linear or Relative?

A

Linear

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

Which measurement is most preferred for text size?

Why?

A

sp, If a user has set up an Android phone to display a large font size for more clarity, the font in the app will be scaled to meet the user’s size preference.

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

What does px stand for?

A

Pixels

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

What does sp stand for?

A

scaled-independent pixels

21
Q

What does dpi stand for?

A

dots per inch

22
Q

What is an Android theme?

A

It is a style applied to an Activity or entire application.

23
Q

Which theme was used in the chapter project?

A

The theme used was Theme.Black.NoTitleBar.

24
Q

In an app, suppose you want to use the theme named Theme.Translucent. What code is needed in the AndroidManifest.xml file to support this theme?

A

The code needed is anroid:theme=”@android:style/Theme.Translucent”.

25
Q

What is a soft keyboard? Be sure to include its location in your answer.

A

It is the onscreen keyboard on an Android device, which is positioned at the bottom of the screen over the application window.

26
Q

Which five controls were used in the chapter project?

A

They were Text Fields, TextView, ImageView, Button, and Spinner controls.

27
Q

Which Text Field control is best for entering an amount that contains a paycheck amount?

A

It would be Number (Decimal).

28
Q

Which property of the Spinner control adds text at the top of the control such as instructions?

A

Prompt

29
Q

What is the name of the file that holds commonly used phrases (arrays) of text in an application?

A

It is strings.xml.

30
Q

What is a single string of information called in a string array?

A

Item

31
Q

Which property do you assign to the string array that you create for a Spinner?

A

Entries

32
Q

What is the icon found on the Android home screen that opens an app?

A

launcher icon

33
Q

What is the preferred prefix for a filename and file extension of the icon described in question 1?

A

It is ic_launcher for the filename and png for the extension.

34
Q

What is the pixel size for the icon described in question 1 for a high-density pixel image?

A

72x72

35
Q

To display a custom icon, you must perform two steps. First, add the icon image file to the drawable-hdpi folder. What is the second step?

A

The Android Manifest file must be updated to include the new filename of the new image file.

36
Q

Which TextView property is changed to identify the color of the control?

A

Text color property

37
Q

Which primary color is represented by the hexadecimal code of #00FF00?

A

green

38
Q

What is the name of the tool used to center a TextView control horizontally?

A

Change Gravity tool

39
Q

Using the Change Margins tool, in which text box would you type 22dp to move a control 22 density pixels down from the upper edge of the emulator?

A

Top Text box

40
Q

When a RadioGroup control is placed on the emulator, the first RadioButton control is selected by default. Which property is set as true by default?

A

The Checked property is selected.

41
Q

Write an If statement that tests if the value in the variable age is between 18 and
21 years of age, inclusive, with empty braces.

A

if (age >= 18 && age <=21) {

}

42
Q

6 items on the Req Doc

A

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

43
Q

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

A

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

44
Q

Application Name

A

Self Explanatory

45
Q

Purpose

A

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

46
Q

Program Procedures

A

Basic Description of what the program does

47
Q

Algorithm

A

Step by step instructions of what it does

48
Q

Notes

A

that would be valid to the reader

49
Q

Comments

A

Information pertinent to the application