Please do the test and then refer to page 3 for your scores



Download 15.47 Kb.
Date04.05.2017
Size15.47 Kb.
#17244

Android Apps Development for Mobile and Tablet Device (Level II)

Please do the test and then refer to page 3 for your scores.

Self Test





  1. Android is based on which language:

  1. Object C

  2. Visual Basic

  3. Java

  4. Pascal




  1. Android is based on which kernel?

  1. Linux

  2. Windows

  3. Mac

  4. Mainframe




  1. Android system uses Intents to

  1. Broadcast system intents

  2. Broadcast custom intents

  3. To invoke other applications from your application.

  4. All of the above.




  1. What is contained within the Layout XML file?

  1. Orientations and layouts that specify what the display looks like.

  2. The permissions required by the app.

  3. The strings used in the app.

  4. The code which is compiled to run the app.




  1. The R.java file is a generated file

  1. Automatically

  2. Manually

  3. Emulated

  4. None of the above




  1. Which packaging can be executed by Android?

  1. JAR

  2. APK

  3. EXE

  4. COM




  1. Which of the following TWO statements are correct?

  1. AndroidManifest.xml is optional and a default will be supplied if your app doesn’t provide one.

  2. The AndroidManifest.xml must supply a unique Application package name for your App.

  3. All Android applications must provide an Activity specified in AndroidManifest.xml.

  4. You can specify your Apps target API in the AndroidManifest.xml.

  5. The App name you specify in AndroidManifest.xml must be unique.

  1. Which of the following is used to detect when a user clicks or taps on a button?

  1. OnClickListener

  2. OnTapListener

  3. OnClickDetector

  4. OnTapDetector




  1. Eclipse shows an error in code by

  1. Emailing you an error report

  2. Create a core dump in blue screen

  3. Underlining the statement with the error in a red dashed line

  4. Playing an error sound




  1. Which statement correctly changes the TextView, which called txtLabel, to “Android”?

  1. txtLabel.setText(“Android”);

  2. txtLabel.text(“Android”);

  3. txtLabel = “Android”;

  4. txtLabel.text = “Android”;




  1. Which of the following methods is used to return a View from a layout file given the ID of the View?

  1. findView

  2. findViewById

  3. getView

  4. getViewById




  1. Which of the following is defined in the XML files within the “values” subfolder?

  1. Constant value

  2. Images

  3. Animation

  4. None of the above




  1. Which configuration file holds the permission to use Internet?

  1. Layout file

  2. Manifest file

  3. Source file

  4. Property file




  1. Which of the following is INCORRECT about the MenuItem interface?

  1. The MenuItem instance will be returned by the Menu class add( ) method.

  2. MenuItem can decide the Intent issued when clicking menu components.

  3. MenuItem can display either an icon or text.

  4. MenuItem can set a checkbox.




  1. During an Activity lifetime, what is the first method callback invoked by the system?

  1. onStart()

  2. onCreate()

  3. onRestart()

  4. onResume()



Answer


  1. C

  2. A

  3. D

  4. A

  5. A

  6. A

  7. B & D

  8. A

  9. C

  10. A

  11. B

  12. A

  13. B

  14. D

  15. B



Mark

Analysis

12 – 15

Congratulation! You’re ready to take Level II!

10 – 11

You can take Level II, but it is recommended that you review the Level I notes before attending the Level II course.

0 – 9

Sorry, Level II will be too difficult for you. Please take Level I first.




Download 15.47 Kb.

Share with your friends:




The database is protected by copyright ©ininet.org 2024
send message

    Main page