Important Points to Remember. No cell phones or other secondary devices in the room or test area Your desk/table must be clear or any materials except your test-taking device No one else can be in the room with you No talking No dual screens/monitors No use of additional applications or internet 1 / 40 Find the value of A [ 1 ] after execution of the following program. int [ ] A = { 0,2,4,1,3 } ; for ( int i = 0 ; i < a.length ; i++ ) { a [ i ] = a [ ( a [ i ] + 3 ) % a.length ] ; } 0 3 2 1 2 / 40 Which of the following converts Java byte code into Dalvik byte code? None of the above Dalvik converter Dex compiler Mobile interpretive compiler (MIC) 3 / 40 What does API stand for? Application Page Interface Android Programming Interface Application Programming Interface Android Page Interface 4 / 40 Does android support other languages than java? May be Can't say No Yes 5 / 40 Which of the following is not a nickname of any android version? Honeycomb Muffin Cupcake Donut 6 / 40 Which of the following is the first callback method that is invoked by the system during an activity life-cycle? onClick ( )method onRestart ( )method onStart ( )method onCreate ( )method 7 / 40 Under which of the following Android is licensed? None of the above OSS Apache/MIT Sourceforge 8 / 40 How can we stop the services in android? By using system.exit() method None of the above By using the stopSelf() and stopService() method By using the finish() method 9 / 40 We require an AVD to create an emulator. What does AVD stand for? Android Virtual display Android Virtual device Active Virtual device Active Virtual display 10 / 40 Find the output of the following program. public class Solution{ public static void main (String [ ] args ) { short x = 10; x = x * 5; System.out.print ( x ) ; } } 50 10 Compile error Exception 11 / 40 How can we kill an activity in android? Using finishActivity(int requestCode) Both (a) and (b) Using finish() method Neither (a) nor (b) 12 / 40 Which of the following is the first mobile phone released that ran the Android OS? None of the above HTC Hero T - Mobile G1 Google gPhone 13 / 40 Android is - a web browser None of the above an operating system a web server 14 / 40 Which of the following android component displays the part of an activity on screen? Manifest View Intent Fragment 15 / 40 Which of the layer is the lowest layer of android architecture? Linux Kernel Applications System Libraries and Android Runtime Applications Framework 16 / 40 What is contained in manifest.xml? Permission that the application requires Source code List of strings used in the app None of the above 17 / 40 APK stands for - Android Page Kit Android Package Kit None of the above Android Phone Kit 18 / 40 Find the output of the following program. public class Solution { public static void main ( String [ ] args ) { byte x = 127 ; x++ ; x++ ; System.out.print ( x ) ; } } 2 -127 127 129 19 / 40 Which of the following virtual machine is used by the Android operating system? Dalvik virtual machine Simple virtual machine JVM None of the above 20 / 40 Which of the following is not an activity lifecycle callback method? onBackPressed ()method onCreate ()method onClick ()method onStart ()method 21 / 40 Which of the following kernel is used in Android? Linux MAC Windows Redhat 22 / 40 As an android programmer, which version of Android should we use as a minimum development target? Version 2.3 or version 3.0 Version 1.6 or version 2.0 Version 1.0 or version 1.1 Version 1.2 or version 1.3 23 / 40 Which of the following is the name of the Android version 1.5? Cupcake Donut Froyo Eclair 24 / 40 In which year OHA (Open Handset Alliance) is announced? None of the above 2007 2005 2006 25 / 40 Which of the following is not a state in the service lifecycle? Destroyed Start Paused Running 26 / 40 ADB stands for - Android destroy bridge Android delete bridge Android debug bridge None of the above 27 / 40 Android is based on which of the following language? Java C None of the above C++ 28 / 40 For which of the following Android is mainly developed? Desktops Mobile devices Laptops Servers 29 / 40 Which of the following method is used to handle what happens after clicking a button? None of the above onCreate onSelect onClick 30 / 40 Find the output of the following program. public class Solution { public static void main ( String [ ] args ) { int [ ] x = { 120, 200, 016 } ; for ( int i = 0; i < x.length ; i++ ) { System.out.print ( x [ i ] + “ “); } } } None 120 200 14 120 200 16 120 200 016 31 / 40 Which of the following is the topmost layer of android architecture? Applications Framework System Libraries and Android Runtime Applications Linux Kernel 32 / 40 Which of the following is contained in the src folder? None of the above XML Manifest Java source code 33 / 40 On which of the following, developers can test the application, during developing the android applications? Third-party emulators Emulator included in Android SDK All of the above Physical android phone 34 / 40 What is the use of content provider in Android? For sending the data from an application to another application None of the above For storing the data in the database For sharing the data between applications 35 / 40 What is an activity in android? None of the above android package android class A single screen in an application with supporting java code 36 / 40 Find the output of the following code. int Integer = 24 ; char String = ‘ I ’; System.out.print ( Integer ) ; System. out. print ( String ) ; Compile error Throws exception 1 24I 37 / 40 Identify what can directly access and change the value of the variable res. Package com.mypackage ; Public class Solution { Private int res = 100 ; } Any class Any class that extends Solution Only Solution class None 38 / 40 Which of the following is a dialog class in android? DatePicker Dialog All of the above AlertDialog ProgressDialog 39 / 40 Select the valid statement. char ] ch = new char ( 5 ) char [ ] ch = new char ] char [ ] ch = new char 0 char ch = new char[ 5 ] 40 / 40 AAPT stands for - Android Asset Packaging Tool Android Action Packaging Tool Android Activity Packaging Tool None of the above 0%