To Exam Info
IT 372 -- Final Review Guide
Last revised June 1, 2025, at 11:00 pm
Study for Final
- This Review Guide
- The Midterm practice questions on the Exam Info Page
- The Review Exercises at the beginning of each lecture.
- The examples on the Examples Page
- The D2L Quizzes, posted on the course website on the D2L Quizzes Page
- Class Projects
D2L Multiple Choice Portion of Final
- Answer 20 multiple choice questions.
- 120 minute time limit, only one attempt for the final
Short Essay Portion of Final Exam
- Answer two out of three questions.
- About one-half to one single spaced page per question. Not more than
two pages for a question.
- Target your explanations to someone who knows programming,
but is not familiar with Android apps or Android Studio.
- Write in complete sentences and paragraphs, with an introduction and a conclusion
for each question.
Definitions of Items
- History of Mobile Computing: Newton Message Pad, Palm
Pilot, BlackBerry, iPhone, Google Buys Android, T-mobile G1, Objective C, Swift.
- Project files: XML layout file, Java activity file, resource files,
manifest
- Resource files: strings.xml, colors.xml
Know how to use the colors and strings in the resource files for an app.
- Layouts: Measurement unit for distance: dp
Measurement unit for font size: sp
Special values for layout and widget width and height: match_parent
wrap_content
- All Layouts XML Attributes: id layout_width layout_height
layout_margin (layout_marginBottom layout_marginLeft layout_marginRight
layout_marginTop) padding (paddingBottom paddingLeft
paddingRight paddingTop)
Java Methods: getHeight getWidth
- LinearLayout XML Attibutes:
orientation
- ConstraintLayout: XML Attributes:
layout_constraintBottom_toBottomOf layout_constraintBottom_toTopOf layout_constraintLeft_toLeftOf
layout_constraintLeft_toRightOf layout_constraintRight_toLeftOf layout_constraintRight_toRightOf layout_constraintTop_toBottomOf layout_constraintTop_toTopOf
- Widgets:
- View XML Attributes:
id background layout_height layout_width
layout_margin (layout_marginBottom layout_marginLeft layout_marginRight
layout_marginTop) padding
(paddingBottom paddingLeft paddingRight paddingTop) textSize
- TextView XML Attributes:
text Java Methods: getText setText
- Button XML Attributes:
text onClick Java Methods: getText setText
- EditText XML Attributes: hint text
Java Methods: getText setText
- Spinner XML Attributes:
entries Java Methods: setAdapter getSelectedItem
- CheckBox XML Attributes:
checked text Java Methods:
isChecked
setChecked
- RadioButton XML Attributes:
checked text Java Methods:
isChecked setChecked
- RadioGroup
- SeekBar XML Attributes:
min max progress Java Methods:
getProgress
- ImageView XML Attributes:
src Java Methods:
setImageResource
- Activity: context, bundles, intents, lifecycle events (CREATE,
START, PAUSE, RESUME,
RESTART, DESTROY).
- Other object used in apps: Toast
- Class for Reading from a File in raw folder:
InputStream
- Classes for SQLite Databases:
SQLiteDatabaseHelper, SQLiteDatabase,
ContentValues, Cursor
- Objects for Drawing: Canvas,
Paint
- Events: Click, LongClick,
Touch, ItemClick. Know the
three ways of setting up an event handler for a layout or widget: (1) onClick
attribute, (2) anonymous class, (3) anonymous method, (4) lambda methods.
Syntax for Android XML Layout and Resource Files
- Root node, validation header, start node, end node, node text, combination start/end node, comment node,
entity
Java Constructs Related to Android Apps
- f suffix for float constant,
if/else, switch,
while, for, class,
interface,
ArrayList,
try/catch blocks, Elvis operator (? :), datatype conversions (Integer.parseInt,
Float.parseFloat, Double.parseDouble,
String.valueOf, toString),
private inner class, anonymous class.
Color Codes
- Know the hex color codes for these colors: aqua/cyan, black, blue, gray, green, lime,
maroon, olive, red, navy, purple, silver, teal, white, yellow.
- Also know how to use color codes to set colors in an app.
Kotlin Language
Jetpack Compose
- Base class for MainActivity class: ComponentActivity
- @Composable annotation
- @Preview(showBackground = true) annotation
- MainActivity Function
- Functions to implement material components
Button Column Image Text
- Event listeners:
onClick onChange