0% found this document useful (0 votes)
44 views

General Guidelines For Error Free Questions

onCreate() A) Declare UI elements in XML ans) Both A and B file? UI can be modified without recompiling the code 33 Designing UI The layout file defines the visual structure of the UI True ans) False 34 Designing UI Layouts are defined using XML True ans) False 35 Designing UI Views are UI elements like buttons, text fields etc. True ans) False 36 Designing UI Activities are UI screens True ans) False 37 Designing UI Fragments are reusable UI components True ans) False 38 Design
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
44 views

General Guidelines For Error Free Questions

onCreate() A) Declare UI elements in XML ans) Both A and B file? UI can be modified without recompiling the code 33 Designing UI The layout file defines the visual structure of the UI True ans) False 34 Designing UI Layouts are defined using XML True ans) False 35 Designing UI Views are UI elements like buttons, text fields etc. True ans) False 36 Designing UI Activities are UI screens True ans) False 37 Designing UI Fragments are reusable UI components True ans) False 38 Design
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 16

GENERAL GUIDELINES FOR ERROR FREE QUESTIONS

1. DO NOT HAVE UNNECESSARY SPACES IN YOUR QUESTIONS.

2. PREFIX YOUR ANSWERS WITH "ans)" only.

3. QUESTIONS SHOULD BE OF SINGLE ANSWERED i.e. Questions can have only one answer.

4. PLEASE DO NOT CHANGE THE FORMATTING.

5. PLEASE TYPE YOUR QUESTIONS AND CHOICES IN THE "QUESTIONS" WORKSHEET OF THIS FILE.

6. PLEASE ENSURE CHOICES FOR A QUESTION IS NOT MORE THAN 4 .

SAMPLE QUESTIONS

Sl.no Question Choice A Choice B Choice C Choice D


Who
invented Charles ans)Denis Jorne none of
1 C Babbage Ritchie Stortstrup the above
only one answer.

WORKSHEET OF THIS FILE.


Sl. No Topic Name Questions Choice A Choice B
Android software stack for Modile
Introduction to Android
1 devices include Operating System Middleware
Linux kernel in the Android stack goes by which of the
Introduction to Android
2 licensing models? Apache ans) GPL
3 Android Architecture Android Runtime is made up of Core Libraries DVM
4 Android Architecture What is true about DVM? Registry Based Executes DEX format
5 Android Architecture Output file format from the DX tool .Class ans) .Dex
Android Architecture
6 Dalvik is a register based VM which: Avoid instruction despatch Avoid unnecesary memory access
7 Android Architecture Every android app runs as a separate process ans) true FALSE
Multiple instances of DVM can run at the same time in
Android Architecture
8 Android ans) true FALSE

Android Architecture Which component in the Android framework provides


9 rich and extensible set of widgets to build applications Window Manager Content Provider

Android Architecture Which component in the Android framework creates


10 surfaces for applications to draw directly into the surface ans) Window Manager Content Provider
Which component in the Android framework provides
Android Architecture
11 data to others Window Manager ans) Content Provider

Android Architecture Which component in the Android framework controls


12 access to the non code part of the application Window Manager View System

Android Architecture Which component in the Android framework is incharge


13 of monitoring the life cycle of an application Window Manager Location Manager

Android Architecture Which component in the Android framework holds


14 information about the loaded applications in the system Window Manager ans) Package Manager
Which component in the Android framework provides
Android Architecture access to the information about the connection state on
15 the device Connection Manager Application Manager
Which component in the Android framework manages
Android Architecture
16 access to the display subsystem Display Manager Device Manager
Choice C Choice D

Applications ans) All of the options

Open Source None of the options


ans) Both A & B None of the options
Creates Constant Pool per classans) All of the options
.APK None of the options
Consume instruction stream
efficiently ans) All of the options

ans) View System Location Manager

View System Location Manager

View System Location Manager

Location Manager ans) Resource Manager

Lifecycle manager ans) Activity Manager

Application Manager Activity Manager

ans) Telephony Manager Phone Manager

ans) Surface Manager Phone Manager


Which of the following is true about the linux kernel in
Android Architecture
17 Android No GNU Libc support No native windowing support
Which wakelocks are provided by the android power
Android Architecture
18 manager Partical wake lock Screen dim wake lock
Which component in Android is responsible for tracking
Android Architecture
19 object references across processes ASHMEM PMEM
Which component in android maintains a pool of
Android Architecture available threads in each process, wake them up to
20 handle IPC ASHMEM PMEM
_______ is a named memory block that is shared
Android Architecture
21 between processes in Android ans) ASHMEM PMEM
_______ is required to compile an android application
Getting Started
22 and set up AVD JDK ans) SDK platform
___________ contains all the Java code libraries needed
Getting Started to create applications that runs specifically on the
23 Android platform JDK Eclipse
24 Getting Started Android SDK includes SDK platform SDK tools
Which of the following is required to develop and test
Getting Started
25 android applications Android SDK Java SDK
Structure of an Android app
26 Input file for the DX tool is: .JAVA ans) .CLASS
_______ tool is used to bundle the DEX files and other
Structure of an Android app
27 resources to make an android application DX AVD
_______ folder contains the XML files for the User
Structure of an Android app
28 Interface for an android application drawable layout
_______ folder contains the XML file for all the reusable
Structure of an Android app
29 strings for an android application drawable layout
________ is the first method called for an activity in an
Structure of an Android app
30 android application onStart() onRestart()
What are the ways in which the UI can be defined B) Instantiate layout elements at
Designing UI
31 designed in Android A) Declare UI elements in XML
runtime in a Java file

Separates the
Designing UI
presentations from code UI descriptions can be external to
32 What are the advantages of designing UI in a XML that controls the behavior the source code
Does not include the full set
of linux utilities ans) All of the options

Full wake lock ans) All of the options

ans) BINDER Low Memory Killer

ans) BINDER Low Memory Killer

BINDER Low Memory Killer

Eclipse None of the options

ans) SDK None of the options


Samples ans) All of the options

Android Tools ans) All of the options

.DX None of the options

ans) AAPT JAVAC

ans) values src

ans) values src

ans) onCreate() onMain()


ans) Can use either or both
of A & B None of the above

Helps in modifying the


presentation of the app
without a recompile ans) All of the options
______ layout enables to specify the location of child
objects relative to the parent in exact measurements (for
Designing UI
example, pixels).
33 Relative ans) Absolute
______ is a horizontal scrolling display of images, from a
Designing UI bound list.
34 Grid ans) Gallery
________ displays a scrolling grid of m columns and n
Designing UI
35 rows. ans) Grid Gallery
________ displays a scrolling single column list.
Designing UI
36 GridView GalleryView

Designing UI ________acts as a view frame to display a single object.


37 Absolute Relative

Designing UI _____ provides a vertically scrolling column of elements.


38 Relative Absolute
39 Designing UI ________ is a list that displays one item at a time ScrollView SurfaceView
_______ layout enables you to specify the location of
Designing UI
40 child objects relative to each other Linear Frame
______ layout organizes its children into a single
Designing UI
41 horizontal or vertical row Relative Absolute

ans) Enables to specify the


location of child objects
Designing UI
relative to the parent in
exact measurements (for Acts as a view frame to display a
42 An Absolute layout in Android example, pixels) . single object.

Designing UI Displays a scrolling grid of Displays a scrolling single column


43 A Gallery in Android m columns and n rows. list.
ans) Displays a scrolling
Designing UI grid of m columns and n Displays a scrolling single column
44 A Grid in Android rows. list.
Linear None of the options

Frame ScrollView

Frame ScrollView

ans) ListView SrollView

Linear ans) Frame

Linear ans) ScrollView


ans) ViewFlipper None of the options

ans) Relative Absolute

ans) Linear Scroll

Is a list that displays one Provides a vertically scrolling


item at a time column of elements.
Provides a vertically ans) Is a horizontal scrolling
scrolling column of display of images, from a
elements. bound list.
Provides a vertically
scrolling column of Is a horizontal scrolling display
elements. of images, from a bound list.
Designing UI ans) Displays a scrolling Provides a vertically scrolling
45 A ListView in Android single column list. column of elements.
Provides a vertically
Designing UI scrolling column of Is a list that displays one item at a
46 A Frame layout in Android elements. time
Is a horizontal scrolling
Designing UI display of images, from a ans) Provides a vertically scrolling
47 A ScrollView in Android bound list. column of elements.

Designing UI ans) Is a list that displays Acts as a view frame to display a


48 A ViewFlipper in Android one item at a time single object.
Enables to specify the
location of child objects
Designing UI relative to the parent in
exact measurements (for Organizes its children into a single
49 A Relative layout in Android example, pixels) . horizontal or vertical row
Enables to specify the location of
ans) Organizes its children child objects relative to the parent
Designing UI
into a single horizontal or in exact measurements (for
50 A Linear layout in Android vertical row example, pixels) .
______ is a view containing a quick little message for the
Designing UI
51 user MessageBox MessageView
______ is a simple, non-persistent message that is
Designing UI designed to alert the user of some sort of event
52 Alert ans) Toast
_______ is a transient message which displays and
Designing UI
53 disappears on its own without user interaction Message Alert
54 Designing UI ______ is a view in Android to display static text TextBox ans) TextView
Designing UI
55 _____ is a view in Android display non-interactive labels Text TextBox

Designing UI _____ is a view in Android which extends TextView and


56 enables more attributes which enables editing of the text TextBox TextEdit
_____ is a view in Android which displays text to the end
Designing UI
57 user and allows editing ans) EditText TextBox
Is a horizontal scrolling
display of images, from a Is a list that displays one item
bound list. at a time

ans) Acts as a view frame to Is a horizontal scrolling display


display a single object. of images, from a bound list.

Is a list that displays one Acts as a view frame to display


item at a time a single object.
Provides a vertically
scrolling column of Is a horizontal scrolling display
elements. of images, from a bound list.

ans) Enables to specify the


location of child objects Is a list that displays one item
relative to each other at a time

Acts as a view frame to Is a list that displays one item


display a single object. at a time

ToastView ans) Toast

Message None of the options

ans) Toast Notification


Text Label

ans) TextView Label

EditBox ans) EditText

TextEdit EditBox
_____ is the method in Android which returns the
Designing UI
58 checked state of a check box Checked() ans) IsChecked()
_______ is a view which cannot be unchecked once
Designing UI
59 checked CheckBox RadioGroup
_______ is used to bind the view to an external source of
Designing UI
60 data AdapterView AdapterGroup
_______ acts like a courier between the data source and
Designing UI
61 the AdapterView which displays the data ans) Adapter AdapterView
______ adapter is used to get the data reading from a
Designing UI
62 database ListAdapter ans) ArrayAdapter
_____ adapter is used to get the data from an arbitrary
Designing UI
63 array ans) ArrayAdapter CursorAdaptor
Designing UI
64 _____ view in Android is similar to the dropdown list ListView AutoCompleteTextView
Designing UI
65 Which of the following are true about a Spinner Similar to a drop down list Doesn’t support click events
_____ is a view in android which is associated with a
Designing UI
66 predefined set of elements TextView EditText
_______ prompts the user with a choice of elements ans)
Designing UI
67 matching the characters typed AutoCompleteTextView TextView
A max of ______ menu items are shown by default in
Designing UI
68 Android 4 5
_____ is the menu which is showed when the menu has
Designing UI
69 more than 6 items SubMenu ans) ExpandedMenu
_____ is the menu used to provide the primary set of
Designing UI
70 options for a Activity ExpandedMenu SubMenu
______ is the menu which supports icons but do not
Designing UI
71 support radiobuttons/checkboxes ans) IconMenu SubMenu
____ is the menu which appears when there is a long
Designing UI
72 press on a view object OptionsMenu PopupMenu

Designing UI ______ is a floating list of menu items which appears


73 when an options menu/context menu is selected ans) SubMenu OptionsMenu
______ method has to be overridden to support options
Designing UI
74 menu for an activity onCreateIconMenu ans) onCreateOptionsMenu
CheckedState() getCheckState()

ans) RadioButton Radio

ans) Adapter None of the options

AdapterGroup None of the options

CursorAdaptor None of the options

ListAdapter None of the options

ans) Spinner None of the options


Supports only selection
events ans) All of the options

ans) AutoCompleteTextView CheckBox

EditText CheckBox

ans) 6 7

OptionsMenu None of the options

ans) OptionsMenu None of the options

ExpandedMenu PopupMenu

ExpandedMenu ans) ContextMenu

PopupMenu ContextMenu

oncreateoptionsmenu onCreateOptions
______ method has to be overridden to handle the ans)
Designing UI
75 options menu clicks onOptionsItemSelected onoptionsitemselected
______ method has to be overridden to support context
Designing UI
76 menu onCreateOptionsMenu ans) onCreateContextMenu
_____ is the API used by the View objects to register for
Designing UI
77 the context menu onRegisterContextMenu ans) registerForContextMenu
______ method has to be overridden to handle the ans)
Designing UI
78 context menu clicks onContextItemSelected oncontextitemselected
________ API is used to get the object of the notification
Designing UI
79 class to work with notifications getNotification() getNotificationManager()
_______ are the methods provided by the notification
Designing UI
80 class notify() cancel()
81 Designing UI
_______ is used to start an activy or a service or a
Intents
82 broadcast receiver Content ans) Intent
______ is a asynchronous message that is used to start an
Intents
83 activy or a service or a broadcast receiver ContentProvider Content
______ is a type of an intent where which component to
Intents invoke is determined by the Platform
84 ans) Implicit intent Explicit Intent
______ is a type of an intent where class name or the
Intents component name is specified by the code
85 Implicit intent ans) Explicit Intent
86 Intents An Intent is primarily made up of Action Data
_______ part of the intent is expressed in the form of a
Intents
87 URI Action ans) Data
_______ part of the intent is the additional metadata
about an intent - the kind of component that should
Intents
handle the intent
88 Action Data
______ type of intents are used to invoke components
Intents
89 within an application Implicit intent ans) Explicit Intent
______ type of intents are used to invoke components in
Intents
90 another application ans) Implicit intent Explicit Intent
If a android component doesn’t have a intent filter, it can
Intents
91 receive only _______ intents Implicit ans) Explicit
onOptionsSelected onoptionsselected

oncreatecontextmenu onCreateContext

registerforcontextmenu onregistercontextmenu

onContextSelected oncontextselected

ans) getSystemService() getNofificationService()

cancelAll() ans) All of the options

ContentProvider None of the options

ans) Intent None of the options

Simplicit Intent None of the options

Simplicit Intent None of the options


Category ans) All of the options

Category All of the options

ans) Category All of the options

Simplicit Intent None of the options

Simplicit Intent None of the options

Simplicit None of the options


A component with a intent filter can receive _________
Intents
92 intents A) Implicit B) Explicit
93 Intents Intent filters are setup in ________ file main.XML Strings.XML
Which component of android can be invoked throught
Intents
94 intents Activity Service
ans) Both option A & B None of the options
application.XML ans) AndroidManifest.XML

BroadCastReceiver ans) All of the options

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy