1. Trang chủ
  2. » Công Nghệ Thông Tin

TỔNG hợp câu hỏi ôn tập ANDROID(182 câu) có đáp án

26 7,1K 49

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 26
Dung lượng 390,34 KB
File đính kèm câu) CÓ ĐÁP ÁN.rar (340 KB)

Nội dung

Which of the following source code does the android application uses and converts it into a Delvik executable.. Which piece of code used in android is not open source.. Applications are

Trang 1

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

d All of the above

2 Is android available in ROM?

Trang 2

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

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?

Trang 3

a Html

b Text

c Text/html

d Doc

13 ExpandableListView is used for

a Simplified tree representation

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

Trang 5

27 The notificationManager is a………

29 what is mean by AAPT

a Android asset packaging tool

b Application asset packaging tool

c Android application packaging tool

Trang 6

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

Trang 7

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

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

Trang 8

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

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

Trang 9

57 AVD stands for

a Android Virtual Device

b Application virtual device

c Android video device

Trang 10

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

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

Trang 11

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

Trang 12

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

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

Trang 13

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?

b Application program kit

c Android proprietary kit

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

Trang 14

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?

d Android Interpretive Compiler(AIC)

99 When did Google purchase android?

Trang 15

c Food

d Adjective and strange animal

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

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

Trang 16

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?

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

Trang 17

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

b) Create new id and add to resources

c) XML parser should parse and exapnd id string

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

Trang 18

124 Should always first check availability of audio effects by calling the

following method on the corresponding audio effect class

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

Trang 19

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

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

Trang 20

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

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?

Trang 21

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

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

Trang 22

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

Trang 23

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

Trang 24

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?

Trang 25

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

d None of the above

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

a XML

b HTML

Ngày đăng: 08/08/2015, 08:25

TỪ KHÓA LIÊN QUAN

TÀI LIỆU CÙNG NGƯỜI DÙNG

TÀI LIỆU LIÊN QUAN

w