Sunday, 20 October 2013

Android Level 1 Exam Answers

1: Content providers_______________.

   are system messages
   provide content data
   provide content for web browser based applications
   give the abstraction level for application data stored on the device
   provide content for games


2: Android is_________________.

   a static environment
   an 8-bit platform
   a Windows based platform
   None of these.
   a multi-tasking platform


3: What is the name of the Java Virtual machine in Android?

   Forth Virtual Machine
   .NET Framework
   Dalvik
   Juke Virtual Machine
   Parrot Virtual Machine


4: Android Virtual machine executes files in______________________.

   0
   Any of these
   *.vm format
   X
   *.dex format


5: Intent data structure is comprised of___________________.

   resource data
   manifest files
   AppWidget files
   View Groups
   an action and data to act upon


6: A Service _________________.

   can run only when the User interface is active
   keeps running without the User interface
   is used to create user interface
   None of these.
   is used to handle incoming phone calls


7: The basic units of the UI are_______________.

   layout and drawing
   widgets
   interactive screen elements
   view and viewgroups
   None of these


8: Which libraries do 2D and 3D graphics use on the android platform?

   OpenGL
   Skia
   G2
   Gorgon
   Cairo


9: An empty process does not have ______________________.

   any resources.
   any memory allocated.
   active services.
   active application components
   active processes.


10: What is an AVD?

   A development environment.
   A configuration that helps developing device drivers.
   A Graphical interface to create User interfaces
   A configuration that runs Android applications.
   A configuration that specifies the Android platform to be used on the emulator


11: Intent-based invocation is _____________.

   asynchronous
   passive
   synchronous
   active
   independent


12: What is a Drawable?

   a pluggable drawing container
   a UI element that can be drawn on  screen
   a View layout
   a stored bitmap images
   a graphic element


13: FreeType is a part of ___________________.

   Application Framework
   Applications
   Linux kernel
   Android Runtime
   Libraries


14: FreeType library is for rendering ______________________.

   All of these.
   jpeg files
   3D images
   bitmap and vector fonts
   web images


15: TableLayout arranges content into _________and _____________.

   None of these
   records and recordsets
   Any of these
   data and fields
   rows and columns


16: Draw() is used by ________.

   ViewGroup for designing the UI
   ViewGroup for laying out its children
   ViewGroup for rendering child objects on screen
   ViewGroup for rendering the tree on screen
   ViewGroup designed tree structures


17: What is the syntax to refer to a source?

   android.R
   android.R.resource
   android.R.resource-type.resource-name
   android.resource_type
   android.resource_name


18: What are Application widgets?

   applications that run in the background
   all the applications running
   None of these..
   small applications views which can be put into other applications
   small applications which are launched when a mobile device powers on


19: Broadcast receivers are represented by __________

   Broadcast class
   Receiver class
   Application Broadcast class
   Message Broadcast class
   Broadcast Receiver class


20: What does '+' signify in android:id="@+id/my_button"?

   A new Activity.
   The XML parser should parse the rest of the ID string.
   A new resource name that must be created and added to resources.
   A new View resource.
   A new resource name.


21: Which of the following is the immediate base class for Activity and
Service classes?


   Object
   Context
   Component
   ApplicationContext
   Application


22: Which of the following can you use to display an HTML web page in an
Android application?


   Browser
   BrowserView
   HtmlView
   WebView
   Notepad


23: Which of the following is true about Intent.ACTION_CALL and
Intent.ACTION_DIAL?



   Intent.action = Intent.CALL_ACTION is used when a phone number is to be dialed without showing a UI on the device.


   Intent.action == Intent.CALL_ACTION is true when a phone call is received on the device.


   Both of them are used to dial a phone number on the device.

   Intent.action = Intent.CALL_ACTION is used when a phone number is to be dialed without the user having to explicitly initiate the call.


   Intent.action = Intent.DIAL_ACTION is used when a phone number is to be dialed without showing a UI on the device.




24: What is "Android_activityCreator"?


   A resource editor to create user interface for Android applications.

   A tool to generate Android byte code from .class files.

   A command line tool to create Android project files.

   An emulator to execute and debug Android projects.

   A framework to create unit tests for Android projects.



25: What is Context used for?

   To load and access resources
   To load and access Activities
   To load and access Layouts
   To load UI
   To load and access Services


26: What is the JetPlayer class used for?

   lets you playback interactive JET audio content in user applications.
   lets the user play mp3 files
   None of these.
   lets the user play mpeg files
   lets the user play JET format video format


27: Which of the following is not a Dalvik Opcode?

   OP_ADD_LONG
   OP_ADD_FLOAT
   OP_GET_BYTE
   OP_ADD_DOUBLE
   OP_ADD_INT


28: How does an application know if a package is added or removed?

   a message with PACKAGE_ADDED and PACKAGE_REMOVED action is received
   a message with PACKAGE_ADDED and PACKAGE_REMOVED action is broadcast
   an intent with PACKAGE_ADDED and PACKAGE_REMOVED action is broadcast
   an intent  with PACKAGE_ADDED and PACKAGE_REMOVED action is recorded
   an activity  with PACKAGE_ADDED and PACKAGE_REMOVED action is broadcast


29: What can be used to display a JPG file on the SD Card in ImageView?

   Bitmap.decodeFile()
   BitmapFactory.decodeFile()
   JPEGFactory.decodeFile()
   GIFFactory.decodeFile()
   JPG.decodeFile()


30: How an activity can  be shut down?

   By calling finishActivity() method
   By calling its shutdown() method
   By calling its stop() method
   By calling its finish() method
   By calling its stopSelf() method


31: How a service can be stopped?

   By calling its finish() method
   By calling its shutdown() method
   By calling finishService() method
   By calling its stop() method
   By calling its stopSelf() method


32: Describe app.AlertDialog.

   A popup that alerts the user of incoming call
   A dialog box to show handle the output of a dialog
   A popup alert dialog with two buttons that take callback handlers
   A floating dialog box
   A dialog box for defining alerts


33: How can a Service stop itself?

   by calling Context.stopService()
   by calling StopSelf.Service()
   by calling Service.stopSelf()
   by calling Destroy()
   by calling   StopService()


34: When we want a result to be returned by a child activity, which method is used?

   ActivityForResult()
   startActivityForResult()
   startActivity.Result()
   getResult.Activity()
   startActivity.Return()


35: What is DateFormat class?

   an interface for setting strings with formatted date/time.
   a class for defining date/time format.
   a class for entering date/time.
   a class for generating strings with formatted date/time.
   a class for setting strings with formatted date/time.


36: Relative layout is a ViewGroup that displays ___________________in relative positions.

   textboxes
   buttons
   UI elements
   child View elements
   menu


37: TimePickerDialog allows user to ___________________.

   select a date
   set date
   set date and time
   select a time
   set time


38: Which of the following will create a MediaRecorder?

   recorder = recorder.start();
   recorder = new MediaRecorder();
   recorder = recorder.Create();
   recorder = recorder.prepare();
   recorder = onCreate.MediaRecorder;


39: What is the telephoneNumberUtil class used for?

   Deleting a phone number from the contacts in the mobile device
   Any of these
   Saving a phone number  to the contacts in the mobile device
   Formatting an international telephone number
   Retrieving a phone number from the contacts in the mobile device


40: What does the ImageButton class do?

   displays buttons linked to images
   displays clickable a button with image
   Any of these
   None of these
   draws an image of a button
Thank You

Life Quotes | Memorable Sayings | Famous Adages | Proverbs

www.famousadage.com

6 comments:

  1. can you send me all answers of these questions please

    ReplyDelete
    Replies
    1. If you can pay I can pass any exam for you

      Delete
    2. How much for pass the freelancer exam?

      Delete
    3. $30 for one exam, I can pass any exam you want !!!

      Delete
    4. oh fuck you.

      Delete
  2. how much and how to pay for this exam, how do i pay securely?

    ReplyDelete