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