Android - Quiz 11

Android - Quiz 11

University

15 Qs

quiz-placeholder

Similar activities

Noun Phrase - IF01

Noun Phrase - IF01

University

19 Qs

Term 2_Lesson 3_Unpaid expenses & Variable expenses

Term 2_Lesson 3_Unpaid expenses & Variable expenses

University

19 Qs

What do I know about REPORTS already?

What do I know about REPORTS already?

University

10 Qs

PHYSICAL APPEARENCE

PHYSICAL APPEARENCE

University

14 Qs

Macro-environment

Macro-environment

University

10 Qs

TOEIC 660 U5

TOEIC 660 U5

University

16 Qs

Shopping For Clothes

Shopping For Clothes

2nd Grade - University

16 Qs

Pathways Unit 7 A Vocabulary

Pathways Unit 7 A Vocabulary

12th Grade - University

10 Qs

Android - Quiz 11

Android - Quiz 11

Assessment

Quiz

English

University

Medium

Created by

Nguyễn Hương

Used 2+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Any Android application can protect itself by declaring permissions that can be accessed by other applications. This can be achieved using the <permission> tag in the activity_main.xml file of the Android applications providing the permission.
True
False

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

How is a simulator different from an emulator?
Emulators are only used to play old SNES games, simulators are used for software development
The emulator is shipped with the Android SDK and third party simulators are not
The emulator can virtualize sensors and other hardware features, while the simulator cannot
The emulator imitates the machine executing the binary code, rather than simulating the behavior of the code at a higher level

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Does Activity need UI?
Yes
No

4.

MULTIPLE SELECT QUESTION

1 min • 1 pt

Which of the following statements are correct?
ArrayList increments 50% of its current size when it growing size in default
ArrayList increments 100% of its current size when it growing size in default
Vector increments 50% of its current size when it growing size in default
Vector increments 100% of its current size when it growing size in default

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Broadcast receivers are Android's implementation of a system-wide publish/subscribe mechanism, or more precisely, what design pattern?
Observer
Façade
Mediator
Command

6.

MULTIPLE SELECT QUESTION

1 min • 1 pt

Why use a factory class to instantiate a class when we can use a new operator?
Factory design pattern results in more decoupled code as it allows us to hide creational logic from dependant code
It allows us to introduce an Inversion of the Control container.
It gives you a lot more flexibility when changing the application as our creational logic is hidden from dependant code.
None of above

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following is not true about fragments?
A fragment has its own lifecycle and receives its own input events.
It is not possible to remove a fragment while the activity is running.
A fragment is defined in a Kotlin class.
A fragment's UI is defined in an XML layout file.

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?