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