Trend Nxt Android | Question and Answers
1
Android software stack for Modile devices include
- Operating System
- Middleware
- Applications
- All of the options
2
Linux kernel in the Android stack goes by which of the licensing models?
- Apache
- GPL
- Open Source
- None of the options
3
Android Runtime is made up of
- Core Libraries
- DVM
- Both A & B
- None of the options
4
What is true about DVM?
- Registry Based
- Executes DEX format
- Creates Constant Pool per class
- All of the options
5
Output file format from the DX tool
- .Class
- .Dex
- .APK
- None of the options
6
Dalvik is a register based VM which:
- Avoid instruction despatch
- Avoid unnecesary memory access
- Consume instruction stream efficiently
- All of the options
7
Every android app runs as a separate process
- true
- FALSE
8
Multiple instances of DVM can run at the same time in Android
- true
- FALSE
9
Which component in the Android framework provides rich and extensible set of widgets to build applications
- Window Manager
- Content Provider
- View System
- Location Manager
10
Which component in the Android framework creates surfaces for applications to draw directly into the surface
- Window Manager
- Content Provider
- View System
- Location Manager
11
Which component in the Android framework provides data to others
- Window Manager
- Content Provider
- View System
- Location Manager
12
Which component in the Android framework controls access to the non code part of the application
- Window Manager
- View System
- Location Manager
- Resource Manager
13
Which component in the Android framework is incharge of monitoring the life cycle of an application
- Window Manager
- Location Manager
- Lifecycle manager
- Activity Manager
14
Which component in the Android framework holds information about the loaded applications in the system
- Window Manager
- Package Manager
- Application Manager
- Activity Manager
15
Which component in the Android framework provides access to the information about the connection state on the device
- Connection Manager
- Application Manager
- Telephony Manager
- Phone Manager
16
Which component in the Android framework manages access to the display subsystem
- Display Manager
- Device Manager
- Surface Manager
- Phone Manager
17
Which of the following is true about the linux kernel in Android
- No GNU Libc support
- No native windowing support
- Does not include the full set of linux utilities
- All of the options
18
Which wakelocks are provided by the android power manager
- Partical wake lock
- Screen dim wake lock
- Full wake lock
- All of the options
19
Which component in Android is responsible for tracking object references across processes
- ASHMEM
- PMEM
- BINDER
- Low Memory Killer
20
Which component in android maintains a pool of available threads in each process, wake them up to handle IPC
- ASHMEM
- PMEM
- BINDER
- Low Memory Killer
21
_______ is a named memory block that is shared between processes in Android
- ASHMEM
- PMEM
- BINDER
- Low Memory Killer
22
_______ is required to compile an android application and set up AVD
- JDK
- SDK platform
- Eclipse
- None of the options
23
___________ contains all the Java code libraries needed to create applications that runs specifically on the Android platform
- JDK
- Eclipse
- SDK
- None of the options
24
Android SDK includes
- SDK platform
- SDK tools
- Samples
- All of the options
25
Which of the following is required to develop and test android applications
- Android SDK
- Java SDK
- Android Tools
- All of the options
26
Input file for the DX tool is:
- .JAVA
- .CLASS
- .DX
- None of the options
27
_______ tool is used to bundle the DEX files and other resources to make an android application
- DX
- AVD
- AAPT
- JAVAC
28
_______ folder contains the XML files for the User Interface for an android application
- drawable
- layout
- values
- src
29
_______ folder contains the XML file for all the reusable strings for an android application
- drawable
- layout
- values
- src
30
________ is the first method called for an activity in an android application
- onStart()
- onRestart()
- onCreate()
- onMain()
31
What are the ways in which the UI can be defined designed in Android
- A) Declare UI elements in XML
- B) Instantiate layout elements at runtime in a Java file
- Can use either or both of A & B
- None of the above
32
What are the advantages of designing UI in a XML
- Separates the presentations from code that controls the behavior
- UI descriptions can be external to the source code
- Helps in modifying the presentation of the app without a recompile
- All of the options
33
______ layout enables to specify the location of child objects relative to the parent in exact measurements (for example, pixels).
- Relative
- Absolute
- Linear
- None of the options
34
______ is a horizontal scrolling display of images, from a bound list.
- Grid
- Gallery
- Frame
- ScrollView
35
________ displays a scrolling grid of m columns and n rows.
- Grid
- Gallery
- Frame
- ScrollView
36
________ displays a scrolling single column list.
- GridView
- GalleryView
- ListView
- SrollView
37
________acts as a view frame to display a single object.
- Absolute
- Relative
- Linear
- Frame
38
_____ provides a vertically scrolling column of elements.
- Relative
- Absolute
- Linear
- ScrollView
39
________ is a list that displays one item at a time
- ScrollView
- SurfaceView
- ViewFlipper
- None of the options
40
_______ layout enables you to specify the location of child objects relative to each other
- Linear
- Frame
- Relative
- Absolute
41
______ layout organizes its children into a single horizontal or vertical row
- Relative
- Absolute
- Linear
- Scroll
42
An Absolute layout in Android
- Enables to specify the location of child objects relative to the parent in exact measurements (for example, pixels) .
- Acts as a view frame to display a single object.
- Is a list that displays one item at a time
- Provides a vertically scrolling column of elements.
43
A Gallery in Android
- Displays a scrolling grid of m columns and n rows.
- Displays a scrolling single column list.
- Provides a vertically scrolling column of elements.
- Is a horizontal scrolling display of images, from a bound list.
44
A Grid in Android
- Displays a scrolling grid of m columns and n rows.
- Displays a scrolling single column list.
- Provides a vertically scrolling column of elements.
- Is a horizontal scrolling display of images, from a bound list.
45
A ListView in Android
- Displays a scrolling single column list.
- Provides a vertically scrolling column of elements.
- Is a horizontal scrolling display of images, from a bound list.
- Is a list that displays one item at a time
46
A Frame layout in Android
- Provides a vertically scrolling column of elements.
- Is a list that displays one item at a time
- Acts as a view frame to display a single object.
- Is a horizontal scrolling display of images, from a bound list.
47
A ScrollView in Android
- Is a horizontal scrolling display of images, from a bound list.
- Provides a vertically scrolling column of elements.
- Is a list that displays one item at a time
- Acts as a view frame to display a single object.
48
A ViewFlipper in Android
- Is a list that displays one item at a time
- Acts as a view frame to display a single object.
- Provides a vertically scrolling column of elements.
- Is a horizontal scrolling display of images, from a bound list.
49
A Relative layout in Android
- Enables to specify the location of child objects relative to the parent in exact measurements (for example, pixels) .
- Organizes its children into a single horizontal or vertical row
- Enables to specify the location of child objects relative to each other
- Is a list that displays one item at a time
50
A Linear layout in Android
- Organizes its children into a single horizontal or vertical row
- Enables to specify the location of child objects relative to the parent in exact measurements (for example, pixels) .
- Acts as a view frame to display a single object.
- Is a list that displays one item at a time