Search Header Logo

[FAST TRACK] Android quiz week 07 (27.05)

Authored by Trang Thu

Special Education, Professional Development, English

Professional Development

Used 4+ times

[FAST TRACK] Android quiz week 07 (27.05)
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which is type of Singleton allows intance is loaded into memory when calling method getInstance() ?

Double Check Locking
Thread Safe
Bill Pugh
Lazy Initialization

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of the following statements is true about Sequence Diagrams?

Each message is represented by an arrow between the lifelines of two objects
Each message is represented by a dashed vertical line
Each message must be related to two distinct objects
A&C

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is different between Template Method pattern and Strategy pattern?

Template Method pattern is compile-time algorithm selection, Strategy pattern is run-time algorithm selection.
Template Method pattern is run-time algorithm selection, Strategy pattern is compile-time algorithm selection.
Both of them is run-time algorithm selection. But algorithm in Template Method has independent relationship, algorithm in Strategy has constraint relationship
Both of them is compile-time algorithm selection. But algorithm in Template Method has constraint relationship, algorithm in Strategy has independent relationship

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of these type parameters is used for a generic methods to return and accept any type of object?

K
N
T
V

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

……………. controls life cycle of activities and manages activity stack level requirements

Windows Manager
Content Provider
Activity Manager

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

The difference between actors and objects of the same name is

Actor is outside and object is inside the system
Objects are outside and actors are inside the system
Objects have behavior and actors have no behavior
Actor has behavior and object has no behavior

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

It is used in the following cases:

- When we want to represent a partial or full hierarchy of objects.

- In case we need to add the responsibilities dynamically to the individual object without affecting other objects.

What it is?

Composite pattern
Decorator pattern
Template pattern
State pattern

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?