PRM391

Ace your homework & exams now with Quizwiz!

Special type of component that can contain other components is called: A. Custom component B. Container C. Layout D. Grid

B

The custom typeface of android is called....... a. Droid b. Norad c. Includes d. Tapas

B

The menu can be placed into alphabetic shortcut mode by calling...... a. Setup() b. setQwertyMode() c. setContent() d. setIndicator()

B

The plus(+) means in statement android:id="@+id/my_id"? a) Identify it as an id resource b) Create new id and add to resources c) XML parser should parse and exapnd id string d) Both a & b.

B

To create an emulator, you need an AVD. What does it stand for? | Android A. Android Virtual Display B. Android Virtual Device C. Active Virtual Device D. Application Virtual Display

B

To use an explicit intent, we need to know the ____ name of the activity/service. Select one: a. context b. class c. implicit d. explicit

B

Which of the following file describes the application being built and what components -activities, services, etc. -are being supplied by that application? a. Build.xml b. androidManifest.xml c. manifest.xml d. android.xml

B

Which of the following is NOT a life-cycle methods of an Activity? a. onCreate b. onInit c. onCompleteThaw d. onRestart

B

Which of the following is/are appropriate for saving the state of an Android application? a. Activity.onFreeze() b. Activity.onPause() c. Activity.onStop() d. Activity.onDestroy()

B

Which of the following state provider is bundled with ExtJS 4? A. JSONProvider B. CookieProvider C. BrowserProvider D. SessionProvider

B

Who made the first Nexus tablet? A. HTC B. ASUS C. Google D. Samsung

B

___ class exposes methods to manage a SQLite database. Select one: a. SQLiteBuilder b. SQLiteDatabase c. SQLiteHelper d. SQLiteQuery

B

hich of the following is NOT a client side proxy? A. LocalStorageProxy B. AjaxProxy C. SessionStorageProxy D. MemoryProxy

B

what is false with respect to onBind() a) is called when another component wants to bind with a service b) calling startService() results in a call to onBind() c) if you don't want to allow binding then return null d) if you want to allow binding then return Ibinder object

B

which compiler is used for compilation of android code? a. Mobile interpretive compiler b. Dex compiler c. AIC d. DIC

B

If you are creating an application that must check for new email messages every 30 minutes, which one of the following Alarm types would you most likely use? A. RTC. RTC_WAKEUP B. ELAPSED_REALTIME C. ELAPSED_REALTIME_WAKEUP D. All of Above

C

In Android, the___ method of ___ class to return the full path to external storage. Select one: a. getExternalStorage(), Context b. getExternalStorageDirectory(), File c. getExternalStorageDirectory(), Environment d. getExternalStorage(), System

C

How does Google check for malicious software in the Android Market? | Android A. Every new app is scanned by a virus scanner B. Users report malicious software to Google C. Google employees verify each new app D. A seperate company monitors the Android Market for Google

B

How many main approaches to build GUI of Android app? A. >=5 B. 2 C. 1 D. 3 E. 4

B

How many threads are there in AsyncTask in android? A. Only One B. Three C. AsyncTask doesn't have thread D. Two

B

How many type data integration in Sencha Touch? a.AJAX, JSON, YQL b.AJAX, JSONP, YQL c.AJAX, JSON, XML d.AJAX, JSONP, XML

B

If you are using tools that are not android-enabled, you can use the.......script,found in the tools/directory in your SDK installation a. Build.xml b. ActivityCreator.py c. Android.xml d. Manifest.xml

B

If you try to acces the column which does not exit, system throws a) NullPointerException b) illegalArgumentException c) ArrayIndexOutOfBoundsException d) SQLException

B

In which package classes that help for network access in android are available? a. Java.net b. Android.net c. Android.nfc d. Android.mtp

B

Intents do not name a target and the field for the component name is left blank A. Explicit Intents B. Implicit Intents

B

Is android available in ROM? a. Yes b. No

B

Is it possible to run java source code directly on android? a. Yes b. No

B

Sencha Touch is ... Select one: a. A "desktop-like" application across operating systems and browsers. b. An MVC JavaScript framework specially designed to create mobile web applications for touchscreen devices. c. An engine like WebKit browser engine. d. An mobile browser engine, such as Gecko, Presto, or Trident.

B

In Sencha Touch, profile is ... Select one: a. Class is implemented through the Ext.doc.Profile. b. Document will describe the data we are using. c. Object is contain display information for different types of devices. d. Sencha Touch documentation.

C

The Emulator is identical to running a real phone EXCEPT when emulating/simulating what? | Android A. Telephony B. Applications C. Sensors D. The emulator can emulate/simulate all aspects of a smart phone.

C

The......application is an email monitoring application a. Mail b. Buzz c. Mailbuzz d. Mailbox

C

There are size limitations in PhoneGap when creating a database? Select one: a. No, unlimited! b. Yes, 5 MB. c. It depends on the target platform. d. Yes, 8 MB.

C

This function should be implemented to safely initialize your application using the PhoneGap API after the app loads.? Select one: a. deviceReady() b. onLoad() c. onDeviceReady() d. ready()

C

This object is used to display native alert boxes and confirmation boxes as well as cause the device to beep or vibrate? Select one: a. alert b. inform c. notification d. communicate

C

Types of intent? A. Explicit Intent B. Implicit Intent C. all

C

Typically MIME type will be a. Html b. Text c. Text/html d. Doc

C

Using PhoneGap, how can you detect a change in the position of the device? Select one: a. Using a custom plugin. b. It's not possible at all. c. Using the PhoneGap API. d. Using a special-device plugin.

C

Using a content provider, which of the following operations are able to perform? 1) create 2) read 3)update 4) delete a. 1,2,3 b. 2,3,4 c. All of the above d. None of these

C

What do you mean by .dex? a. Dalvik expansion b. Dalvik extension c. Dalvik executables d. David expansion

C

What does the time often denote in Android product shots? Select one: a. The build number b. The release date c. The Android version number d. Nothing

C

What is Android? a. Desktop Operating System b. Distributed Database c. Mobile Operating System d. Programming Language

C

What is mean by ANR? a. Application not recognized b. Android not recognized c. Application not responding d. None of these

C

What is xtype? A. Type of layout B. Type of view C. Symbolic name of Ext components D. ExtJS data type

C

What was Android's first packed-in music store? A. Napster B. Google Music C. MP3.com D. Amazon MP3

C

What was the first Android version to have turn-by-turn GPS navigation? A. Froyo B. Gingerbread C. Eclair D. Ice Cream Sandwich

C

When you want system to run the service indefinitely, by restarting it when get killed, use a) START_NOT_STICKY b) START_REDELIVER_INTENT c) START_STICKY d) START_SERVICE_INDEFINITELY

C

Which is not a Android resource? a. xml b. menu c. image d. drawable

C

Which is the recommended Cordova-CLI command to run rippleto emulate your app on a specific target platform? Select one: a. emulate b. serve c. ripple d. root

C

Which is the root class of all class created with A. Ext.define B. Ext.class C. Ext.base D. Ext.super Ext

C

Which of the following Dialog boxes are supported by Android? 1)AlertDialog 2)ProgressDialog 3)DatePickerDialog 4)TimePickerDialog a. 1 and 2 b. 3 and 4 c. All of the above d. None of these

C

Which of the following are different storage methods available in android? 1) shared preferences 2) internal storage 3) external storage 4) sqlite databases 5) network connection 6) intermediate storage a. 1.2.3.4.6 b. 2,3,4,5,6 c. 1,2,3,4,5 d. All of above

C

Which of the following can you use to display an HTML web page in an Android application? a. WebBrowser b. BrowserView c. WebView d. Browser e. HtmlView

C

Which of the following encapsulates a client side cache of Model objects A. Proxy B. View C. Store D. Component

C

Which of the following exception(s) is/are supported by android? 1) InflateException 2)Surface.OutOfResourceException 3)SurfaceHolder.BadSurfaceTypeException 4)WindowManager.BadTokenException a. 1 and 2 b. 3 and 4 c. All of above d. None of these

C

Which of the following file explains what the application consists of? a. Strings XML b. R file c. Manifest d. Layout file

C

Which of the following is the immediate base class for Activity and Service classes? a. Application b. ApplicationContext c. Context d. Component e. Object

C

Which of the following is the parent class for the main application class in an Android application that has a user interface? a. MIDLet b. AndroidApp c. Activity d. AppLet e. Application

C

Which of the following should be used to save the unsaved data and release resources being used by an Android application? A. Activity.onStop() B. Activity.onPause() C. Activity.onDestroy() D .Activity.onShutdown() E.Activity.onFreeze()

C

Which of the following(s) is/are component of APK file? a. Resources b. Delvik Executable c. Both a and b d. None of above

C

Which of the following(s) is/are the nicknames of version(s) of android? 1)cupcake 2) muffin 3)honeycomb 4)gingerbread a. 1,2,3 b. 2,3,4 c. 1,3,4 d. 1,2,4

C

Who developed the Android 2.1 gallery? A. Google B. The Astonishing Tribe C. Cooliris D. ATAP

C

___ defined in the intent class that function as metadata for the intent. Select one: a. Category b. Data c. Flags d. Extras

C

What is contained within the manifest xml file? | Android A. The permissions the app requires B. The list of strings used in the app C. The source code D. All other choices

A

What is mean by localization? a. Representing the products in different languages b. Representing the products in different region c. Representing the people in different languages d. Representing the products in different languages with different attribute

A

What is not a service? Select one: a. Intercept the events from a user's interaction with your application b. Like an activity, it has lifecycle methods that you can implement to monitor changes in its state. c. It is a program that can run in the background for an indefinite period d. Service is another building block of android application it does not provide a UI

A

What is the driving force behind an Android application and that ultimately gets converted into a Dalvik executable? | Android A. Java source code. B. R-file. C. the emulator. D. the SDK

A

What is the life cycle of services in android? A - onCreate()−>onStartCommand()−>onDestory() B - onRecieve() C - final() D - Service life cycle is same as activity life cycle.

A

What is the name of Google's efforts to make Android run at 60FPS? A. Project Butter B. Project Roadrunner C. Project Speedy D. Project Swift

A

What is the time limit of broadcast receiver in android? A - 10 sec B - 15 sec C - 5 sec D - 1 hour

A

What method is used to send a broadcast event? Select one: a. sendBroadcast(intent); b. startBroadcast(intent); c. registerBroadcast(intent); d. sendBroadcastReceiver(intent);

A

What operating system is used as the base of the Android stack? | Android A. Linux B. Windows C. Java D. XML

A

What was the first Android version to ship with Google Now? A. 4.1 B. 3.0 C. 4.2 D. 4.3

A

When you distribute your application commercially,you'll want to sign it with your own key. | Android A. True B. False

A

Where did Andy Rubin work before founding Android Inc? A. Apple B. Microsoft C. Danger Inc. D. All Of Above

A

Which doctype is correct for HTML5? Select one: a. <!DOCTYPE html> b. <!DOCTYPE HTML5> c. <!DOCTYPE HTML5 PUBLIC "-//W3C//DTD HTML 5.0//EN" "http://www.w3.org/TR/html5/strict.dtd"> d. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 5.0//EN" "http://www.w3.org/TR/html5/strict.dtd">

A

Which method to use show image for Intent? Select one: a. setType("image/pictures/*"); b. setData("image/pictures/*"); c. setAction("image/pictures/*"); d. setImage("image/pictures/*");

A

Which of the following httpUrlConnection methods were used by the NetworkingURL application to interact with the earthquake data server? A. getInputStream(). close(). B. openConnection(). try(). C. Both A & B D. None of Above

A

Which of the following is responsible for dynamic dependency loading?: A. Ext.requires B. Ext.uses C. Ext.class D. Ext.loade

A

Which of the following scripts is used for building the application and installing it on the device? a. Build.xml b. androidManifest.xml c. manifest.xml d. android.xml

A

Which of the following services are provided by android operationg system? 1)lacation 2)sensor reading 3)wifi 4)cloud computing a. 1,2,3 and more b. 2,3,4 and more c. All of above and more d. None of these

A

Which of the following type(s) of notification is/are available in android? 1) Toast notification 2) status bar notification 3) Dialog notification 4) alert notificaiton a. 1,2,3 b. 2,3,4 c. 1,3,4 d. None of these

A

Which of the following(s) is/are the part of android native library? 1) webkit 2)opeGL 3)SQLite 4)openUX 5)Dalvik a. 1,2,3 b. 3,4,5 c. All of above d. None of these

A

For MIME Text/html document, encoding will be in..... a. UTF-8 b. ASCIEE c. EBCDIC d. BCD

A

How to kill an activity in Android? A - finish() B - finishActivity(int requestCode) C - A & B D - kill() E - None of the Above

C

'Screen has turned off' is an example a) Normal broadcast b) Ordered broadcast c) background operation d) None

A

.In ......., sender specifies type of receiver a. Implicit intent b. Explicit intent c. A and b d. None of these

A

A project is compiled into a single .apk file. Select one: A. True B. False

A

Android: What is value on component's attribute "layout_width" and "layout_height" to display the component big enou... A. wrap_content B. fill_parent C. match_parent D. None of above

A

Before its release, what device was known as the "Nexus Prime"? A. Galaxy Nexus B. Nexus S C. Nexus 10 D. Nexus 4

A

Can an application be started on power up? Select one: A. True B. False

A

Does Android support the Bluetooth serial port profile? Select one: A. True B. False

A

How can I check if an activity is already running before starting it? A. NEW_TASK_LAUNCH in the startActivity() method call. B. FLAG_ACTIVITY_NEW_TASK in the startActivity() method call. C. FLAG_ACTIVITY_SINGLE_TOP in the startActivity() method call. D. By using <category android:name="android.intent.category.LAUNCHER" /> this category attribute.

A

How do you enable GPU-accelerated rendering in a PhoneGap-based app? Select one: a. Using the CSS rule -webkit-transform: translate3d(0, 0, 0). b. It's not possible at all. c. Using the CSS rule -webkit-transform: translate3d( 0, 0, 0); but it works only on iOS. d. transform: translate3d(0, 0, 0); to make it working on all platforms.

A

How to commit a record modification? A. newRecord.commit(); B. Store.sync() C. None of Above

A

If fragment and activity is running and activity is destroyed, what is the effect on the fragment? a. Fragment is destroyed b. Fragment runs as it is c. Fragment goes in idle state d. None of these

A

In a PhoneGap app the deviceready event is fired when? Select one: a. After the load event. b. When the battery is fully charged. c. It's never fired. d. Before the load event.

A

In pause state a. Activiy not in focus, but visible on screen b. Activiy not in focus, not visible on screen c. Activiy is focus also visible on screen d. Activiy is focus not visible on screen

A

Intents designate the target component by its name and they are typically used for application-internal messages A. Explicit Intents B. Implicit Intents

A

Is TextView read-only by default? A. Yes B. No

A

Is the bluetooth serial port profile supported by android? a. Yes b. No

A

Name the permissions you need to declare in your AndroidManifest.xml file for sending and receiving SMS message A. The two permissions are SEND_PERMISSION and RECEIVE_PERMISSION B. The two permissions are SEN_MESSAGE and RECEIVE_MESSAGE C. The two permissions are SEND_SMS and RECEIVE_SMS D. The two permissions are SEND and RECEIVE

A

Object in Android holds the contents of a message that is sent between modules a. Intent b. Content Provider c. Activity d. Service

A

Should always first check availability of audio effects by calling the following method on the corresponding audio effect class. a) ischeckable() b) isavailable() c) isvaluable () d) iscaview()

A

The Android SDK ships with an emulator. | Android A. True B. False

A

The Dalvik Debug Monitor Service (DDMS) is a key debugging utility that is integrated into the Eclipse, the favoured development environment for Android apps. Select one: A. True B. False

A

The R file is a(an) generated file | Android A. Automatically B. Manually C. Emulated D. None of the above

A

The View hierarchy has to be updated in the ______ A. application's UI Thread B. application C. UI Thread D. None of Above

A

The emulated device for android. | Android A. Runs the same code base as the actual device, all the way down to the machine layer. B. Is more of a simulator, and acts as a virtual machine for the Android device. C. Runs the same code base as the actual device, however at a higher level. D. An imaginary machine built on the hopes and dreams of baby elephants.

A

The methods startForeground() and stopForeground() were introduced in which API level. a) 2.0 b) 3.0 C) 1.5 d) 2.2

A

The notificationManager is a........... a. System service b. User service c. Interactive service d. None of these

A

Threads running in the same process share dynamically-allocated memory. A. TRUE B. FALSE

A

Three main approaches to build GUI Android app are Java-base, XML-base and .....? A. Hybrid B. JSON-base C. Eclipse D. HTML5-base

A

To insert data into a content provider, you need to use..... 1)insert() 2)bulkInsert() 3) getContentProvider() 4) update() a. 1 and 2 b. 3 and 4 c. All of the above d. None of these

A

To update contents of content provider using curser and commit you need to call.... a. commitUpdates() b. update() c. commit() d. none of these

A

What are the Direct subclasses of Activity? A. ListActivity B. ActivityGroup C. FragmentActivity D. All of the above

A

What are the inputs to the onReceive() method of a broadcast receiver? Select one: a. Context, Intent b. Activity, Intent c. Context, Bundle d. Context, Activity

A

What are the key components of Android Architecture? a. Linux Kernel, Libraries, Android Framework, Android Applications. b. Symbian Kernel, Libraries, Android Framework, Android Applications. c. iOS Kernel, Libraries, Android Framework, Android Applications. d. Windows Kernel, Libraries, Android Framework, Android Applications.

A

What company built the first Nexus device? A. HTC B. Google C. Motorola D. Foxconn

A

What is "Android-activityCreator"? a. A command line tool to create Android project files. b. A framework to create unit tests for Android projects. c. A resource editor to create user interface for Android applications. d. A tool to generate Android byte code from .class files. e. An emulator to execute and debug Android projects.

A

What is an Activity? Select one: a. A single screen in an application, with supporting Java code. b. A multiple screen in an application, with supporting Java code. c. A single screen in an application, with supporting C++ code. d. A multiple screen in an application, with supporting C++ code.

A

What is android view group? A. Layouts B. Base class of building blocks C. FragmentActivity D. Collection of views and other child views

A

Which statement is NOT correct about PhoneGap? Select one: a. It is close source framework to build mobile application b. It is open source framework to build mobile application c. It is an web-based mobile development framework d. It allows you to use standard web technologies such as HTML5, CSS3, and JavaScript for cross-platform development

A

Working with event in Sencha Touch, which the following statement is false? Select one: a. Sencha Touch allows arbitrary definition of the parameters required in every one of the events exposed by the framework. b. The event triggers the execution of the corresponding function, which takes a certain number of parameters. c. To attach functions as event handlers, the only thing that is required is to specify a listeners configuration element to your user interface object. d. Sencha Touch allows developers to centralize business logic and event handlers in controller classes, inheriting from Ext.app.Controller.

A

what is mean by AAPT a. Android asset packaging tool b. Application asset packaging tool c. Android application packaging tool d. None of these

A

Which of the following are true? a. startActivity and startActivityForResult can both be used to start a new activity from your activity class. b. Only startActivityForResult can be used to launch a new activity from your activity class. c. startActivity(myIntent); and startActivityForResult(myIntent, -1); have the same result. d. startActivity(myIntent); and startActivityForResult(myIntent, 0); have the same result. e. When startActivity is used to launch a new activity from your activity class then your activity class gets notified when the new activity is completed. f. When startActivityForResult is used to launch a new activity from your activity class then your activity class gets notified when the new activity is completed.

A,C

How to instantiate a Spinnner control? A. Via XML layout B. Via code C. All of above D. None of above

C

........makes appropriate list of application data for the other applications a. Service provider b. Content provider c. Application provider d. Resource

B

An activity can be thought of as corresponding to what? | Android A. A Java project B. A Java class C. A method call D. An object field

B

Android Applications must be signed. | Android A. After they are installed B. Before they are installed C. Never D. Within two weeks of installation

B

Android application can only be programmed in Java? Select one: A. True B. False

B

Android uses: Select one: a. Java Virtual Machine. b. Dalvik Virtual Machine. c. Windows Virtual Machine. d. Oracle Virtual Machine.

B

Applications that require filtering based on screen size can use the attributes. a) <supportmultiple-screens> b) <supports-screens> c) <supportall-screens d) supportevery-screen

B

Before Google and Nestle teamed up to call Android 4.4 "KitKat," what was it referred to as internally? Select one: a. Kandy Korn b. Key Lime Pie c. Kaiser roll d. Kiwi

B

Does android make assumption about device screen size, resolution or chipset? a. Yes b. No

B

Does android support AWT and Swing? a. Yes b. No

B

Explain how to hide the column in grid panel? A. hide() B. hidden: true C. visible:false D. display:none

B

For building android application we need a. JDK b. SDK c. ADK d. MDK

B

How Sencha Touch app can handle multiple screen resolution? Select one: a. Using XTemplate b. Using profile c. Automatic d. Detect by code

B

What are intent filters? Select one: a. Intents filter are a separate league of components that expose a specific sets of data to applications b. Intents filter are used to register activity, services, broadcast receiver as being capable of performing an action on a particular kind of actions c. All of these d. Intents filter are programs that can run in the background for an indefinite period

B

What are the four essential states of an activity? Select one: a. Active, Paused, Closed, Destroyed b. Active, Paused, Stopped, Destroyed c. Active, Paused, Slept, Destroyed d. Active, Slept, Stopped, Destroyed

B

What class do you have to inherit from to be a broadcast receiver? Select one: a. Broadcast b. BroadcastReceiver c. AbstractBroadcast d. Broadcaster

B

What constant value is returned from onStartCommand() method or services that indicates the services being that should only remain running while processing any commands sent to them? Select one: a. START_CONTINUATION_MASK b. START_REDELIVER_INTENT c. START_STICKY d. START_FLAG_RETRY

B

What do you mean AIDL? a. Android interface data language b. Android interface definition language c. Application interface data language d. Application interface definition language

B

What do you mean by BLOB? a. Bytes less object b. Binary large objects c. Binary low object d. Bit low object

B

What is APK? a. Application package kit b. Application package file c. Android package kit d. Android package file

B

What is Content Provider? Select one: a. Content Providers are a separate league of components that expose a specific sets of data to applications b. All of these c. Content Providers store and retrieve data thus making it accessible to all d. Content Providers are the only way to share data across Android applications

B

What is Toast class? A. The Toast class is used to display notifications on the device's status bar B. The Toast class is used to display notifications on the device's status bar and disappears after a few seconds C. The Toast class is used to display alerts to the user and disappears when user click on OK button D. The Toast class is used to display alerts to the user and disappears after a few seconds

B

What is a Fragment? Select one: a. A fragment is a part or portion of an activity b. All of these c. A fragment is modular in a sense that you can move around or combine with other fragments in a single activity d. Fragments are also reusable

B

What is a funny fact about the start of Android? | Android A. It was orginaly going to be called UFO B. The first version of Android was released without an actual phone on the market C. Androids main purpose was to unlock your car door when you left the keys inside of it. D. Was going to be a closed source application to make more money for its company.

B

What is not Components of a Screen? Select one: a. Fragment b. Activity c. Layout d. View

B

What is prefered method for creating class object? A. new className() B. Ext.create('className') C. className.create() D. Ext.define('className')

B

What is the "brand" of the clock widget in Android 1.0? A. MIMO B. Malmo C. Clock D. Google Clock

B

What movie inspired the design of Honeycomb? A. Star Trek B. Tron C. The Matrix D. Minority Report

B

What part of the Android platform is open source? | Android A. low-level Linux modules B. all of these answers C. native libraries D. application framework E. complete applications

B

What version of Android never came to phones? Select one: a. Froyo b. Honeycomb c. Gingerbread d. Eclair

B

What was the first version to be updated with multitouch gestures like pinch zoom? A. 4.0 B. 2.1 C. 2.3 D. 2.0

B

What year was Android founded? A. 2005 B. 2003 C. 2001 D. 2008

B

What year was the first Google I/O held? A. 1998 B. 2008 C. 2005 D. 2003

B

What's the acronym for Android's future (post-Dalvik) runtime? A. Droid Run B. ART C. AR D. DART

B

Which are the states in service life cycle? 1)starting 2)paused 3)running 4) destroyed 5)wait 6)yield a. 1,2,3,5 b. 1,3,4 c. 2,5,6 d. None of these

B

Which chat protocol that Android 1.0 didn't support? Select one: a. Yahoo! Messenger b. Paltalk c. Windows Live Messenger d. Google Talk

B

Which class contains constant in MTP and PTP specification a. MtpStorageInfo b. MtpConstants c. MtpDevide d. MtpObjectInfo

B

Which company bought android? a. Android inc. b. Google c. Nokia d. Apple

B

Which company developed Android? Select one: a. Google b. Android inc. c. Nokia d. Apple

B

Which of the following are true about enabling/disabling menu items from an Activity class? a. onCreateOptionsMenu can be used to enable/disable some menu items in an Android application. b. onPrepareOptionsMenu can be used to enable/disable some menu items in an Android application. c. onShowOptionsMenu can be used to enable/disable some menu items in an Android application. d. The menu items in an Android application cannot be disabled.

B

Which of the following are true about the XML fragment above? a. It is taken from the manifest xml file of the Android project. b. It is taken from an XML file used to define a view. c. It is taken from the package file (.apk) of the Android project. d. The xmlns: attribute is a compulsory attribute. e. If this is not the outer most tag in the XML file then it need not contain the xmlns: attribute. f. MyElement should be the name of a class derived, directly or indirectly, from the View class.

B

Which of the following elements is no longer supported in HTML5? Select one: a. <q> b. <font> c. <ins> d. <menu>

B

A single screen, the user sees on the device at one time, is known as......... a. Service b. Gui c. Activity d. Application

C

Android doesn't support which format a. MP4 b. MPEG c. AVI d. MIDI 5

C

Consider the following snippet of code: @Override protected void onStop { Super.onStop(); SharedPreferences setting = getSharedPreferences("MyPrefs", 0); SharedPreferences.Editor editor = settings.edit(); editor.putBoolean("MyBool", true); {some more code here} } Which of the following should be used at {some more code here}? a. editor.save(); editor.close(); b. editor.save(); editor.finish(); c. editor.commit(); d. editor.save(); e. editor.close(); f. editor.finish();

C

ExpandableListView is used for a. Simplified tree representation b. Tree generation c. Tree creation d. Tree deletion

C

For ........., code used by android is not a open source a. Device driver b. Video driver c. Wifi driver d. Bluetooth driver

C

How do you handle retina displays in PhoneGap? Select one: a. None of the others. b. It's not possible at all. c. Using CSS sprites and creating a 2x image file. d. With the cordova-cli utility.

C

How do you obtain messages from handler? A. Handler.obtainMsg(), Msg.obtain() B. Handler.getMessage(), Message.get() C.Handler.obtainMessage(), Message.obtain() D. None of Above

C

How to call an AJAX request in Sencha Touch? A. Use Ext.Ajax() B. Use Ext.Ajax.Call() C. Use Ext.Ajax.request() D. None of above

C

How to define a new Sencha Touch class? A. Using Ext.create() B. Using Ext.class() C. Using Ext.define() D. User Ext.application()

C

How to get the form data in Sencha Touch? Select one: a. x-type.("control id").getValues(); b. x-type.getValues(); c. getFormInstance().getValues(); d. getFormInstance("control id").getValues();

C

"assets/" holds a. Resources b. Java source code c. Application d. Static files

D

Activity results handled by the onActivityResult() method are differentiated from one another using which parameter? Select one: a. Result code b. Data c. Request code and result code d. Request code

D

Android supports which features a. Multitasking b. Bluetooth c. Video calling d. All of the above

D

Android system uses intents to a) broadcast system intents b) broadcast custom intents c) To invoke other applications from your application. d) All of the above.

D

Android:layout_alignParentTop property takes a simple........value a. Integer b. Character c. Float d. Boolean

D

Fragment in Android can be found through A - findByID() B - findFragmentByID() C - getContext.findFragmentByID() D - FragmentManager.findFragmentByID()

D

Graphics defined by SVG is in which format? Select one: a. CSS b. HTML c. JSON d. XML

D

How do you declare 4 components (Activity, Service, BroadcastReceiver, ContentProvider) of android in mainfestfile? Select one: a. <activity>, <service>, <receiver>, <content> b. <activity>, <service>, <broadcastreceiver>, <contentprovider> c. <activity>, <service>, <broadcast>, <provider> d. <activity>, <service>, <receiver>, <provider>

D

How is a simulator different from an emulator? | Android A. Emulators are only used to play old SNES games, simulators are used for software development B. The emulator is shipped with the Android SDK and third party simulators are not C. The emulator can virtualize sensors and other hardware features, while the simulator cannot D. The emulator imitates the machine executing the binary code, rather than simulating the behavior of the code at a higher level.

D

If the user leaves a task for long time Select one: a. System clears an activity and retain state of all other activities b. System is independent of activities c. System will retain the tasks state until closed explicitly d. System will clear task of activities except root activity

D

In Android, which class is used to makes http connection A. Connection B. TCPClient C. HttpConnection D. HttpURLConnection

D

Maximum results returned by getFromLocationName() method can be a) 2 b) 3 c) 4 d) 5

D

This object is used to determine the type of network accessible to the app end-user? Select one: a. network b. net c. PhoneGap cannot determine the type of connection used d. connection

D

Using PhoneGap, how can you avoid performance issues when working with LocaleStorage? Select one: a. It's not possible at all. b. Using a custom JSON serializer. c. Storing any application data. d. Using a WebWorker to handle the data writing and reading operations.

D

Using Sencha Touch, which the following animation that you can't given the choice of? Select one: a. slide b. fade c. cube d. fly e.flip f.pop j.wipe

D

What does AOSP stand for? Select one: a. Android Open Source Project b. Android Open System Plan c. Android Open Stack Programming d. Android Operating System Project

D

What is "Android-dx"? a. A command line tool to create Android project files. b. A framework to create unit tests for Android projects. c. A resource editor to create user interface for Android applications. d. A tool to generate Android byte code from .class files. e. An emulator to execute and debug Android projects.

D

What is a type of notification that is not supported in android? Select one: a. Dialog notification b. Toast notification c. Status bar notification d. Permission notification

D

What is base of all Sencha Touch component? Select one: a. Ext.SenchaBase b. Ext.SenchaTouchBase c. Ext.Base d. Ext.Component

D

What is broadcast receiver? Select one: a. Intercept the events from a user's interaction with your application b. The interactive components in your app's user interface c. Represents a behavior or a portion of user interface in an activity d. A component that does thing but receive and react to broadcast announcements

D

What is fundamental building blocks / components of Android ? Select one: a. Activities, Services, Broadcast Readers, Content Providers b. Activities, Services, Broadcast Writers, Content Providers c. Activities, Services, Broadcast Senders, Content Providers d. Activities, Services, Broadcast Receivers, Content Providers

D

What is not true about the Android application lifecycle A. Each application runs in its own process B. Processes are started and stopped as needed to run apps components C. Processes may be killed to reclaim needed resources D. Each activity of an application runs in it own process

D

What is the difference between the Camera and Capture APIs? Select one: a. The Camera API is accepted. b. The Camera API is deprecated. c. The Capture API works only with PhoneGap 3.x. d. The Camera API can capture one media per time while the Capture can capture more than one.

D

What is the main advantage of using the module pattern in JavaScript? Select one: a. Encapsulation. b. Code executes faster. c. Manipulation. d. Hide unneeded complexities.

D

What version of Android is codenamed "Jelly Bean"? A. Android 4.1 B. Android 4.2 C. Android 4.3 D. All Of Above

D

Which of the following components are state aware components? A. Grid B. Panel C. Window D. All of the above

D

Which one is not a nickname of a version of Andriod? | Android A. cupcake B. Gingerbread C. Honeycomb D. Muffin

D

Which the following is Sencha Touch application architecture? Select one: a. Client - Server b. MVP c. MVVM d. MVC

D

refs in a controller represents _____.: A. List of events handler B. Reference to the store C. Reference to other controller D. Reference to the UI components

D

What are the functionalities in asyncTask in android? A - onPreExecution() B - doInBackground() C - onProgressUpdate() D - onPostExecution() E - onPostExecution()

E

What chat protocols did Android 1.0 support? A. AIM B. Google Talk C. Windows Live D. Yahoo Messenger E. All Of Above

E

Which of the following can be used to handle commands from menu items in an Android application? a. commandAction b. onMenuItem c. onMenuItemSelected d. onMenuItemClicked e. onOptionsItemSelected

E

Which of the following would you have to include in your project to use the APIs and classes required to access the camera on the mobile device? a. import android.drivers; b. import android.hardware.camera; c. import android.camera; d. import android.util; e. import android.hardware;

E

what is fundamental building blocks / components of Android ? a. Activities b. Services c. Broadcast Receivers d. Content Providers. e. all

E

Which of the following can you use to display a progress bar in an Android application? a. ProgressBar b. ProgressDialog c. ProgressItem

a,b

How many way to share data across Android applications? Select one: a. Does not share data across Android applications b. Only one way to access data via Content Provider c. 3, Shared Preferences - File - SQLite d. 2, Local data and Network data

b

Which of the following are UI elements that you can use in a window in an Android application? a. TextBox b. TextView c. TextField d. TextElement e. EditText f. RichText

b, e


Related study sets

2nd Amendment and the Supreme Court

View Set

Chapter 7 Skin Pre Test Corrections-Victoria KettlesThe layer of the skin commonly called the true skin is the:

View Set

Sociology Chapters 22, 14, 17, 20 Quiz Answers

View Set

Chapter 13: The Organization of International Business

View Set

Business 100 Final Exam Study Guide

View Set