173
87.9k

80+ Android Solved MCQs

These multiple-choice questions (MCQs) are designed to enhance your knowledge and understanding in the following areas: Bachelor of Science in Information Technology SY (BSc IT) , Bachelor of Science in Information Technology (BSc IT) .

51.

What file is responsible for glueing everthing together , explaining what the applicatin consists of, what its main building blocks are, ext…?

A. layout file
B. strings xml
C. r file
D. manifest file
Answer» D. manifest file
52.

The XML file that contains all the text that your application uses.

A. stack.xml
B. text.xml
C. strings.xml
D. string.java
Answer» C. strings.xml
53.

Which of the following is the most “resource hungry” part of dealing with Activities on Android

A. closing an app
B. suspending an app
C. opening a new app
D. restoring the most recent app
Answer» C. opening a new app
54.

What runs in the background and doesn’t have any UI components?

A. intents
B. content providers
C. services
D. applications
Answer» C. services
55.

What is an Activity?

A. a single screen the user sees on the device at one time
B. a message sent among the major building blocks
C. a component that runs in the background without any interface.
D. context referring to the application environment.
Answer» A. a single screen the user sees on the device at one time
56.

When an activity doesn’t exist in memory it is in.

A. starting state
B. running state
C. loading state
D. inexistent state.
Answer» A. starting state
57.

Which of the following is NOT a state in the lifecycle of a service?

A. starting
B. running
C. destroyed
D. paused
Answer» D. paused
58.

There is no guarantee that an activity will be stopped prior to being destroyed.

A. true
B. false
Answer» A. true
59.

Intents

A. are messages that are sent among major building blocks
B. trigger activities to being, services to start or stop, or broadcast
C. are asynchronous
D. all of these
Answer» D. all of these
60.

In an explicit intent, the sender specifies the type of receiver.

A. true
B. false
Answer» B. false
61.

an implicit intent is the sender specifies the type of receiver?

A. true
B. false
Answer» A. true
62.

When the activity is not in focus, but still visible on the screen it is in?

A. running state
B. paused state
C. stopped state
D. destroyed state
Answer» B. paused state
63.

An activity in a stopped state is doing nothing.

A. true
B. false
Answer» B. false
64.

Application contexts are independent of the activity life cycle.

A. true
B. false
Answer» A. true
65.

Services have any user interface components

A. true
B. false
Answer» B. false
66.

Broadcast receivers are Android’s implementation of a system-wide publish/subscribe mechanism, or more precisely, what design pattern?

A. observer
B. facade
C. mediator
D. command
Answer» A. observer
67.

There can be only one running activity at a given time.

A. true
B. false
Answer» A. true
68.

YAMBA stands for Yet Another Mobile Banking App.

A. true
B. false
Answer» B. false
69.

Lists and adapters are more organizational aids than user interface elements in Android.

A. true
B. false
Answer» A. true
70.

What built-in database is Android shipped with?

A. sqlite
B. apache
C. mysql
D. oracle
Answer» A. sqlite
71.

Creating a UI (User Interface) in Android requires careful use of…

A. java and sql
B. xml and java
C. xml and c++
D. dreamweaver
Answer» B. xml and java
72.

A good example app should demonstrate most of the aspects of the application framework that are unique to Android.

A. true
B. false
Answer» A. true
73.

What will services be used for in the Yamba project?

A. recompile the source code
B. it will update tweets periodically in the background
C. the services will pause the app
D. configures the user interface
Answer» B. it will update tweets periodically in the background
74.

Which answer is not part of the design philosophy talked about in chapter five?

A. always whole and complete
B. small increments
C. lagre increments
D. refactoring code
Answer» C. lagre increments
75.

App Widgets are can be place on the home screen by the user to check for updates are available?

A. true
B. false
Answer» A. true
76.

The android OS comes with many useful system services, which include processes you can easily ask for things such as your..

A. all of these and more.
B. location
C. sensor readings
D. wifi? hot spots
Answer» A. all of these and more.
77.

What does the Gargenta mean in his Design Philosophy when he says that the project will, “Always be whole and complete”?

A. he means that when we finish the entire project we will have a working application, even though there will be points along the way when we will stop and the application will not run.
B. he means that the program must always be able to compile.
C. he means that we will work on the program by adding self contained chunks to it so that at every stopping point the application runs as though it were a whole and complete application. each additional chunk simply adds a new functionality to the application.
D. none of the above
Answer» C. he means that we will work on the program by adding self contained chunks to it so that at every stopping point the application runs as though it were a whole and complete application. each additional chunk simply adds a new functionality to the application.
78.

An Android application is a loose collection of content providers, activities, broadcast receivers, and services.

A. true
B. false
Answer» A. true
79.

Which of the following is NOT an activity we will be creating for the YAMBA project?

A. preferences activity
B. update activity
C. timeline activity
D. status activity
Answer» B. update activity
80.

The timeline receiver will receive messages from the Android system.

A. true
B. false
Answer» B. false
81.

Status data will be exposed to the rest of the Android system via:

A. intents
B. a content provider
C. network receivers
D. altering permissions
Answer» B. a content provider
82.

If the UI begins to behave sluggishly or crash while making network calls, this is likely due to…

A. network latency
B. hardware malfunctions
C. virus on the server
D. activity manager contains too much.
Answer» A. network latency
83.

How does Gargenta approach the problem of the app acting sluggishly due to network latency?

A. starting over
B. switching api levels
C. refactoring code
D. multithreading
Answer» D. multithreading

Done Studing? Take A Test.

Great job completing your study session! Now it's time to put your knowledge to the test. Challenge yourself, see how much you've learned, and identify areas for improvement. Don’t worry, this is all part of the journey to mastery. Ready for the next step? Take a quiz to solidify what you've just studied.