MAd Test Series

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 11

uestion 1

Correct
Mark 1.00 out of 1.00

Flag question

Question text
The android component that shows the part of an activity on the screen is called

Select one:
a. intent
b. manifest
c. view

d. fragment 
Feedback
Your answer is correct.
The correct answer is: fragment

Question 2
Correct
Mark 1.00 out of 1.00

Flag question

Question text
The layout or design of an android application is saved in 

Select one:
a.
.dex file

b. .text file

c. .xml file 
d. .java file
Feedback
Your answer is correct.
The correct answer is: .xml file

Question 3
Correct
Mark 1.00 out of 1.00
Flag question

Question text
For specialized layout elements, the palette element used is

Select one:
a. containers
b. textfields

c. custom 
d. widgets
Feedback
Your answer is correct.
The correct answer is: custom

Question 4
Correct
Mark 1.00 out of 1.00

Flag question

Question text
What is an activity in Android? 

Select one:
a. None of the above
b. Manage the Application content

c. Activity performs the actions on the screen 


d.
Screen UI

Feedback
Your answer is correct.
The correct answer is: Activity performs the actions on the screen

Question 5
Correct
Mark 1.00 out of 1.00
Flag question

Question text
Is it possible to have activity without UI to perform action/actions? 

Select one:
a.
Yes, it is possible

b. None of the above


c. Wrong question
d. Not possible
Feedback
Your answer is correct.
The correct answer is:
Yes, it is possible

Question 6
Incorrect
Mark 0.00 out of 1.00

Flag question

Question text
How to pass the data between activities in Android?

Select one:
a. None of the Above

b. Content Provider 
c.
Broadcast receiver

d. Intent
Feedback
Your answer is incorrect.
The correct answer is: Intent

Question 7
Correct
Mark 1.00 out of 1.00

Flag question

Question text
What is the context in android? 

Select one:
a.
All of Above

b. It is used to create new components.


c. It is an interface to store global information about an application
d.
Android has two contexts, those are getContext and getApplicationContext

Feedback
Your answer is correct.
The correct answer is:
All of Above

Question 8
Correct
Mark 1.00 out of 1.00

Flag question

Question text
What is Pending Intent in android? 

Select one:
a. It is used to pass the data between activities
b.
It will fire at a future point of time.

c. None of the Above


d. It is a kind of an intent
Feedback
Your answer is correct.
The correct answer is:
It will fire at a future point of time.

Question 9
Correct
Mark 1.00 out of 1.00

Flag question

Question text
What is the android view group?

Select one:
a. Layouts
b.
Collection of views and other child views

c. None of the Mentioned


d. Base class of building blocks
Feedback
Your answer is correct.
The correct answer is:
Collection of views and other child views

Question 10
Correct
Mark 1.00 out of 1.00

Flag question

Question text
What are the layouts available in android?

Select one:
a. Relative Layout

b. All of mentioned 
c. Table Layout
d. Frame Layout
e.
Linear Layout

Feedback
Your answer is correct.
The correct answer is: All of mentioned

Question 11
Correct
Mark 1.00 out of 1.00

Flag question

Question text
Which of the following is/are the subclasses in Android?

Select one:
a. Launcher Activity
b.
Action Bar Activity

c. Preference Activity
d. Tab Activity

e. All of mentioned 
Feedback
Your answer is correct.
The correct answer is: All of mentioned

Question 12
Correct
Mark 1.00 out of 1.00

Flag question

Question text
What is Manifest.xml in android?

Select one:
a. None of the mentioned
b.
It has information about layout in an application

c. It has the information about activities in an application

d. It has all the information about an application 


Feedback
Your answer is correct.
The correct answer is: It has all the information about an application

Question 13
Correct
Mark 1.00 out of 1.00

Flag question

Question text
In which folder the activity_main.xml a layout file is available.

Select one:
a. res/values

b. res/layout 
c.
res/drawable

d. none of the mentioned


Feedback
Your answer is correct.
The correct answer is: res/layout

Question 14
Incorrect
Mark 0.00 out of 1.00

Flag question

Question text
Which file contains compilesdkVersion ,buildtoolVersion ,minsdkVersion , versionName ,etc 

Select one:

a. mainfest.xml 
b. res/
c. activity_main.xml
d.
Build.gradle

Feedback
Your answer is incorrect.
The correct answer is:
Build.gradle

Question 15
Correct
Mark 1.00 out of 1.00

Flag question

Question text
Select correct UI control: A drop-down list that allows users to select one value from a set

Select one:
a.
List

b. Choice

c. Spinner 
d. DropdownList
Feedback
Your answer is correct.
The correct answer is: Spinner

Question 16
Correct
Mark 1.00 out of 1.00

Flag question

Question text
What Activity method you use to retrieve a reference to an android view by using the id attribute of a
resource XML? 
Select one:
a. findViewByReference(int id);
b. retrieveResourceById(int id)
c. findViewById(String id)
d.
 findViewById(int id)

Feedback
Your answer is correct.
The correct answer is:
 findViewById(int id)

Question 17
Correct
Mark 1.00 out of 1.00

Flag question

Question text
Which of the following is not an Android component (i.e. a point from which the system can enter
your application)?

Select one:
a. Content Provider
b. Activity
c. Service

d. Layout 
Feedback
Your answer is correct.
The correct answer is: Layout

Question 18
Correct
Mark 1.00 out of 1.00

Flag question

Question text
Which configuration file holds the permission to use the internet? 
Select one:
a. Java source file
b. Layout file
c.
Property file

d. Manifest file 
Feedback
Your answer is correct.
The correct answer is: Manifest file

Question 19
Correct
Mark 1.00 out of 1.00

Flag question

Question text
Which of the following is NOT a valid usage for Intents?

Select one:

a. Activate a SQLite DB Connection 


b. Activate an Activity
c. Activate a Broadcast receiver
d. Activate a Service
Feedback
Your answer is correct.
The correct answer is: Activate a SQLite DB Connection

Question 20
Correct
Mark 1.00 out of 1.00

Flag question

Question text
Which of the following is not a valid Android resource
filename?

Select one:
a. mylayout.xml
b. myLayout.xml 
c. my_layout.xml
d. mylayout1.xml
Feedback
Your answer is correct.
The correct answer is: myLayout.xml

You might also like