1. When are Android applications signed?
(A) Before installed
(B) After installed
(C) Both A and B
(D) None of these
2. Which file is used to request internet permission in Android?
(A) Create file
(B) Manifest file
(C) System file
(D) None of these
3. Which file specifies the layout of an Android screen?
(A) R
(B) Manifest
(C) Layout
(D) None of these
4. Where is the R.java file located?
(A) src
(B) gen
(C) Both A and B
(D) None of these
5. What does the src folder contain?
(A) Java source code
(B) XML
(C) Manifest
(D) None of these
6. What is used for user interface in Android?
(A) XML
(B) Java
(C) C++
(D) Both A and B
7. Which class stores additional information?
(A) Bundle
(B) Data store
(C) Extra
(D) None of these
8. What does the Android system use for status data?
(A) Content provider
(B) Intents
(C) Network
(D) None of these
9. Which method is used to close an Activity?
(A) Finish
(B) Stop
(C) Close
(D) None of these
10. Which method should you override to use the Android menu system?
(A) onCreateMenu()
(B) onCreateOptionsMenu()
(C) Both A & B
(D) onMenuCreated()
11. What is the first callback method in Activity lifecycle?
(A) onStart()
(B) onStop()
(C) Both A & B
(D) onCreate()
12. What does this code do: Intent intent = new Intent(FirstActivity.this,SecondActivity.class)?
(A) Starts an activity
(B) Creates a hidden Intent
(C) Creates an implicit Intent
(D) Create an explicit Intent
13. What is NOT a valid usage for Intents?
(A) Activate an Activity
(B) Activate a Service
(C) Activate an SQLite DB Connection
(D) Activate a Broadcast receiver
14. Which is NOT a valid Android resource file name?
(A) my_layout.xml
(B) mylayout.xml
(C) myLayout.xml
(D) Both B & C
15. Which folder contains the R.java file?
(A) res
(B) src
(C) gen
(D) bin
16. What is true about an XML layout file?
(A) Used to draw Activity content
(B) A layout PNG image file
(C) Both A & B
(D) Contains application permissions
17. What does the src folder contain?
(A) Image and icon files
(B) Java source code files
(C) Both A & B
(D) The manifest file
18. What is the parent class of all Activity widgets?
(A) View
(B) ViewGroup
(C) Layout
(D) Both A & C
19. Which class stores additional information for Intents?
(A) Parcelable
(B) Extra
(C) Both A & B
(D) Bundle
20. Which is NOT part of Android application framework?
(A) Notification Manager
(B) Window Manager
(C) Both A & B
(D) Dialer Manager
21. Which Eclipse plugin is needed for Android development?
(A) Android SDK
(B) J2EE
(C) Both A & B
(D) Android Development Tools
22. Which file contains text values for applications?
(A) AndroidManifest.xml
(B) res/Text.xml
(C) res/layout/Main.xml
(D) res/values/strings.xml
23. What does the res/ folder contain?
(A) Resource files
(B) Java Activity classes
(C) Both A & B
(D) Java source code
24. Which is NOT an Activity lifecycle callback?
(A) onStart
(B) onCreate
(C) onBackPressed
(D) onPause
