Android - Quiz 11

Android - Quiz 11

University

15 Qs

quiz-placeholder

Similar activities

Fundamental C Programming

Fundamental C Programming

University

14 Qs

Fragments, Run-on, Comma splice

Fragments, Run-on, Comma splice

University

18 Qs

Fragments, run ons, splices

Fragments, run ons, splices

University

15 Qs

Sentence or Fragment Advance

Sentence or Fragment Advance

University

15 Qs

Sentence Errors

Sentence Errors

University

12 Qs

Phrase, Fragment, Sentence

Phrase, Fragment, Sentence

University

20 Qs

Complete sentence or Fragment?

Complete sentence or Fragment?

University

10 Qs

Sentence Fragment

Sentence Fragment

University

15 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?