Search Header Logo

Android Pre-test

Authored by krissy Val

Computers

Professional Development

Android Pre-test
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

35 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the Android OS architectural component that provides the framework for building apps?

Activities

Services

Broadcast Receivers

Content Providers

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT a part of the Android UI component hierarchy?

View

Widget

Linear Layout

Relative Layout

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you create a new Android project in Android Studio?

File > New Project

File > Open Project

Tools > Create New Project

Settings > New Project

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the AndroidManifest.xml file in an Android project?

To define the project's dependencies

To declare the project's permissions

To specify the project's hardware requirements

To define the project's UI components

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the difference between a fragment and an activity?

A fragment is a self-contained piece of code that can be used in different activities, while an activity is a single instance of a fragment.

A fragment is a part of an activity, while an activity is a separate entity.

A fragment is used for background processing, while an activity is used for the UI.

Fragments and activities are the same thing.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the advantage of using Fragments over Activities?

Fragments are more flexible and reusable than activities.

Fragments are easier to manage than activities.

Fragments provide better performance than activities.

Fragments have fewer limitations than activities.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the Navigation Component in Android?

To handle user input and events

To manage the app's navigation between fragments and activities

To handle data storage and retrieval

To handle background processing and services

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?