wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Android Unit 1 2 and 3

Total questions: 150

Worksheet time: 1hrs 15mins

Name
Class
Date
1.

Android is based on which operating system?

a)

Windows

b)

Linux

c)

Unix

d)

MacOS

2.

Android was developed by:

a)

Apple

b)

Microsoft

c)

Google

d)

IBM

3.

Android is an example of:

a)

Closed source OS

b)

Proprietary OS

c)

Open source OS

d)

Desktop OS

4.

Android was initially developed by:

a)

Sun Microsystems

b)

Android Inc.

c)

Oracle

d)

Samsung

5.

First commercial Android version was released in:

a)

2006

b)

2007

c)

2008

d)

2009

6.

Android is mainly designed for:

a)

Servers

b)

Desktop computers

c)

Mobile devices

d)

Supercomputers

7.

Android applications can run on:

a)

Only phones

b)

Only tablets

c)

All Android-powered devices

d)

Only smart TVs

8.

Android kernel is based on:

a)

Unix kernel

b)

Windows kernel

c)

Linux kernel

d)

DOS kernel

9.

Android source code is licensed under:

a)

MIT License

b)

Apache License 2.0

c)

BSD License

d)

Mozilla License

10.

Android OS is mainly written in:

a)

Python

b)

C and C++

c)

Java and Kotlin

d)

PHP

11.

Which database is used in Android for local storage?

a)

MySQL

b)

Oracle

c)

SQLite

d)

MongoDB

12.

Android supports which messaging services?

a)

Email only

b)

SMS only

c)

MMS only

d)

SMS and MMS

13.

Android supports which type of multitasking?

a)

Single task

b)

Dual task

c)

Multitasking

d)

No task

14.

Which sensor is NOT supported by Android?

a)

Accelerometer

b)

GPS

c)

Camera

d)

None of the above

15.

Android web browser is based on

a)

Firefox

b)

Safari

c)

WebKit / Chrome

d)

Edge

16.

Android supports which connectivity option?

a)

GSM

b)

WiFi

c)

Bluetooth

d)

All of the above

17.

Multi-touch feature means

a)

One finger touch

b)

Two or more finger touch

c)

No touch

d)

Stylus only

18.

Android supports which media format?

a)

MP3

b)

JPEG

c)

MP4

d)

All of the above

19.

GCM stands for

a)

Google Cloud Messaging

b)

Global Communication Model

c)

General Cloud Method

d)

Google Content Manager

20.

Wi-Fi Direct is used for

a)

Internet browsing

b)

Peer-to-peer connection

c)

Bluetooth replacement

d)

Email service

21.

Which is the first Android version?

a)

Cupcake

b)

Donut

c)

Android 1.0

d)

Eclair

22.

Cupcake belongs to which Android version?

a)

1.1

b)

1.5

c)

1.6

d)

2.0

23.

Which Android version introduced Material Design?

a)

KitKat

b)

Jelly Bean

c)

Lollipop

d)

Oreo

24.

Android 10 is also known as:

a)

Pie

b)

Q

c)

R

d)

Oreo

25.

Android Pie version number is:

a)

8.0

b)

9.0

c)

10.0

d)

11.0

26.

API level is used to:

a)

Identify Android version

b)

Store data

c)

Create UI

d)

Design layouts

27.

Android 11 API level is:

a)

29

b)

30

c)

31

d)

28

28.

First public mobile phone call was made in:

a)

1965

b)

1973

c)

1980

d)

1990

29.

DynaTAC 8000X was developed by:

a)

Nokia

b)

Apple

c)

Motorola

d)

Samsung

30.

Symbian OS was mainly driven by:

a)

Google

b)

Apple

c)

Nokia

d)

Microsoft

31.

Android architecture has how many layers?

a)

3

b)

4

c)

5

d)

6

32.

Lowest layer of Android architecture is:

a)

Applications

b)

Libraries

c)

Linux Kernel

d)

Runtime

33.

Which virtual machine was used earlier in Android?

a)

JVM

b)

ART

c)

Dalvik

d)

HotSpot

34.

Current Android runtime is:

a)

Dalvik

b)

JVM

c)

ART

35.

Android SDK stands for:

a)

Software Development Kit

b)

System Development Kit

c)

Source Development Kit

d)

Standard Development Kit

36.

Android SDK is used for:

a)

Testing apps only

b)

Developing Android apps

c)

Running servers

d)

Database management

37.

Android emulator is used to:

a)

Publish apps

b)

Design UI

c)

Test apps

d)

Store data

38.

AVD stands for:

a)

Android Virtual Device

b)

Application Version Device

c)

Advanced Virtual Device

d)

Android Verified Device

39.

SDK Manager is used to:

a)

Run apps

b)

Download APIs

c)

Write code

d)

Debug apps

40.

Android Studio is:

a)

Compiler

b)

IDE

c)

Emulator

d)

OS

41.

AndroidManifest.xml contains:

a)

UI design only

b)

Database code

c)

App information

d)

Images

42.

Activity represents:

a)

Background task

b)

App database

c)

A single screen

d)

Service

43.

Intent is used to:

a)

Store data

b)

Move between activities

c)

Design layout

d)

Create database

44.

Service runs in:

a)

Foreground only

b)

Background

c)

UI thread only

d)

Database layer

45.

Content Provider is used for:

a)

UI design

b)

Data sharing

c)

Event handling

d)

App installation

46.

Fragment is used to:

a)

Create database

b)

Reuse UI components

c)

Replace activity

d)

Compile code

47.

XML is mainly used for:

a)

Business logic

b)

UI structure

c)

Database queries

d)

Network calls

48.

View is:

a)

Database

b)

UI component

c)

Background service

d)

API

49.

Gradle is used for:

a)

UI design

b)

App building

c)

App testing only

d)

App installation

50.

APK file is:

a)

Source code

b)

Compiled Android app

c)

Database file

d)

Layout file

51.

Context in Android is:

a)

A database

b)

An interface to global application information

c)

A UI layout

d)

A service

52.

Which method returns Application Context?

a)

getContext()

b)

this

c)

getApplicationContext()

d)

getBaseContext()

53.

Application Context lifecycle is tied to:

a)

Activity

b)

Service

c)

Application

d)

Fragment

54.

Using Activity Context incorrectly may cause:

a)

Faster execution

b)

Memory leak

c)

Compilation error

d)

UI crash

55.

Which context should be used for singleton objects?

a)

Activity Context

b)

Service Context

c)

Application Context

d)

Fragment Context

56.

Activity Context lifecycle is tied to:

a)

Application

b)

Activity

c)

System

d)

Thread

57.

Context provides access to:

a)

Only UI

b)

Resources and system services

c)

Database only

d)

Network only

58.

Which keyword is used to pass Activity Context?

a)

super

b)

context

c)

this

d)

self

59.

An Activity represents:

a)

Background task

b)

Database

c)

Single screen UI

d)

Service

60.

First lifecycle method called in Activity:

a)

onStart()

b)

onResume()

c)

onCreate()

d)

onRestart()

61.

Activity & Lifecycle (9–18) — Activity becomes visible in which state?

a)

Created

b)

Started

c)

Destroyed

62.

Activity enters foreground in:

a)

onStart()

b)

onCreate()

c)

onResume()

d)

onStop()

63.

When another activity comes in front, current activity goes to:

a)

Stopped

b)

Destroyed

c)

Paused

d)

Created

64.

onRestart() is called when activity moves from:

a)

Paused to Resumed

b)

Stopped to Started

c)

Created to Started

d)

Resumed to Paused

65.

Which method is used to clean resources before activity is destroyed?

a)

onStop()

b)

onPause()

c)

onDestroy()

d)

onRestart()

66.

Activity class belongs to which package?

a)

android.view

b)

android.app

c)

android.content

d)

android.widget

67.

Which lifecycle method saves UI state?

a)

onCreate()

b)

onPause()

c)

onStop()

d)

onResume()

68.

Activity cannot directly jump from:

a)

Created to Resumed

b)

Paused to Resumed

c)

Stopped to Started

69.

Service runs in:

a)

UI thread

b)

Foreground only

c)

Background

d)

Database

70.

Service has UI?

a)

Yes

b)

No

c)

Sometimes

d)

Depends on version

71.

Which method starts a service?

a)

startActivity()

b)

startService()

c)

bindService()

d)

openService()

72.

Bound service is created using:

a)

startService()

b)

stopService()

c)

bindService()

d)

closeService()

73.

Which callback is mandatory in Service?

a)

onCreate()

b)

onBind()

c)

onDestroy()

d)

onStart()

74.

onStartCommand() is called when:

a)

Service is destroyed

b)

Service is started

c)

Service is bound

d)

App is closed

75.

IBinder object is returned in:

a)

onCreate()

b)

onDestroy()

c)

onBind()

d)

onStartCommand()

76.

Service lifecycle is independent of:

a)

System

b)

Activity

c)

OS

d)

User

77.

Intent is used to:

a)

Store data

b)

Connect database

c)

Communicate between components

d)

Design UI

78.

Intent dictionary meaning is:

a)

Message

b)

Data

c)

Purpose

d)

Signal

79.

Which intent starts a specific activity?

a)

Implicit

b)

Explicit

c)

Broadcast

d)

Sticky

80.

Implicit intent specifies:

a)

Component name

b)

Fully qualified class

c)

Action only

d)

Package name

81.

startActivity() uses which object?

a)

Context

b)

Bundle

c)

Intent

82.

Intent.ACTION_VIEW is used to:

a)

Send SMS

b)

Open web page

c)

Start service

d)

Close app

83.

Intent data is passed using:

a)

putData()

b)

setData()

c)

putExtra()

d)

addValue()

84.

LabeledIntent is subclass of:

a)

Context

b)

Activity

c)

Intent

d)

Service

85.

AndroidManifest.xml is located in:

a)

res folder

b)

src folder

c)

root directory

d)

assets

86.

Manifest root tag is:

a)

<application>

b)

<activity>

c)

<manifest>

d)

<intent-filter>

87.

Which tag registers an activity?

a)

<service>

b)

<provider>

c)

<activity>

d)

<receiver>

88.

Main launcher activity uses which intent filter?

a)

VIEW

b)

DEFAULT

c)

MAIN + LAUNCHER

d)

BROWSABLE

89.

Which tag declares permissions?

a)

<permission>

b)

<uses-permission>

c)

<grant-permission>

d)

<allow-permission>

90.

Only one ___ tag is allowed in manifest:

a)

activity

b)

service

c)

application

d)

intent-filter

91.

is used to specify:

a)

Permissions

b)

API versions

c)

Screen size

d)

Hardware

92.

Which tag registers broadcast receiver?

a)

<service>

b)

<provider>

c)

<receiver>

d)

<activity>

93.

Resources are stored inside:

a)

src

b)

assets

c)

res

d)

lib

94.

Layout XML files are stored in:

a)

res/menu

b)

res/values

c)

res/layout

95.

String resources are defined in:

a)

colors.xml

b)

strings.xml

c)

dimens.xml

d)

styles.xml

96.

R class is generated:

a)

Manually

b)

By user

c)

Automatically

d)

By database

97.

Dangerous permissions are granted at:

a)

Compile time

b)

Install time

c)

Runtime

d)

Build time

98.

Which permission type needs user approval?

a)

Normal

b)

Runtime

c)

Signature

d)

System

99.

BroadcastReceiver method is:

a)

onCreate()

b)

onReceive()

c)

onStart()

d)

onBind()

100.

sendBroadcast() is used for:

a)

Activity

b)

Service

c)

Broadcast Intent

d)

Database

101.

Android UI is mainly designed using:

a)

Java files only

b)

XML layout files

c)

Manifest file

102.

XML layout files are stored in:

a)

src

b)

assets

c)

res/layout

d)

res/values

103.

Which file defines UI strings?

a)

colors.xml

b)

styles.xml

c)

dimens.xml

d)

strings.xml

104.

Which unit is recommended for text size?

a)

px

b)

dp

c)

sp

d)

pt

105.

dp stands for:

a)

Device pixel

b)

Density pixel

c)

Density-independent pixel

d)

Display pixel

106.

Which attribute sets component width?

a)

android:height

b)

android:layout_width

c)

android:layout_height

d)

android:size

107.

match_parent means:

a)

Wrap content

b)

Fixed size

c)

Fill available space

d)

Ignore parent

108.

wrap_content means:

a)

Fill parent

b)

Use minimum space

c)

Use screen size

109.

Which folder stores images?

a)

res/layout

b)

res/menu

c)

res/drawable

d)

res/raw

110.

Which UI element displays text only?

a)

EditText

b)

TextView

c)

Button

d)

ImageView

111.

Which layout arranges components vertically or horizontally?

a)

RelativeLayout

b)

LinearLayout

c)

FrameLayout

d)

GridLayout

112.

Orientation attribute is used in:

a)

RelativeLayout

b)

LinearLayout

c)

FrameLayout

d)

ConstraintLayout

113.

RelativeLayout positions views:

a)

In rows

b)

In columns

c)

Relative to parent or other views

d)

Randomly

114.

FrameLayout is mainly used for:

a)

Multiple UI elements

b)

Single child view

c)

Grid arrangement

d)

Lists

115.

ConstraintLayout improves:

a)

App size

b)

Performance

c)

Database speed

d)

Security

116.

Which layout uses constraints?

a)

LinearLayout

b)

RelativeLayout

c)

ConstraintLayout

d)

GridLayout

117.

GridLayout arranges UI in:

a)

Rows only

b)

Columns only

c)

Table-like grid

d)

Stack

118.

Which layout overlaps components?

a)

LinearLayout

b)

FrameLayout

c)

RelativeLayout

d)

GridLayout

119.

Weight attribute is used in:

a)

RelativeLayout

b)

LinearLayout

c)

FrameLayout

d)

TableLayout

120.

layout_weight controls:

a)

Height only

b)

Width only

c)

Space distribution

d)

Margin

121.

Which layout is deprecated mostly?

a)

LinearLayout

b)

RelativeLayout

c)

ConstraintLayout

d)

GridLayout

122.

TableLayout arranges components in:

a)

Rows and columns

b)

Layers

c)

Stack

d)

Tree

123.

Button click is handled using:

a)

Intent

b)

Listener

c)

Service

d)

Fragment

124.

EditText is used for:

a)

Display text

b)

Image display

c)

User input

d)

Button

125.

ImageView is used to show:

a)

Text

b)

Buttons

c)

Images

d)

Videos

126.

CheckBox allows:

a)

Single selection

b)

Multiple selection

c)

No selection

d)

Auto selection

127.

RadioButton is used for:

a)

Multiple choice

b)

Single choice

c)

Text input

d)

Images

128.

Which widget shows a list of items?

a)

Spinner

b)

ListView

c)

TextView

129.

Spinner displays:

a)

Images

b)

Buttons

c)

Drop-down list

d)

Dialog

130.

Switch widget is used for:

a)

Text input

b)

ON/OFF option

c)

Images

d)

Navigation

131.

ToggleButton represents:

a)

Menu

b)

List

c)

Boolean state

d)

Image

132.

ProgressBar is used to show:

a)

Text

b)

Image

c)

Progress

d)

Button

133.

SeekBar allows user to:

a)

Enter text

b)

Slide value

c)

Click button

d)

Scroll page

134.

RatingBar is used for:

a)

Rating input

b)

Text input

c)

Image display

d)

List

135.

Which widget displays web content?

a)

WebView

b)

TextView

c)

ImageView

136.

Styles are defined in:

a)

layout.xml

b)

AndroidManifest.xml

c)

styles.xml

d)

colors.xml

137.

Theme is applied to:

a)

Single view

b)

Activity or app

c)

Button only

d)

Layout only

138.

Which file defines colors?

a)

styles.xml

b)

strings.xml

c)

colors.xml

d)

dimens.xml

139.

Material Design was introduced in:

a)

Android 2.3

b)

Android 4.0

c)

Android 5.0

d)

Android 6.0

140.

Material Design focuses on:

a)

Speed only

b)

Flat UI only

c)

Visual + motion

d)

Database

141.

Which component shows top app bar?

a)

Toolbar

b)

Button

c)

TextView

d)

Spinner

142.

Floating Action Button is used for:

a)

Navigation

b)

Primary action

c)

Text input

d)

Menu

143.

Which file controls app icon?

a)

styles.xml

b)

drawable

c)

mipmap

d)

values

144.

Navigation drawer slides from:

a)

Bottom

b)

Top

c)

Left/Right

d)

Center

145.

Which design supports different screen sizes?

a)

px units

b)

Hard coding

c)

Responsive design

d)

Fixed layout

146.

Which unit is best for margins and padding?

a)

px

b)

sp

c)

dp

d)

in

147.

Which attribute sets background color?

a)

android:color

b)

android:bg

c)

android:background

d)

android:setColor

148.

Which folder stores menu XML?

a)

res/layout

b)

res/menu

c)

res/drawable

d)

res/raw

149.

UI consistency improves:

a)

Memory

b)

UX

c)

Database

d)

Security

150.

Android Design Essentials mainly focus on:

a)

Coding logic

b)

Database

c)

User experience

d)

Networking