FNT Software Solutions Pvt Ltd Placement Papers - Android Technology


Published on

FNT Software Solutions Pvt Ltd Placement Papers - Android Technlogy

Published in: Technology
  • Be the first to comment

  • Be the first to like this

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

FNT Software Solutions Pvt Ltd Placement Papers - Android Technology

  1. 1. FNT Software Solutions Pvt Ltd, Bangalore Android Placement PaperAndroid Objective type Question and Answers1. Bmgr tool is used toa)take backup of the applicationsb)to restore operationsc)wipe archived data for a specific applicationd)all of the aboveAns: d2. foreground servicea)starts when you call start foreground()b)may or may not provide a notification for the status barc)notification cant be dismissed unless the service is either stopped or removed from theforegroundd)both a & cAns:d3. A1,A2,A3 and A4 are activities called using intents.Then A1-A4-A2--A3.A4 calls A2 withintent flag FLAG_ACTIVITY_NO_HISTORY.When finish method is called on A3, What willbe the currtent running activity?a)A1b)A4c)A3d)A2Ans: b4. A1,A2,A3 and A4 are activities called using intents.Then A1-A2-A4--A3.A2 calls A4 withintent flag FLAG_ACTIVITY_CLEAR_TOP.When finish() method is called on A3, what willbe the current running activity?a)A4b)A3c)A2d)A1Ans: a5. A1,A2,A3 and A4 are activities called using intents.Then A1-A2-A3-A4. A3 calls A4 withno intent flag, when finish() method called on A4. What will be the current runningactivity?a)A2b)A3c)A4d)A1Ans: bPlacement paper android
  2. 2. FNT Software Solutions Pvt Ltd, Bangalore Android Placement Paper6. The plus(+) means in statement android:id="@+id/my_id"?a) Identify it as an id resourceb) Create new id and add to resourcesc) XML parser should parse and exapnd id stringd) Both a & b.Ans: b7. When you want system to run the service indefinitely, by restarting it when get killed,usea) START_NOT_STICKYb) START_REDELIVER_INTENTc) START_STICKYd) START_SERVICE_INDEFINITELYAns: c8) Android system uses intents toa) broadcast system intentsb) broadcast custom intentsc) To invoke other applications from your application.d) All of the above.Ans: d9) Screen has turned off is an examplea) Normal broadcastb) Ordered broadcastc) background operationd) NoneAns: a10) If you try to acces the column which does not exit, system throwsa) NullPointerExceptionb) illegalArgumentExceptionc) ArrayIndexOutOfBoundsExceptiond) SQLExceptionAns: bPlacement paper android
  3. 3. FNT Software Solutions Pvt Ltd, Bangalore Android Placement Paper11) Maximum results returned by getFromLocationName() method can bea) 2b) 3c) 4d) 5Ans: d12. The methods startForeground() and stopForeground() were introduced in whichAPI level.a) 2.0b) 3.0C) 1.5d) 2.2Ans: a13. Should always first check availability of audio effects by calling the following methodon the corresponding audio effect class.a) ischeckable()b) isavailable()c) isvaluable ()d) iscaview()Ans: a14. Applications that require filtering based on screen size can use the attributes.a) <supportmultiple-screens>b) <supports-screens>c) <supportall-screensd) supportevery-screenAns: b15. what is false with respect to onBind()a) is called when another component wants to bind with a serviceb) calling startService() results in a call to onBind()c) if you dont want to allow binding then return nulld) if you want to allow binding then return Ibinder objectAns: bPlacement paper android
  4. 4. FNT Software Solutions Pvt Ltd, Bangalore Android Placement Paper16)Android is licensed under which open source licensing license? | AndroidA. Gnus GPLB. Apache/MITC. OSSD. SourceforgeAns: B17)Although most peoples first thought when they think of Android is Google, Android isnot actually owned by Google. Who owns the Android platform? | AndroidA. Oracle TechnologyB. DalvikC. Open Handset AllianceD. The above statement is and Android is owned by GoogleAns: C18)As an Android programmer, what version of Android should you use as your minimumdevelopment target? | AndroidA. Versions 1.6 or 2.0B. Versions 1.0 or 1.1C. Versions 1.2 or 1.3D. Versions 2.3 or 3.0Ans: A19)What was Googles main business motivation for supporting Android? | AndroidA. To level the playing field for mobile devicesB. To directly compete with the iPhoneC. To corner the mobile device application market for licensing purposesD. To allow them to advertise moreAns: D20)What was the first phone released that ran the Android OS? | AndroidA. Google gPhoneB. T-Mobile G1C. Motorola DroidD. HTC HeroAns: BPlacement paper android
  5. 5. FNT Software Solutions Pvt Ltd, Bangalore Android Placement Paper21)From a phone manufacturers point of view, what makes Android so great? | AndroidA. Aside from some specific drivers, it provides everything to make a phone workB. It makes the hardware work betterC. It allows them to compete with Apples iPhoneD. It allows users to create apps, generating revenue for the companiesAns: A22)What is a funny fact about the start of Android? | AndroidA. It was orginaly going to be called UFOB. The first version of Android was released without an actual phone on the marketC. Androids main purpose was to unlock your car door when you left the keys inside of it.D. Was going to be a closed source application to make more money for its company.Ans: B23)What year was the Open Handset Alliance announced? | AndroidA. 2005B. 2006C. 2007D. 2008Ans: C24)A device with Android installed is needed to develop apps for Android.A. TrueB. FalseAns: B25)Android tries hard to _____low-level components, such as the software stack, withinterfaces so that vendor-specific code can be managed easily.A. confoundB. absractC. modularizeD. compoundAns: B26)Google licensed some proprietary apps. | AndroidA. TrueB. FalseAns: APlacement paper android
  6. 6. FNT Software Solutions Pvt Ltd, Bangalore Android Placement Paper27)What part of the Android platform is open source? | AndroidA. low-level Linux modulesB. all of these answers #The entire stack is an open source platformC. native librariesD. application frame workE. complete applicationsAns: B28)When did Google purchase Android? | ANdroidA. 2007B. 2005C. 2008D. 2010Ans: B29)Android releases since 1.5 have been given nicknames derived how? | AndroidA. Adjective and strange animalB. FoodC. Something that starts w/ A -> Something that starts w/ B...D. American statesAns: B30)Which one is not a nickname of a version of Andriod? | AndroidA. cupcakeB. GingerbreadC. HoneycombD. MuffinAns: D31)Android doesnt make any assumptions about a devices screen size, resolution, orchipset.:A. TrueB. FalseAns: APlacement paper android
  7. 7. FNT Software Solutions Pvt Ltd, Bangalore Android Placement Paper32)Which Android version had the greatest share of the market as of January 2011? |AndroidA. 1.1B. 1.5C. 2.3D. 3.4Ans: B33)Which piece of code used in Android is not open source? | AndroidA. Keypad driverB. WiFi? driverC. Audio driverD. Power managementAns: B34)Android is built upon the Java Micro Edition (J2ME) version of Java. | AndroidA. TrueB. FalseAns: B35)Which among these are NOT a part of Androids native libraries? | AndroidA. WebkitB. DalvikC. OpenGLD. SQLiteAns: B36)Android is based on Linux for the following reason. | AndroidA. SecurityB. PortabilityC. NetworkingD. All of theseAns: DPlacement paper android
  8. 8. FNT Software Solutions Pvt Ltd, Bangalore Android Placement Paper37)What operating system is used as the base of the Android stack? | AndroidA. LinuxB. WindowsC. JavaD. XMLAns: A38)What year was development on the Dalvik virtual machine started? | AndroidA. 2003B. 2005C. 2007D. 2006Ans: B39)What is a key difference with the distribution of apps for Android based devices thanother mobile device platform applications? | AndroidA. Applications are distributed by Apple App Store onlyB. Applications are distributed by multiple vendors with different policies on applications.C. Applications are distributed by multiple vendors with the exact same policies on applications.D. Applications are distributed by the Android Market only.Ans: B40)When developing for the Android OS, Java byte code is compiled into what? | AndroidA. Java source codeB. Dalvik application codeC. Dalvik byte codeD. C source codeAns: C41)What does the .apk extension stand for? | AndroidA. Application PackageB. Application Program KitC. Android Proprietary KitD. Android PackageAns: APlacement paper android
  9. 9. FNT Software Solutions Pvt Ltd, Bangalore Android Placement Paper42)When you distribute your application commercially,youll want to sign it with your ownkey. | AndroidA. TrueB. FalseAns: A43)How does Google check for malicious software in the Android Market? | AndroidA. Every new app is scanned by a virus scannerB. Users report malicious software to GoogleC. Google employees verify each new appD. A seperate company monitors the Android Market for GoogleAns: B44)Which of these are not one of the three main components of the APK? | AndroidA. Dalvik ExecutableB. ResourcesC. Native LibrariesD. WebkitAns: D45)What is the name of the program that converts Java byte code into Dalvik byte code? |AndroidA. Android Interpretive Compiler (AIC)B. Dalvik ConverterC. Dex compilerD. Mobile Interpretive Compiler (MIC)Ans: C46)Android Applications must be signed. | AndroidA. After they are installedB. Before they are installedC. NeverD. Within two weeks of installationAns: BPlacement paper android
  10. 10. FNT Software Solutions Pvt Ltd, Bangalore Android Placement Paper47)Which of the following are not a component of an APK file? | AndroidA. ResourcesB. All of these are components of the APKC. Native LibrariesD. Dalvik executableAns: B48)The AWT and Swing libraries have been removed from the Android library set. |AndroidA. TrueB. FalseAns: A49)The R.java file is where you edit the resources for your project. | AndroidA. TrueB. FalseAns: B50)What is contained within the manifest xml file? | AndroidA. The permissions the app requiresB. The list of strings used in the appC. The source codeD. All other choicesAns: A51)What is contained within the Layout xml file? | AndroidA. Orientations and layouts that specify what the display looks like.B. The permissions required by the app.C. The strings used in the app.D. The code which is compiled to run the app.Ans: APlacement paper android
  11. 11. FNT Software Solutions Pvt Ltd, Bangalore Android Placement Paper52)The emulated device for android. | AndroidA. 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.Ans: A53)Your Java source code is what is directly run on the Android device. | ANdroidA. TrueB. FalseAns: B54)The Emulator is identical to running a real phone EXCEPT when emulating/simulatingwhat? | AndroidA. TelephonyB. ApplicationsC. SensorsD. The emulator can emulate/simulate all aspects of a smart phone.Ans: C55)How is a simulator different from an emulator? | AndroidA. Emulators are only used to play old SNES games, simulators are used for softwaredevelopmentB. The emulator is shipped with the Android SDK and third party simulators are notC. The emulator can virtualize sensors and other hardware features, while the simulator cannotD. The emulator imitates the machine executing the binary code, rather than simulating thebehavior of the code at a higher level.Ans: D56) The R file is a(an) generated file | AndroidA. AutomaticallyB. ManuallyC. EmulatedD. None of the aboveAns: APlacement paper android
  12. 12. FNT Software Solutions Pvt Ltd, Bangalore Android Placement Paper57)An activity can be thought of as corresponding to what? | AndroidA. A Java projectB. A Java classC. A method callD. An object fieldAns: B58)To create an emulator, you need an AVD. What does it stand for? | AndroidA. Android Virtual DisplayB. Android Virtual DeviceC. Active Virtual DeviceD. Application Virtual DisplayAns: B59)The Android SDK ships with an emulator. | AndroidA. TrueB. FalseAns: A60)The ___________ file specifies the layout of your screen. | AndroidA. Layout fileB. Manifest fileC. Strings XMLD. R fileAns: A61)The manifest explains what the application consists of and glues everything together. |AndroidA. TrueB. FalseAns: APlacement paper android
  13. 13. FNT Software Solutions Pvt Ltd, Bangalore Android Placement Paper62)The Android Software Development Kit (SDK) is all you need to develop applicationsfor Android.A. TrueB. FalseAns: A63)What is the driving force behind an Android application and that ultimately getsconverted into a Dalvik executable? | AndroidA. Java source code.B. R-file.C. the emulator.D. the SDKAns: A64)While developing Android applications, developers can test their apps on...A. Emulator included in Android SDKB. Physical Android phoneC. Third-party Emulators (Youwave, etc.)D. All three options will work.Ans: D65) 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. Byusing <category android:name="android.intent.category.LAUNCHER" />this category attribute.Ans. APlacement paper android