0

Basic Android UI

Description: Basic Android UI
Number of Questions: 15
Created by:
Tags: Basic Android UI Android
Attempted 0/15 Correct 0 Score 0

Which of the following declares that devices running Android versions lower than this will not be able to install the application?

  1. android.minJDKVersion

  2. android.minsdkVersion

  3. android.minSDKVer

  4. android.minSDKVersion


Correct Option: D
Explanation:

android.minSDKVersion is used to declare that devices running Android versions lower than this will not be able to install the application.

Which of the following four buttons were available in Android device prior to version 3.0?

  1. Home, Back, Menu and Search

  2. Home, Game, Menu and Search

  3. Home, Back, Menu and Setting

  4. Home, Calender, Menu and Search


Correct Option: A
Explanation:

There are four buttons were available in Android device prior to version 3.0: Home, Back, Menu and Search

Suppose you want to run the android application without any android devices, then _________ is used to run the android application.

  1. web browser

  2. eclipse IDE

  3. android virtual device

  4. android real device


Correct Option: C
Explanation:

Android virtual device is an emulated android device, which is used to run the android application. This device gives the real feel of the android device.

The _____________ class is the main building block of Android application.

  1. Java

  2. Action

  3. Bundle

  4. Activity


Correct Option: D
Explanation:

The Activity class is the main building block of Android application. It represents a single screen of the application.

Which one of the following is defined by Android using a combination of XML layout files and Java code?

  1. Function

  2. Xml code

  3. User interface

  4. User input


Correct Option: C
Explanation:

User interface or GUI is defined by Android using a combination of XML layout files and Java code.

Which one of the following is not a Android Project Folder Structure?

  1. src/

  2. assets/

  3. gen/

  4. andr/


Correct Option: D
Explanation:

There are four Android Project Folder Structure:

1. src/
2. res/
3. gen/ 4. assets/

Widgets are like _____________ that present small chunks of data such as weather or unread email counts.

  1. icon

  2. mini application

  3. folder

  4. game


Correct Option: B
Explanation:

Widgets are like mini application that presents small chunks of data such as weather or unread email counts. It is like a application for small amount of data.

Which of the following is not a part of Android Developer Tools?

  1. Canvas

  2. Outline display

  3. Palette

  4. Properties window


Correct Option: D
Explanation:

Properties window is not a part of Android Developer tool. The main components of ADT(Android Development tools) are:

1. Configuration drop-down menu
2. Canvas
3. Palette
4. Outline display 5. Graphic layout editor

__________ is a powerful tool for capturing the state of your application, including running thread counts, logs, object allocation and heap usage.

  1. DBMS

  2. DDMS

  3. DMMS

  4. DDSS


Correct Option: B
Explanation:

The Dalvik Debug Monitor Server(DDMS) is a powerful tool for capturing the state of your application, including running thread counts, logs, object allocation and heap usage.

How can you take the screenshots in Android Version 4.0 and above?

  1. By pressing power button twice

  2. By pressing power button and then volume down buttons

  3. By pressing power button and volume down button at the same time

  4. By pressing volume down button and then power buttons


Correct Option: C
Explanation:

In the Android Version 4.0 and above, you can take the screen shots by pressing power button and volume down button at the same time.

Hierarchy viewer is used to display the full layout hierarchy of the application, The components of Hierarchy viewer are

  1. right sidebar, tree view, tree overview and layout view

  2. left sidebar, tree view, tree overview and layout view

  3. left sidebar, hierarchy view, tree overview and layout view

  4. Left sidebar, tree view and tree overview


Correct Option: B
Explanation:

Hierarchy viewer is used to display the full layout hierarchy of the application. The components of hierarchy viewer are: Left Sidebar, Tree View, Tree Overview and Layout View.

Which of the following folders contains all the resources of our app and where we can declare the layout using XML?

  1. gen/

  2. res/

  3. rsr/

  4. assets/


Correct Option: B
Explanation:

The res/ folder contains all the resources of our android app and this is where we declare the layout using XML>

The __________ contain(s) essential information about our app that the android system needs.

  1. manifest

  2. java

  3. resource

  4. packages


Correct Option: A
Explanation:

The manifest contains essential information about our app that the android system needs. This includes the activities and services by app users.

The ________ integrated development environment created an initial project structure for new Android Project.

  1. Microsoft

  2. Eclipse

  3. C objective

  4. Java


Correct Option: B
Explanation:

Eclipse Integrated development environment is used to develop the Android project.

If app requires a touch screen display to operate properly, which of the following lines is required to include in manifest?

  1. <features android:name=”android.hardware.touchscreen” android:required=”true” />

  2. <uses-features android:name=”android.touchscreen” android:required=”true” />

  3. <uses-features android:name=”android.hardware.touchscreen” android:required=”true” />

  4. <uses-features android:name=”android.hardware.touchscreen” android:method=”true” />


Correct Option: C
Explanation:

Here you have to set the “name” and “required” property of use-features tag to “android.hardware.touchscreen” and “true” respectively. For Example: <uses-features android:name=”android.hardware.touchscreen” android:required=”true” />

- Hide questions