
Android - Quiz 10
Authored by Nguyễn Hương
English
University
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
16 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
In Android, the first callback is called when activity is visible is
onCreate
onResume
onStart
onStop
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which design pattern will you use to create a complex object
Factory pattern
Abstract factory pattern
Builder pattern
Prototype pattern
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is an Activity?
A single screen the user sees on the device at one time
A message sent among the major building blocks
A component that runs in the background without any interface
ontext referring to the application environment
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Android is based on Linux for the following reason
Security
Portability
Networking
All of these
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
The Logcat window in Android Studio displays system messages, such as when a garbage collection occurs, and messages that you added to your app with the Log class. It displays messages in real time and keeps a history so that you can view older messages.
TRUE
FALSE
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
getExternalFilesDir( ) method is used to get the directory of the external storage.
TRUE
FALSE
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is NOT used in monitoring an activity.
Visible lifetime
Background lifetime
Entire lifetime
Foreground lifetime
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?