[FAST TRACK] Android Class Quiz week 05 12/05

[FAST TRACK] Android Class Quiz week 05 12/05

Professional Development

15 Qs

quiz-placeholder

Similar activities

[FAST TRACK] Android class quiz 10

[FAST TRACK] Android class quiz 10

Professional Development

15 Qs

AdvJava Final

AdvJava Final

Professional Development

20 Qs

Microservices - Patterns

Microservices - Patterns

University - Professional Development

11 Qs

Salesforce Q/A for 12 June

Salesforce Q/A for 12 June

Professional Development

20 Qs

[FAST TRACK] Android quiz 08 (03.06)

[FAST TRACK] Android quiz 08 (03.06)

Professional Development

15 Qs

[FAST TRACK] Android Class Quiz week 05 12/05

[FAST TRACK] Android Class Quiz week 05 12/05

Assessment

Quiz

Other, World Languages, Professional Development

Professional Development

Practice Problem

Hard

Created by

Trang Thu

Used 7+ 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

45 sec • 1 pt

What is different between DataBinding and FindViewById method?

DataBinding generate binding class at runtime and findViewById run at compile time.
DataBinding generate binding class at compile time and findViewById run at runtime.
DataBinding and findViewById run at compile time.
DataBinding and findViewById run at runtime

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the difference between const and val?

The keywords const and val are used to declare an immutable property (read-only properties).
const is also known as Compile-time constant. So, no runtime assignment of values is allowed in const variables. So, you can't assign a const variable to a function or to some class. And the val properties can be initialised at the runtime. So, you can assign a val variable to a function or to some class
const only can be used for number like Integer, Long, float. Val can use for all type.

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Can we create a clone of a singleton object?

true
false

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

With x = 0, which of the following are legal lines of Java code for changing the value of x to 1?

1, 2 & 3
1 & 4
1, 2, 3 & 4
3 & 2

5.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

What are the configuration changes?

Language changes
Sensor changes
Screen rotations
Keyboard changes

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

A series of actions for a particular Use Case without class behaviours can be modelled using......

A Class Diagram
A Package Diagram
A Sequence Diagram
An Activity Diagram

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the difference between a factory and an abstract factory design pattern?

Factory pattern is in Creational groups but Abstract factory pattern does not.
Factory pattern creates an object through inheritance and produces only one Product. And abstract factory pattern creates the object through composition and produce families of products.
Abstract factory pattern creates an object through inheritance and produces only one Product. And factory pattern creates the object through composition and produce families of products.
There is no different between them.

Create a free account and access millions of resources

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?