Android - Quiz 11

Android - Quiz 11

University

15 Qs

quiz-placeholder

Similar activities

วัดแววภาษา

วัดแววภาษา

KG - University

10 Qs

Story 1: The Lark and her young ones

Story 1: The Lark and her young ones

University

14 Qs

PRESENT SIMPLE - AFFIRMATIVE

PRESENT SIMPLE - AFFIRMATIVE

3rd Grade - Professional Development

12 Qs

The Great Gatsby

The Great Gatsby

10th Grade - University

11 Qs

E1-U7-8

E1-U7-8

University

20 Qs

Gerunds (Ving)

Gerunds (Ving)

University

10 Qs

Descriptive words

Descriptive words

University

17 Qs

Transitions Practice

Transitions Practice

7th Grade - University

11 Qs

Android - Quiz 11

Android - Quiz 11

Assessment

Quiz

English

University

Practice Problem

Medium

Created by

Nguyễn Hương

Used 2+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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.

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?