Mobile App Development Final Exam
Questions With Correct Answers 2023
types of mobile apps (wk 1) - Answer native, web, hybrid
Native apps (wk 1) - Answer developed purely for one platform, expensive
Web apps (wk 1) - Answer developed using HTML 5, CSS, and JavaScript, and can be deployed crossplatform
Hybrid apps (wk 1) - Answer a combination of native and web
Basic syntax of swift - Answer wk 3?
initializer syntax: var emptyString = "" //empty String literal var anotherEmptyString = String() //initializer syntax
Swift data types (wk 3) - Answer character, string, int, float, double, bool
How to declare and use constants and variables (wk 3) - Answer Use let to define a constant ex: let maximumNumberOfLoginAttempts = 10
var to define a variable ex: var currentLoginAttempt = 0
How to declare and use a function - Answer Every function has a function name, which describes the task that the function performs. To use a function, you "call" that function with its name and pass it input values (known as arguments) that match the types of the
function's parameters. A function's arguments must always be provided in the same order as the function's parameter list.
Model View Controller (MVC) architecture (wk 2) - Answer central to good design for any iOS app
assigns all objects in an app to one of three roles: - Model (business logic and data) - View (interface) - Controller (gateway between model and views, represented as code)
Foundations of iOS development -- Working with View Controllers (wk 2) - Answer Controllers are objects that support your views by responding to user actions and displaying content • Controllers are the middle-man in that they conduct all communication with the data model. A view controller is not part of the view hierarchy (it
is not an element in your interface). It manages the view objects and provides them with
behavior. Each content view hierarchy needs a corresponding view controller
Questions With Correct Answers 2023
types of mobile apps (wk 1) - Answer native, web, hybrid
Native apps (wk 1) - Answer developed purely for one platform, expensive
Web apps (wk 1) - Answer developed using HTML 5, CSS, and JavaScript, and can be deployed crossplatform
Hybrid apps (wk 1) - Answer a combination of native and web
Basic syntax of swift - Answer wk 3?
initializer syntax: var emptyString = "" //empty String literal var anotherEmptyString = String() //initializer syntax
Swift data types (wk 3) - Answer character, string, int, float, double, bool
How to declare and use constants and variables (wk 3) - Answer Use let to define a constant ex: let maximumNumberOfLoginAttempts = 10
var to define a variable ex: var currentLoginAttempt = 0
How to declare and use a function - Answer Every function has a function name, which describes the task that the function performs. To use a function, you "call" that function with its name and pass it input values (known as arguments) that match the types of the
function's parameters. A function's arguments must always be provided in the same order as the function's parameter list.
Model View Controller (MVC) architecture (wk 2) - Answer central to good design for any iOS app
assigns all objects in an app to one of three roles: - Model (business logic and data) - View (interface) - Controller (gateway between model and views, represented as code)
Foundations of iOS development -- Working with View Controllers (wk 2) - Answer Controllers are objects that support your views by responding to user actions and displaying content • Controllers are the middle-man in that they conduct all communication with the data model. A view controller is not part of the view hierarchy (it
is not an element in your interface). It manages the view objects and provides them with
behavior. Each content view hierarchy needs a corresponding view controller