Android - Quiz 11

Android - Quiz 11

University

15 Qs

quiz-placeholder

Similar activities

CTJ - St. Patrick's Hullabaloo

CTJ - St. Patrick's Hullabaloo

4th Grade - Professional Development

10 Qs

Unit 15: Do you have any toys?

Unit 15: Do you have any toys?

12th Grade - University

20 Qs

FE - Adjectives

FE - Adjectives

12th Grade - University

14 Qs

English quiz 1

English quiz 1

10th Grade - University

14 Qs

Expressions of quantity

Expressions of quantity

10th Grade - University

10 Qs

Vowels

Vowels

10th Grade - University

10 Qs

Gerunds and Infinitives

Gerunds and Infinitives

University

10 Qs

TALKSHOW TIẾNG ANH SAY HI - IUH

TALKSHOW TIẾNG ANH SAY HI - IUH

University

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