Shipping-130

Pataasin ang iyong marka sa homework at exams ngayon gamit ang Quizwiz!

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. Java source code.

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. NEW_TASK_LAUNCH in the startActivity() method call.

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. Runs the same code base as the actual device, all the way down to the machine layer.

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

A. True

The manifest explains what the application consists of and glues everything together. | Android A. True B. False

A. True

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. Before they are installed

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. Users report malicious software to Google

What part of the Android platform is open source? | Android A. low-level Linux modules B. all of these answers #The entire stack is an open source platform C. native libraries D. application frame work E. complete applications

B. all of these answers #The entire stack is an open source platform

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. Sensors

While developing Android applications, developers can test their apps on... A. Emulator included in Android SDK B. Physical Android phone C. Third-party Emulators (Youwave, etc.) D. All three options will work.

D. All three options will work.

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. The emulator imitates the machine executing the binary code, rather than simulating the behavior of the code at a higher level.

Which of these are not one of the three main components of the APK? | Android A. Dalvik Executable B. Resources C. Native Libraries D. Webkit

D. Webkit

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

a) 2.0

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

a) Normal broadcast

124. 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) ischeckable()

What are the dialog boxes that are supported in android? a. 4 b. 5 c. 3 d. 6

a. 4

How many of the following are correct with respect to activity? a. Activity is visual user inteface b. Activity is a simple screen c. Activity is a service d. Activity is associated with views and view groups

a. Activity is visual user inteface

Which statement is true? a. All XML elements must have a closing tag b. All XML elements must be lower case c. All XML documents must have a DTD d. All the statements are true

a. All XML elements must have a closing tag

What are broadcast receivers? a. Annountsments b. They don‟t display a user interface c. It is service d. None of the above XML test

a. Annountsments

162. What is widget? a. It is a view object b. It is a view c. It is a view group d. None of the above

a. It is a view object

what are the parsers are supported in XML? a. Non validating and validating b. Well documented c. Well formed d. None of the above

a. Non validating and validating

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

a. Request code

In XML, what is identified by a URI reference? a. XML namespace b. XSLT c. Schema d. DLT

a. XML namespace

The need of using a DTD in developing XML document is a. required when validating XML documents b. no longer necessary after the XML editor has been customized c. used to direct conversion using an XSLT processor d. a good guide to populating a templates to be filled in when generating an XML document automatically

a. required when validating XML documents

125. 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) <supports-screens>

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) calling startService() results in a call to onBind()

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

b) illegalArgumentException

DVM executes which format files? a. .exe b. .dex c. .class d. .java

b. .dex

Basic application components for android? a. 6 b. 4 c. 5 d. 2

b. 4

Choose correct one? a. Android is closed System b. Android is open System c. Android is close and open System d. None

b. Android is open System

What does DTD stand for? a. Direct type definition b. Document type definition c. Dynamic tool description d. Dynamic type definition

b. Document type definition

......was designed to display data, with focus on how data looks a. XML b. HTML c. XHTML d. DTD

b. HTML

What is correct with respect to service? a. It‟s an user interface runs in background b. It‟s not an user interface runs in background c. It‟s an user interface runs in foreground d. It‟s not an user interface runs in foreground

b. It‟s not an user interface runs in background

Which one is correct with respect to broadcast Recievers? a. It‟s used to display user interface b. It‟s not display user interface c. It‟s run in background only d. None of the above

b. It‟s not display user interface

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

b. System will clear task of activities except root activity

What content provider do? a. Used to call the activity b. Used to share data between applications c. Used to call strings.xml and style.xml d. Used to call manifest.xml file

b. Used to share data between applications

Comments in XML document is given by a. <?-- -- > b. <!-- -- !> c. <!-- -- > d. </-- -- >

c. <!-- -- >

What is ADT? a. Android Document Tools b. Android Dynamic Tools c. Android Development Tools d. Android Direct Tools

c. Android Development Tools

Which of the following are correct with respect to android run time engine? a. Android uses JVM as run time engine b. JVM executes.dx files c. Android uses Dalvik as run time engine d. Dalvik VM executs .dx files

c. Android uses Dalvik as run time engine

What is AVD? a. Android visual device b. Android visual design c. Android virtual device d. Android virtual design

c. Android virtual device

What intent do? a. Call the xml files b. Call the manifest.xml file c. Call the activities d. All of the above

c. Call the activities

What is the correct answer with respect to Manifest.xml file? a. Declare strings and activities b. Declare styles.xml and colors.xml c. Declare launcher class d. Declare layouts used in application

c. Declare launcher class

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

d) 5

How many layout types are there? a. 2 b. 3 c. 4 d. 5

d. 5

Intent Filter having which tags? a. Action b. Category c. Data d. All of the above

d. All of the above

What is true with respect of Manifest.xml file? a. It is main configuration file b. One application having one manifest.xml file c. Applications declare their components in manifest.xml file d. All of the above

d. All of the above

What is Activity? a. It‟s only screen b. It‟s visual user interface c. It‟s a component d. B and c

d. B and c

In android the user interface is built using? a. View b. View group objects c. Only b d. Both a and b

d. Both a and b

How to describe XML data? a. XML uses a DTD to describe the data b. XML uses XSL to describe data c. XML uses a description node to describe data d. Both a and c

d. Both a and c

154. One application having how many Broadcast Recievers? a. 1 b. 2 c. 3 d. Unlimited

d. Unlimited

What can be used to transform XML into HTML? a. XLT b. DTD c. DOM d. XSLT

d. XSLT

Intent is used for a. Switching between providers b. Switching between activities c. Refreshing same activity/service d. Switching between services e. Both b and d

e. Both b and d

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. A Java class

XML tags are case sensitive a. True b. False

a. True

DVM is which based VM? a. Stack based virtual machine b. Register based virtual machine c. Both a and b d. Queue based virtual machine

b. Register based virtual machine

What are the predefined attributes a. Xml:lang b. Xml:space c. Both a and b d. None of the above

c. Both a and b

XML document can be viewed in a. IE 3.0 b. IE 2.0 c. IE6.0 d. IE X.0

c. IE6.0

How many of the following are correct with respect to Frame layout? a. Frame layout is not a view group b. Frame layout cannot be added to a linear layout c. Linear layout can be added as view group to frame layout d. Frame layout cannot be added to horizontal layout

c. Linear layout can be added as view group to frame layout

Android uses what Virtual Machine? a. JVM b. JVDM c. JDM d. DVM

d. DVM

What is DVM? a. Dynamic java Virtual Machine b. Dynamic Virtual Machine c. Dalvik java Virtual Machine d. Dalvik Virtual Machine

d. Dalvik Virtual Machine

Find wrong one with respect of Manifest.xml file? a. Declare user permissions b. Declare minumum API level c. Declare hardware and software features d. Declare content providers, activities, views and view groups

d. Declare content providers, activities, views and view groups

Which of the following strings is a correct XML name? a. _myElement b. myElement c. #myElement d. None of the above

d. None of the above

XML uses the features of a. HTML b. XHTML c. VML d. SGML

d. SGML


Kaugnay na mga set ng pag-aaral

Insurance adjuster exam questions Test bank

View Set

Baustofftechnologie - Bitumen und Asphalt

View Set

Med Surg 1: Care of Patients with Multi-Drug Resistant Organisms

View Set

Biology Chapter 11- musculoskeletal system

View Set

8.4.5 Server Pro Practice Questions

View Set

EMT Chapter 21-Anaphylactic Reactions

View Set

Lesson 3 - Transformer Connections (2023)

View Set