Android Programming (2180715) MCQs

MCQs of The Basics

Showing 31 to 40 out of 114 Questions
31.
In android studio, the main activity for an application must be declared in _____
(a) <intent>
(b) <intent-filter>
(c) <intent-layout>
(d) <intent-activity>
Answer:

Option (b)

32.
One of the application component, that controls the UI and manages the user interaction with a phone screen is called _____
(a) Content Providers
(b) Activities
(c) Broadcast Receivers
(d) Services
Answer:

Option (b)

33.
Multiple inheritances is not allowed in Java therefore in an android activity there cannot be more than one _____
(a) super class
(b) child class
(c) sub class
(d) public class
Answer:

Option (a)

34.
By default in android studio during app development, the directory made for XML files is _____
(a) res/layout
(b) res/values
(c) AndroidManifest.xml
(d) Build.gradle
Answer:

Option (b)

35.
A type of layout elements that allow all included elements in order is _____
(a) ConstraintLayout
(b) TextviewLayout
(c) LinearLayout
(d) RelativeLayout
Answer:

Option (c)

36.
The tab that stores history of most visited places is _____
(a) Favorites
(b) Structure
(c) Build variants
(d) Project
Answer:

Option (a)

37.
In android, the functionality of one class can be used in other class by using option _____
(a) extends
(b) extended
(c) extending
(d) extend
Answer:

Option (a)

38.
A class that displays a toast-shaped message for the user is _____
(a) Log class
(b) makeTest class
(c) Show class
(d) Toast class
Answer:

Option (d)

39.
The android library that provides access to model of application is _____
(a) android.opengl
(b) android.content
(c) android.app
(d) android.database
Answer:

Option (c)

40.
In android emulator mode, the left-hand side of smartphone area elements is called _____
(a) palette
(b) widgets
(c) design
(d) button
Answer:

Option (a)

Showing 31 to 40 out of 114 Questions