04 - Mobile Development Flashcards

(28 cards)

1
Q

Android uses _______ for:
1. Security
2. Memory Management
3. Process Management
4. Network Stack
5. Driver Model

A

Linux Kernel Drivers

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

interface for the Android framework to communicate with device hardware

A

Hardware Abstraction Layer

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

libraries that provide core functionalities for various Android components such as graphics, sound, and security

A

Native C/C++ Libraries

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

takes Java bytecode compiled into Dalvik Executable format and translates it into native machine code that can be directly executed by the device’s processor

A

Android Runtime

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

Dalvik VM vs ART in terms of:

compilation
performance
storage
battery

A

Compilation
Dalvik: Just-in-Time
ART: Ahead-of-Time
Performance
Dalvik: Slower performance
ART: Faster performance
Storage
Dalvik: more suitable for limited storage
ART: requires more storage
Battery
Dalvik: uses more battery
ART: improved battery utilization

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

high-level API available to app developers

A

Java API Framework

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

where your app, that you developed, will reside

A

application layer

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

iOS uses ___ for :
1. Security
2. Memory Management
3. Process Management
4. Network Stack
5. Driver Model

A

Core OS

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

abstracts the complexities of the underlying Core OS, making it easier for developers to build applications

A

Core Services

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

provides the frameworkds and technologies necessary for applications to work with audio, video, graphics, and animations

A

Media

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

layer that developers use to create the interactive and visually appealing aspects of iOS apps

A

Cocoa Touch

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

layer that directly interacts with the user

main application layer for iOS

A

Cocoa Touch

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

function passed as an argument to another function

A

callback

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

makes the activity visible to the user as the app prepares for the activity to enter the foreground and become interactive

A

onStart()

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

state in which the app interacts with the user

app stays in this state until something happens to take focus away from the app

A

onResume()

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

system calls this method as the first indication that the user is leaving your activity

17
Q

your activity is no longer visible to the user

18
Q

called after onStop() when the current activity is being re displayed to the user

19
Q

called before the activity is destroyed

20
Q

types of mobile apps (4)

A
  1. Native Apps
  2. Hybrid Apps
  3. Cross-Platform Apps
  4. Progressive Web Apps
21
Q

applications developed for a particular platform or device

22
Q

apps built using web technologies and wrapped in a native container

23
Q

relatively easy and quick to develop

can access some device features through plugins

performance can be a concern

24
Q

closest tier to native development

provides own components

A

cross-platform apps

25
built using web technologies acts like a native app limited hardware access can bypass app galleries "app-like"
progressive web apps
26
advantages and disadvantages of native apps (3, 2)
adv: - device specific features - works offline - better use of OS and device specific functionalities disadv: - higher development cost - multiple codebaes for the same app
27
advantages and disadvantages of hybrid/cross-platform apps (3, 2)
adv: - reusable code - access to native features - close-to-native UX disadv: - complex apps = slower - apps cannot perform OS specific tasks
28
advantages and disadvantages of PWAs (3 ea)
adv: - reduced development costs - easy updates - versatility disadv: - limited offline functionality - limited access to device features/hardware - security risk