Android Set 2
On This Page
This set of Android Multiple Choice Questions & Answers (MCQs) focuses on Android Set 2
Q1 | What does the .apk extension stand for?
- application package
- application program kit
- android proprietary kit
- android package
Q2 | When you distribute your application commercially,you’ll want to sign it with your own key.
- true
- false
Q3 | How does Google check for malicious software in the Android Market?
- every new app is scanned by a virus scanner
- users report malicious software to google
- google employees verify each new app
- a seperate company monitors the android market for google
Q4 | Which of these are not one of the three main components of the APK?
- dalvik executable
- resources
- native libraries
- webkit
Q5 | What is the name of the program that converts Java byte code into Dalvik byte code?
- android interpretive compiler (aic)
- dalvik converter
- dex compiler
- mobile interpretive compiler (mic)
Q6 | What was the main reason for replacing the Java VM with the Dalvik VM when the project began?
- there was not enough memory capability
- java virtual machine was not free
- java vm was too complicated to configure
- java vm ran too slow
Q7 | Android Applications must be signed.
- after they are installed
- before they are installed
- never
- within two weeks of installation
Q8 | Which of the following are not a component of an APK file?
- resources
- all of these are components of the apk
- native libraries
- dalvik executable
Q9 | The AWT and Swing libraries have been removed from the Android library set.
- true
- false
Q10 | The R.java file is where you edit the resources for your project.
- true
- false
Q11 | What is contained within the manifest xml file?
- the permissions the app requires
- the list of strings used in the app
- the source code
- all other choices
Q12 | What is contained within the Layout xml file?
- orientations and layouts that specify what the display looks like.
- the permissions required by the app.
- the strings used in the app.
- the code which is compiled to run the app.
Q13 | The emulated device for android.
- runs the same code base as the actual device, all the way down to the machine layer.
- is more of a simulator, and acts as a virtual machine for the android device.
- runs the same code base as the actual device, however at a higher level.
- an imaginary machine built on the hopes and dreams of baby elephants.
Q14 | Your Java source code is what is directly run on the Android device.
- true
- false
Q15 | The Emulator is identical to running a real phone EXCEPT when emulating/simulating what?
- telephony
- applications
- sensors
- the emulator can emulate/simulate all aspects of a smart phone.
Q16 | How is a simulator different from an emulator?
- emulators are only used to play old snes games, simulators are used for software development
- the emulator is shipped with the android sdk and third party simulators are not
- the emulator can virtualize sensors and other hardware features, while the simulator cannot
- the emulator imitates the machine executing the binary code, rather than simulating the behavior of the code at a higher level.
Q17 | The R file is a(an) generated file
- automatically
- manually
- emulated
- none of the above
Q18 | An activity can be thought of as corresponding to what?
- a java project
- a java class
- a method call
- an object field
Q19 | To create an emulator, you need an AVD. What does it stand for?
- android virtual display
- android virtual device
- active virtual device
- application virtual display
Q20 | The Android SDK ships with an emulator.
- true
- false
Q21 | The ___________ file specifies the layout of your screen.
- layout file
- manifest file
- strings xml
- r file
Q22 | The manifest explains what the application consists of and glues everything together.
- true
- false
Q23 | The Android Software Development Kit (SDK) is all you need to develop applications for Android.
- true
- false
Q24 | What is the driving force behind an Android application and that ultimately gets converted into a Dalvik executable?
- java source code.
- r-file.
- the emulator.
- the sdk
Q25 | While developing Android applications, developers can test their apps on…
- emulator included in android sdk
- physical android phone
- third-party emulators (youwave, etc.)
- all three options will work.