ELECTIVE 02 ANDROID Flashcards

1
Q

4 SECTIONS OF THE ARCHITECTURE OF ANDROID OS

A
  1. LINUX KERNEL
  2. LIBRARIES AND ANDROID RUNTIME
  3. APPLICATION FRAMEWORK
  4. APPLICATIONS
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

LINUX KERNEL PROVIDES THE FOLLOWING 6 SERVICES

A
  1. SECURITY
  2. MEMORY MANAGEMENT
  3. PROCESS MANAGEMENT
  4. NETWORK STACK
  5. DRIVER MODEL
  6. POWER MANAGEMENT
    7.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

THE LINUX KERNEL ACTS AS AN __________ _______ BETWEEN _______ AND THE REST OF THE ________ STACK

A

ABSTRACTION LAYER
HARDWARE
SOFTWARE

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

Common android libraries are (7)`

A
  1. SURFACE MANAGER
  2. SQLITE
  3. MEDIA FRAMEWORK
  4. SGL and OPEN GL ES
  5. FREETYPE
  6. SSL
  7. WEBKIT
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

THE ANDROID RUNTIME IS DIVIDED INTO 2 PARTS AS FOLLOWS

A

CORE LIBRARIES
DALVIK VIRTUAL MACHINE

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

It is a rich set of classes that helps to develop Android application and platform.
open source development.

A

APPLICATION FRAMEWORK

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q
  • Abstraction of hardware access, manages user interface (UI) and application resources.
A

APPLICATION FRAMEWORK

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

APPLICATIONS ARE WRITTEN IN ______ PROGRAMMING

A

JAVA

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

WE CAN DESIGN UIS FOR ANDROID APPLICATIONS BY USING:

A

JAVA
XML

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

4 BASIC COMPONENTS OF AN ANDROID APPLICATION

A

ACTIVITY
SERVICE
BROADCAST RECEIVER
CONTENT RECEIVER

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

AN _______ REPRESENTS A SINGLE SCREEN WITH UI OR WINDOW

A

ACTIVITY

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q
  • Inherit the _____________ from the android.app package to create an activity or window
A

Activity class

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

Activity is initialized in what method

A

onCreate(Bundle)`

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

All activity classes must have a corresponding <activity> declaration in their package's \_\_\_\_\_\_\_\_\_</activity>

A

AndroidManifest.xml

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q
  • If the activity is not registered or declared in the manifest file, the application will fail and display the
    message _____________
A

“unfortunately stopped”.

17
Q

Activity Environment maintains a _____ of all the open _______

A

STACK
ACTIVITIES

18
Q

A _____________runs in the background to perform long-running operations or work for remote processes.

A

service

19
Q
  • Each service class must have a corresponding _______ besides <Activity> declaration in
    AndroidManifest.xml of your package.</Activity>
A

<service>
</service>

20
Q

3 methods for Service

A

onCreate()
onStart()
onDestroy()

21
Q

______ LIstens to broadcast intents

A

BROADCAST RECEIVER

22
Q

This must be registered

A

BROADCAST RECEIVER

23
Q
  • A broadcast receiver can be registered using _____________
A

multiple intent filters.

24
Q

_________________ is one of the main components of Android applications that provides content
to applications.

A

Content provider

25
Q

Content Resolver Encapsulates and provides data to applications through a single interface called
_______________.

A

Content Resolver

26
Q

Is required only if the data has to be shared between multiple applications

A

Content Provider

27
Q

ADT bundle is a set of (3)

A

LATEST ANDROID SDK
ECLIPSE
SDK MANAGER

28
Q

AVD

A

ANDROID VIRTUAL DEVICE

29
Q

DDMS

A

DALVIK DEBUG MONITOR SERVER

30
Q

3 USES FOR THE DDMS

A

EMULATING GPS
DEBUGGING DIAGNOSTICS
SCREEN CAPTURE

31
Q

ADT

A

ANDROID DEVELOPMENT TOOLS

32
Q
A