0

platforms and products Online Quiz - 26

Description: platforms and products Online Quiz - 26
Number of Questions: 20
Created by:
Tags: platforms and products
Attempted 0/20 Correct 0 Score 0
  1. Lets child views specify their position relative to the parent view or to each other

  2. Enables child views to specify their own exact x/y coordinates on the screen

  3. Aligns all children in a single direction - Vertically or Horizontally

  4. Its basically a blank space on screen that can be later filled with a single object

  5. None of above


Correct Option: D
  1. getParent()

  2. getRoot()

  3. getRootView()

  4. None of above


Correct Option: C
  1. getRadioButtonId()

  2. getCheckedRadioButtonId()

  3. getCheckedId()

  4. None of above


Correct Option: B

Choose the correct xml representation of below highlighted java code: CheckBox cbox = new CheckBox(this); cbox.setChecked(true);

  1. Android:state_checked=”true”

  2. android: android:state_checked=”true”

  3. android:state=”true”

  4. android:android:state=”true”

  5. None of above


Correct Option: B
  1. TableLayout

  2. LinearLayout

  3. RalativeLayout

  4. FrameLayout

  5. None of above


Correct Option: A

Android defines two similar gravity attributes: android:gravity and android:layout_gravity. The android:gravity is a setting used by the container, whereas android:layout_gravity is used by the View.

  1. True

  2. False


Correct Option: B

By default, LinearLayout is _______.

  1. Left and top-aligned

  2. Only left aligned

  3. Only top aligned

  4. None of above


Correct Option: A
  1. Both Widgets will occupy the same free space.

  2. 2nd Widget will use twice the free space that 1st Widget takes

  3. 1st Widget will use twice the free space that 2nd Widget takes

  4. None of above


Correct Option: B
  1. holiday rule

  2. calendar rule

  3. both

  4. none of the above


Correct Option: A

Sub process calls can have runtime determination mechanism

  1. True

  2. False


Correct Option: B

There can be multiple out going transitions from the begin activity

  1. True

  2. False


Correct Option: B

Android databases are stored in the _________folder on your device (or emulator)

  1. /data/data//databases

  2. /data//databases

  3. /data/data/databases

  4. None of above


Correct Option: A

Queries in Android are returned as Cursor objects. Cursors are pointers to the result-set within the underlying data.

  1. True

  2. False


Correct Option: B
  1. Call OpenOrCreateDatabase()

  2. Call getReadableDatabase()

  3. Call getWriteableDatabase()

  4. None of above


Correct Option: A
- Hide questions