Unit 7: Mobile Apps Development -
Assignment 2 & 3 (Learning Aim B & C)
(All Criterias Met)
In an array, the first position is - <<<ANSWER>>>0
In the following expression, which part is the literal?
myName = "Tom Duffy"; - <<<ANSWER>>>myName
Suppose an array contains the following elements: {1,2,3,4}.
What kind of loop is best for accessing all array elements in
sequential order?
A) A for loop
B) A while loop
C) do while loop
D) There is no way to access the elements sequentially. -
<<<ANSWER>>>Do While Loop
A software development kit usually includes which of the
following? (Choose all that apply.) (Letter answer)
A) Libraries used for development
, B) A free smartphone
C) Tools for testing code
D) Documentation about the libraries - <<<ANSWER>>>A C D
You can pass parameters to which of the following?
functions
loops
properties
conditions - <<<ANSWER>>>functions
Where is the UI developed?
OnCreate()
Layout
Activity
OnStart() - <<<ANSWER>>>Layout
Gets called when the application starts and where all of our logic
will go when we start our build.
OnStart()
OnCreate()
Activity
OnListen() - <<<ANSWER>>>OnCreate()
Assignment 2 & 3 (Learning Aim B & C)
(All Criterias Met)
In an array, the first position is - <<<ANSWER>>>0
In the following expression, which part is the literal?
myName = "Tom Duffy"; - <<<ANSWER>>>myName
Suppose an array contains the following elements: {1,2,3,4}.
What kind of loop is best for accessing all array elements in
sequential order?
A) A for loop
B) A while loop
C) do while loop
D) There is no way to access the elements sequentially. -
<<<ANSWER>>>Do While Loop
A software development kit usually includes which of the
following? (Choose all that apply.) (Letter answer)
A) Libraries used for development
, B) A free smartphone
C) Tools for testing code
D) Documentation about the libraries - <<<ANSWER>>>A C D
You can pass parameters to which of the following?
functions
loops
properties
conditions - <<<ANSWER>>>functions
Where is the UI developed?
OnCreate()
Layout
Activity
OnStart() - <<<ANSWER>>>Layout
Gets called when the application starts and where all of our logic
will go when we start our build.
OnStart()
OnCreate()
Activity
OnListen() - <<<ANSWER>>>OnCreate()