26
TNG HP CÂU HI ÔN TP ANDROID(182 câu) Thc hin: Ngc Blue Tham kho: 1. http://www.careerride.com/test.aspx?type=Android-2 2.http://withoutbook.com/OnlineTestStart.php?quizId=82&quiz=Android%20Onlin e%20Practice%20Test%20%7C%20Online%20Exam 3. http://www.careerride.com/test.aspx?type=XML 4. http://www.wiziq.com/online-tests/29468-android-online-test 1. Android supports which features a. Multitasking b. Bluetooth c. Video calling d. All of the above 2. Is android available in ROM? a. Yes b. No 3. Which company bought android? a. Apple b. No company c. Nokia d. Googe 4. Android doesn‟t support which format a. MP4 b. MPEG c. AVI d. MIDI 5. Which company developed android? a. Apple b. Google c. Android Inc

Tổng hợp câu hỏi ôn tập android có đáp án

  • Upload
    bsb2209

  • View
    317

  • Download
    5

Embed Size (px)

Citation preview

Page 1: Tổng hợp câu hỏi ôn tập android có đáp án

TỔNG HỢP CÂU HỎI ÔN TẬP ANDROID(182 câu)

Thực hiện: Ngọc Blue

Tham khảo:

1. http://www.careerride.com/test.aspx?type=Android-2

2.http://withoutbook.com/OnlineTestStart.php?quizId=82&quiz=Android%20Onlin

e%20Practice%20Test%20%7C%20Online%20Exam

3. http://www.careerride.com/test.aspx?type=XML

4. http://www.wiziq.com/online-tests/29468-android-online-test

1. Android supports which features

a. Multitasking

b. Bluetooth

c. Video calling

d. All of the above

2. Is android available in ROM?

a. Yes

b. No

3. Which company bought android?

a. Apple

b. No company

c. Nokia

d. Googe

4. Android doesn‟t support which format

a. MP4

b. MPEG

c. AVI

d. MIDI

5. Which company developed android?

a. Apple

b. Google

c. Android Inc

Page 2: Tổng hợp câu hỏi ôn tập android có đáp án

d. Nokia

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

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

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

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

10. Which of the following file explains what the application consists of?

a. Strings XML

b. R file

c. Manifest

d. Layout file

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

12. Typically MIME type will be

Page 3: Tổng hợp câu hỏi ôn tập android có đáp án

a. Html

b. Text

c. Text/html

d. Doc

13. ExpandableListView is used for

a. Simplified tree representation

b. Tree generation

c. Tree creation

d. Tree deletion

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

15. The……application is an email monitoring application

a. Mail

b. Buzz

c. Mailbuzz

d. Mailbox

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

17. What is APK?

a. Application package kit

b. Application package file

c. Android package kit

d. Android package file

18. What do you mean by BLOB?

a. Bytes less object

b. Binary large objects

c. Binary low object

d. Bit low object

19. The custom typeface of android is called…….

a. Droid

Page 4: Tổng hợp câu hỏi ôn tập android có đáp án

b. Norad

c. Includes

d. Tapas

20. The menu can be placed into alphabetic shortcut mode by calling……

a. Setup()

b. setQwertyMode()

c. setContent()

d. setIndicator()

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

22. A single screen, the user sees on the device at one time, is known as………

a. Service

b. Gui

c. Activity

d. Application

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

24. Is the bluetooth serial port profile supported by android?

a. Yes

b. No

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

26. Does android support AWT and Swing?

a. Yes

b. No

Page 5: Tổng hợp câu hỏi ôn tập android có đáp án

27. The notificationManager is a………..

a. System service

b. User service

c. Interactive service

d. None of these

28. To update contents of content provider using curser and commit you need to

call….

a. commitUpdates()

b. update()

c. commit()

d. none of these

29. what is mean by AAPT

a. Android asset packaging tool

b. Application asset packaging tool

c. Android application packaging tool

d. None of these

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

31. Is it possible to run java source code directly on android?

a. Yes

b. No

32. Android:layout_alignParentTop property takes a simple……..value

a. Integer

b. Character

c. Float

d. Boolean

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

Page 6: Tổng hợp câu hỏi ôn tập android có đáp án

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

35. “assets/” holds

a. Resources

b. Java source code

c. Application

d. Static files

36. Which class contains constant in MTP and PTP specification

a. MtpStorageInfo

b. MtpConstants

c. MtpDevide

d. MtpObjectInfo

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

38. For building android application we need

a. JDK

b. SDK

c. ADK

d. MDK

39. Does android make assumption about device screen size, resolution or chipset?

a. Yes

b. No

40. For ………, code used by android is not a open source

a. Device driver

b. Video driver

c. Wifi driver

d. Bluetooth driver

41. For MIME Text/html document, encoding will be in…..

Page 7: Tổng hợp câu hỏi ôn tập android có đáp án

a. UTF-8

b. ASCIEE

c. EBCDIC

d. BCD

42. What is mean by ANR?

a. Application not recognized

b. Android not recognized

c. Application not responding

d. None of these

43. In ……., sender specifies type of receiver

a. Implicit intent

b. Explicit intent

c. A and b

d. None of these

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

45. What do you mean by .dex?

a. Dalvik expansion

b. Dalvik extension

c. Dalvik executables

d. David expansion

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

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

Page 8: Tổng hợp câu hỏi ôn tập android có đáp án

48. which compiler is used for compilation of android code?

a. Mobile interpretive compiler

b. Dex compiler

c. AIC

d. DIC

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

50. ……..makes appropriate list of application data for the other applications

a. Service provider

b. Content provider

c. Application provider

d. Resource

51. Which is the base class for all android classes?

a. Object

b. Class

c. Android

d. None of these

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

53. What is meant by SIP?

a. Session initiation protocol

b. Session information protocol

c. Server information protocol

d. Server initiation protocol

54. Dex compiler compiles and converts source code into a byte code called………

a. Delvik byte code

b. Java byte code

c. Android byte code

d. None of these

55. For receiving an instance of menu, we have to use

Page 9: Tổng hợp câu hỏi ôn tập android có đáp án

a. setup()

b. setIndicator()

c. onCreate()

d. onCreateOptionsMenu()

56. which of the following methods do we use to get the root of the tree?

a. findViewById()

b. getParentOfType()

c. getRootView()

d. getParent()

57. AVD stands for

a. Android Virtual Device

b. Application virtual device

c. Android video device

d. None

58. Is it possible to write android code using c/c++?

a. Yes

b. No

59. Which of the following resources can you use directly from available resources?

a. Style

b. Styleable

c. String

d. Raw

60. ……..Database is automatically supplied to you by android

a. Apache

b. Oracle

c. SQLite

d. MySql

61. For Date/Time manipulation which package is used in android?

a. View

b. Test

c. Util

d. Text

62. For creationg user interface in android, you have to use

a. Eclipse

b. Java and XML

c. Java and SQL

d. Java and PI/sql

Page 10: Tổng hợp câu hỏi ôn tập android có đáp án

63. Which of the following data type(s) are supported by AIDL? 1)string 2)list 3)map

4) all native java datatype

a. 1,2,3

b. 4

c. All of above

d. None of these

64. IPC stands for

a. Inter process communication

b. Intra process communication

c. Inter process control

d. Intra process control

65. Android uses both the content, …….and the …….type as ways to identify content

on the device

a. Uri, MIME

b. MIME,HTTP

c. Uri,HTTP

d. Uri,FTP

66. ADB stands for

a. Android debug bridge

b. Application debug bridge

c. Android data bridge

d. Application data bridge

67. „values‟ subfolder has…….which defines constant value

a. XML file

b. Image file

c. Doc file

d. None of these

68. Which of the following tools are used by developer to test the application?

1)physical android phone 2)SDK 3)third party emulator 4) JDK 5) winrunner

a. 1,2,3

b. 3,4,5

c. All of the above

d. None of these

69. ………is a means of interactiong with activities or other android components

a. IPB

b. IPC

c. PCB

Page 11: Tổng hợp câu hỏi ôn tập android có đáp án

d. PCI

70. Which package do we need to use for writing android test cases?

a. Text

b. Test

c. Widget

d. Security

71. Which of the following source code does the android application uses and converts

it into a Delvik executable?

a. The SDK

b. The JDK

c. Java source code

d. .NET source code

72. Android provides a few standard themes, listed in……

a. R.style

b. X.style

c. Menifeest.XML

d. Application

73. Browsers that are available for android are based on……..

a. Google crome

b. Firefox

c. Open source webkit

d. IE

74. Why JVM was replaced by DVM when android development started?

a. JVM is slow

b. JVM is complicated to configure

c. JVM was not free

d. None of these

75. ………field provides automatic spelling assistance

a. Android:autoText

b. Android:capitalize

c. Android:digits

d. Android:singleLine

76. APK package contains……..files

a. .dex

b. .XML

c. .DOC

d. .XLS

Page 12: Tổng hợp câu hỏi ôn tập android có đáp án

77. If you provide a………, your choise identifier( second parameter) can be 0

a. Runnable

b. Tapas

c. Includes

d. Droide

78. Which exception is thrown when a given package, application, or component

name can not be found?

a. PackageManager.NameNotFoundException

b. Resources.NotFoundException

c. ParseException

d. FormatException

79. For writing android code using c/c++, you need to use……

a. SDK

b. JDK

c. NDK

d. MDK

80. At the time of making the network call user interface is sluggish or gets crash due

to……………

a. Hardware problem

b. Virus

c. Network latency

d. Too much load

81. Which of the following file(s) is/ are used to provide layout of your screen? 1)

strings XML 2) Rfile 3)Manifest 4) Layout file

a. 1

b. 4

c. All of above

d. None of these

82. An android SDK is required to develop the application for android

a. Yes

b. No

83. What was the first phone released that ran the android OS?

a. T-Mobile G1

b. Google gPhone

c. HTC Hero

d. Motorola Droid

84. From a phone manufacturer‟s point of view, what makes Android so great?

Page 13: Tổng hợp câu hỏi ôn tập android có đáp án

a. Aside from some specific drivers, it provides everything to make a phone work

b. It allows them to compete with apple‟s iPhone

c. It makes the hardware work better

d. It allows users to create apps, generating revenue for the companies

85. Google licensed some proprietary apps

a. True

b. False

86. Why are the so few users left with versions 1.0 and 1.1?

a. Everyone with 1.0 and 1.1 were upgraded to 1.5 over the air automatically

b. 1.0 and 1.1 are just number designations for the version Apple‟s iPhone is

running

c. 1.0 and 1.1 had security holes that forced carriers to recall phones using them

d. The first phones were released with version 1.5

87. Which of these not one of the three main components of the APK?

a. Webkit

b. Native libraries

c. Resources

d. Dalvik executable

88. The AWT and Swing libraries have been removed from the android library set

a. True

b. False

89. What doew the .apk extension stand for?

a. Application Package

b. Application program kit

c. Android proprietary kit

d. Android package

90. The R.java file is where you edit the resources for your project

a. True

b. False

91. Your java source code is what is directly run on the android device

a. True

b. False

92. Although most people‟s first thought when they think of android is google,

android is not actually owned by google. Who owns the android platform?

a. The above statement is and android is owned by google

b. Open Handset Alliance

c. Dalvik

Page 14: Tổng hợp câu hỏi ôn tập android có đáp án

d. Oracle Technology

93. A device with android installed is needed to develop apps for android

a. True

b. False

94. Which android version had the greatest share of the market as of January 2011?

a. 1.1

b. 1.5

c. 2.3

d. 3.4

95. Android is built upon the Java Micro Editon(J2ME) version of java

a. True

b. False

96. When developing for the android OS, Java byte code is compiled into what?

a. C source code

b. Dalvik byte code

c. Dalvik application code

d. Java source code

97. As an android programmer, what version of android should you use as your

minumum development target?

a. Versions 1.0 or 1.1

b. Versions 1.6 or 2.0

c. Versions 1.2 or 1.3

d. Versions 2.3 or 3.0

98. What is the name of the program that converts Java byte code into Dalvik byte

code?

a. Mobile Interpretive Compiler(MIC)

b. Dex compiler

c. Dalvik converter

d. Android Interpretive Compiler(AIC)

99. When did Google purchase android?

a. 2003

b. 2004

c. 2005

d. 2006

100. Android releases since 1.5 have been given nicknames derived how?

a. American states

b. Something that starts w/‟A‟ -> something that starts w/‟B‟

Page 15: Tổng hợp câu hỏi ôn tập android có đáp án

c. Food

d. Adjective and strange animal

101. Which piece of code used in android is not open source?

a. Power management

b. Audio driver

c. Wifi driver

d. Keypad driver

102. What year was the Open Handset Alliance announced?

a. 2004

b. 2005

c. 2006

d. 2007

103. Android is based on Linux for the following reason

a. Protability

b. Security

c. Networking

d. All of these

104. What is contained within the Layout xml file?

a. The code which is compiled to run the app

b. The strings used in the app

c. The permissions required by the app

d. Orientations and layouts that specify what the display looks like

105. What was Google‟s main business motivation for supporting android?

a. To directly compete with the iPhone

b. To level the playing field for mobile devices

c. To corner the mobile device application market for licensing purposes

d. To allow them to advertise more

106. Android tries hard to……….low-level components, such as the software

stack, with interfaces so that vendor-specific code can be managed easily.

a. Compound

b. Modularize

c. Absract

d. Confound

107. Which among these are NOT a part of android‟s native libraries?

a. SQLite

b. OpenGL

c. Dalvik

Page 16: Tổng hợp câu hỏi ôn tập android có đáp án

d. Webkit

108. What year was development on the Dalvik virtual machine started?

a. 2003

b. 2004

c. 2005

d. 2006

109. What is a key difference with the distribution of apps for android based

devices than other mobile device platform applications?

a. Applications are distributed by the Android Market only

b. Applications are distributed by multiple vendors with the exact same policies

on applications

c. Application are distributed by multiple vendors with different policies on

applications.

d. Applications are distributed by Apple App Store only

110. Which of the following are not a component of an APK file?

a. Dalvik executable

b. Native Libraries

c. Resources

d. All of these are components of the APK

111. Android is licensed under which open source licensing license?

a. Gnu‟s GPL

b. OSS

c. Apache/MIT

d. Sourceforge

112. BMGR tool is used to

a. Take backup of the applications

b. To restore operations

c. Wipe archived data for a specific application

d. All of the above

113. Foreground service

a. Starts when you call start foreground()

b. May or may not provide a notification for the status bar

c. Notification can‟t be dismissed unless the service is either stopped or removed

from the foreground

d. Both a and c

114. A1,A2,A3 and A4 are activities called using intents.Then A1-A4-A2--

A3.A4 calls A2 with intent flag FLAG_ACTIVITY_NO_HISTORY.When finish()

Page 17: Tổng hợp câu hỏi ôn tập android có đáp án

method is called on A3, What will be the currtent running activity?

a. A1

b. A4

c. A3

d. A2

115. A1,A2,A3 and A4 are activities called using intents.Then A1-A2-A4--

A3.A2 calls A4 with intent flag FLAG_ACTIVITY_CLEAR_TOP.When finish()

method is called on A3, what will be the current running activity?

a)A4

b)A3

c)A2

d)A1

116. A1,A2,A3 and A4 are activities called using intents.Then A1-A2-A3-A4.

A3 calls A4 with NO intent flag, when finish() method called on A4. What will be

the current running activity?

a)A2

b)A3

c)A4

d)A1

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

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

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

120. 'Screen has turned off' is an example

a) Normal broadcast

Page 18: Tổng hợp câu hỏi ôn tập android có đáp án

b) Ordered broadcast

c) background operation

d) None

121. If you try to acces the column which does not exit, system throws

a) NullPointerException

b) illegalArgumentException

c) ArrayIndexOutOfBoundsException

d) SQLException

122. Maximum results returned by getFromLocationName() method can be

a) 2

b) 3

c) 4

d) 5

123. The methods startForeground() and stopForeground() were introduced in

which API level.

a) 2.0

b) 3.0

C) 1.5

d) 2.2

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()

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

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

127. What part of the Android platform is open source? | Android

A. low-level Linux modules

Page 19: Tổng hợp câu hỏi ôn tập android có đáp án

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

C. native libraries

D. application frame work

E. complete applications

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

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

130. Android Applications must be signed. | Android

A. After they are installed

B. Before they are installed

C. Never

D. Within two weeks of installation

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

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

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

Page 20: Tổng hợp câu hỏi ôn tập android có đáp án

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.

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

135. The Android SDK ships with an emulator. | Android

A. True

B. False

136. The manifest explains what the application consists of and glues everything

together. | Android

A. True

B. False

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

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

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

140. What are the dialog boxes that are supported in android?

Page 21: Tổng hợp câu hỏi ôn tập android có đáp án

a. 4

b. 5

c. 3

d. 6

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

142. Basic application components for android?

a. 6

b. 4

c. 5

d. 2

143. Android uses what Virtual Machine?

a. JVM

b. JVDM

c. JDM

d. DVM

144. What is DVM?

a. Dynamic java Virtual Machine

b. Dynamic Virtual Machine

c. Dalvik java Virtual Machine

d. Dalvik Virtual Machine

145. Choose correct one?

a. Android is closed System

b. Android is open System

c. Android is close and open System

d. None

146. What is ADT?

a. Android Document Tools

b. Android Dynamic Tools

c. Android Development Tools

d. Android Direct Tools

147. DVM executes which format files?

a. .exe

Page 22: Tổng hợp câu hỏi ôn tập android có đáp án

b. .dex

c. .class

d. .java

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

149. What is AVD?

a. Android visual device

b. Android visual design

c. Android virtual device

d. Android virtual design

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

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

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

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

154. One application having how many Broadcast Recievers?

a. 1

b. 2

c. 3

Page 23: Tổng hợp câu hỏi ôn tập android có đáp án

d. Unlimited

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

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

157. What intent do?

a. Call the xml files

b. Call the manifest.xml file

c. Call the activities

d. All of the above

158. Intent Filter having which tags?

a. Action

b. Category

c. Data

d. All of the above

159. How many layout types are there?

a. 2

b. 3

c. 4

d. 5

160. What is Activity?

a. It‟s only screen

b. It‟s visual user interface

c. It‟s a component

d. B and c

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

162. What is widget?

Page 24: Tổng hợp câu hỏi ôn tập android có đáp án

a. It is a view object

b. It is a view

c. It is a view group

d. None of the above

163. In android the user interface is built using?

a. View

b. View group objects

c. Only b

d. Both a and b

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

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

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

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

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

Page 25: Tổng hợp câu hỏi ôn tập android có đáp án

169. Which of the following strings is a correct XML name?

a. _myElement

b. myElement

c. #myElement

d. None of the above

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

171. what are the parsers are supported in XML?

a. Non validating and validating

b. Well documented

c. Well formed

d. None of the above

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

173. XML tags are case sensitive

a. True

b. False

174. In XML, what is identified by a URI reference?

a. XML namespace

b. XSLT

c. Schema

d. DLT

175. What are the predefined attributes

a. Xml:lang

b. Xml:space

c. Both a and b

d. None of the above

176. ……was designed to display data, with focus on how data looks

a. XML

b. HTML

Page 26: Tổng hợp câu hỏi ôn tập android có đáp án

c. XHTML

d. DTD

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

178. XML uses the features of

a. HTML

b. XHTML

c. VML

d. SGML

179. Comments in XML document is given by

a. <?-- -- >

b. <!-- -- !>

c. <!-- -- >

d. </-- -- >

180. XML document can be viewed in

a. IE 3.0

b. IE 2.0

c. IE6.0

d. IE X.0

181. What does DTD stand for?

a. Direct type definition

b. Document type definition

c. Dynamic tool description

d. Dynamic type definition

182. What can be used to transform XML into HTML?

a. XLT

b. DTD

c. DOM

d. XSLT