SA1 REVIEWER

0.0(0)
Studied by 0 people
call kaiCall Kai
Locked
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/184

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 1:45 PM on 8/29/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

185 Terms

1
New cards

The Dalvik VM enables every Android application to run in its own process, with its own instance of the Dalvik virtual

machine.

True

False

True

2
New cards

One of the major update on Android Pie is ______________.

PIP Mode

Material Design

Adaptive Brightness

Fingerprint Authentication

Adaptive Brightness

3
New cards

Android 4.4 is also know as _______________.

Marshmallow

Nougat

Pie

Kitkat

Kitkat

4
New cards

Android is a proprietary and only Google is allowed to use it.

True

False

False

5
New cards

Android is a mobile operating system based on Windows.

True

False

False

6
New cards

Multi-window support was introduce in Android ________________.

Nougat

Pie

Kitkat

Marshmallow

Nougat

7
New cards

In Android architecture, Activity Manager falls under ________________.

Application Framework

Applications

Linux Kernel

Android Runtime

Application Framework

8
New cards

The top layer of the android architecture is _______________. The native and third-party applications like contacts, email, music, gallery, clock, games, etc. whatever we will build those will be installed on this layer only.

Android Runtime

Platform Libraries

Application Framework

Applications

Applications

9
New cards

Google purchased Android in what year?

2005

1999

2012

2001

2005

10
New cards

The first release of Android with a dessert codename is ___________.

Android 1.5

Android 1.8

Android 1.0

Android 1.2

Android 1.5

11
New cards

In Kotlin, it is possible to inherit class properties and functions from one class to another.

True

False

True

12
New cards

What is the correct way to create an object called myObj of the class MyClass?

myObj : MyClass()

MyClass.new myObj

myObj = new MyClass()

val myObj = MyClass()

val myObj = MyClass()

13
New cards

What is the fname known as in the following code: fun myFunction(fname: String)

range

inherit

parameter

override

parameter

14
New cards

What is the output of the following code: println(5 > 3 && 5 < 10)

true

null

false

undefined

true

15
New cards

In Kotlin, how can you create a variable with the numeric value 5

num =. 5

val num = 5

int num = 5

num = 5 int

val num = 5

16
New cards

How can you create a variable with the floating number 2.8?

double num = 2.8

float num = 2.8

val num = 2.8

num = 2.8 float

val num = 2.8

17
New cards

Array indexes start with:

nil

-1

0

1

0

18
New cards

In Kotlin, code statements must end with a semicolon (;)

True

False

False

19
New cards

Which of the following is used to declare an array in Kotlin?

arrayOf()

[]

new array()

array()

arrayOf()

20
New cards

How do you insert COMMENTS in Kotlin code?

-- this is my comment

% this is my comment

# this is my comment

// this is my comment

// this is my comment

21
New cards

What is a correct syntax to output "Hello World" in Kotlin?

Console.WriteLine("Hello Gwapo");

cout<

println("Hello Gwapo")

22
New cards

_______________ are additional files and static content that your code uses, such as bitmaps, layout definitions, etc.

Receivers

Activities

Resources

Services

Resources

23
New cards

If you want to access an image from your res folder to your Java code, what command you should use?

R.id.image

R.drawable.image

R.res.image

res/drawable/image

R.drawable.image

24
New cards

UI elements that are drawn on-screen including buttons, lists forms etc.

Layouts

Views

Intents

Fragments

Views

25
New cards

All application components in an Android application can be observed in the MainActivity.java file.

True

False

False

26
New cards

_________ class contains resource IDs for all the resources available in your directory.

ID

R

xml

res

R

27
New cards

An Android ______ is one screen of the app's user interface.

Activity

28
New cards

An activity is similar to ______ in a desktop application.

Windows

29
New cards

An Android app starts by showing the main ______.

Activity

30
New cards

An Android activity goes through a certain life ______ during its existence.

Cycle

31
New cards

All activities are subclasses of android.app.______

Activity

32
New cards

The Activity class contains methods that correspond to the life cycle ______.

States

33
New cards

The first callback called when the activity is created is ______.

onCreate()

34
New cards

The callback called when the activity becomes visible is ______.

onStart()

35
New cards

The callback called when the user starts interacting with the app is ______.

onResume()

36
New cards

The callback called when the activity is being paused is ______.

onPause()

37
New cards

A paused activity does not receive user ______ and cannot execute code.

Input

38
New cards

The callback called when the activity is no longer visible is ______.

onStop()

39
New cards

The callback called before the activity is destroyed is ______.

onDestroy()

40
New cards

The callback called when the activity restarts after stopping is ______.

onRestart()

41
New cards

All activities must be declared in the ______ file.

Manifest

42
New cards

In the manifest an activity is declared inside the ______ element.

43
New cards

UI components are loaded from XML files stored in the ______ folder.

res/layout

44
New cards

The method used to set the activity's layout is ______.

setContentView()

45
New cards

In a Kotlin Android project the main logic file is ______

MainActivity.kt

46
New cards

In a Kotlin Android project the main layout file is ______

activity_main.xml

47
New cards

Step 1 of creating a Kotlin project: Select the ______ for your application.

Layout

48
New cards

Step 2 of creating a Kotlin project: Write the application name and select the language ______.

Kotlin

49
New cards

Step 3 of creating a Kotlin project gives you two files: MainActivity.kt and ______.

activity_main.xml

50
New cards

Application components are the essential building blocks of an Android _______

application

51
New cards

The configuration file that describes each component and how they interact is called _______

AndroidManifest.xml

52
New cards

An _______ represents a single screen with a user interface

Activity

53
New cards

An activity is implemented as a subclass of the _______ class

Activity

54
New cards

A _______ runs in the background to perform long-running operations

Service

55
New cards

A service is implemented as a subclass of the _______ class

Service

56
New cards

_______ simply respond to broadcast messages from the system or other applications

Broadcast Receivers

57
New cards

A broadcast receiver is implemented as a subclass of the _______ class

BroadcastReceiver

58
New cards

A _______ supplies data from one application to others on request

Content Provider

59
New cards

A content provider is implemented as a subclass of the _______ class

ContentProvider

60
New cards

A portion of a user interface in an Activity is called a _______

Fragment

61
New cards

UI elements that are drawn on screen including buttons, lists, and forms are called _______

Views

62
New cards

View hierarchies that control screen format and appearance are called _______

Layouts

63
New cards

Messages wiring components together in Android are called _______

Intents

64
New cards

External elements such as strings, constants, and drawable pictures are called _______

Resources

65
New cards

The configuration file for the application is called the _______

Manifest

66
New cards

Resources in Android are maintained in the _______ directory

res/

67
New cards

XML files that define Property animations are stored in _______

animator/

68
New cards

XML files that define Tween animations are stored in _______

anim/

69
New cards

XML files that define a state list of colors are stored in _______

color/

70
New cards

Image files like .png, .jpg, .gif or XML drawable files are stored in _______

drawable/

71
New cards

XML files that define a user interface layout are stored in _______

layout/

72
New cards

XML files that define application menus are stored in _______

menu/

73
New cards

Arbitrary files saved in their raw form are stored in _______

raw/

74
New cards

Simple values such as strings, integers, and colors are defined in _______

values/

75
New cards

Arbitrary XML files for runtime use such as configuration are stored in _______

xml/

76
New cards

Font files such as .ttf, .otf, or XML font-family definitions are stored in _______

font/

77
New cards

To set an image resource in code from drawable, you use _______

setImageResource(R.drawable.myimage)

78
New cards

String resources are defined in the file _______

res/values/strings.xml

79
New cards

To set the layout of an activity in code you use _______

setContentView(R.layout.activity_main)

80
New cards

In XML, to reference a color resource you use _______

@color/resource_name

81
New cards

In XML, to reference a string resource you use _______

@string/resource_name

82
New cards

Kotlin was released in ____ by JetBrains.

2016

83
New cards

Kotlin is fully interoperable with _____.

Java

84
New cards

Kotlin is cross-platform and works on _____.

Windows, macOS, Linux, Raspberry Pi

85
New cards

Kotlin is concise, safe, and _____.

expressive

86
New cards

Kotlin is easy to learn if you already know _____.

Java

87
New cards

Kotlin is free and _____.

open-source

88
New cards

In Kotlin, the keyword used to define a function is _____.

fun

89
New cards

In Kotlin, the entry point of a program is the _____ function.

main()

90
New cards

In Kotlin, semicolons (;) are _____.

optional

91
New cards

The symbol for a single-line comment in Kotlin is _____.

//

92
New cards

The symbol for a multi-line comment in Kotlin is _____.

/* ... */

93
New cards

In Kotlin, the keyword for an immutable variable is _____.

val

94
New cards

In Kotlin, the keyword for a mutable variable is _____.

var

95
New cards

Kotlin supports _____.

type inference

96
New cards

The operator that allows null values in Kotlin is _____.

?

97
New cards

The keyword used for late initialization in Kotlin is _____.

lateinit

98
New cards

The expression used as a switch equivalent in Kotlin is _____.

when

99
New cards

The Kotlin loop that iterates from 1 to 5 is written as _____.

for (i in 1..5)

100
New cards

The Kotlin loop that executes while a condition is true is _____.

while