click below
click below
Normal Size Small Size show me how
SA1 - 011
| Term | Definition |
|---|---|
| The Dalvik VM enables every Android application to run in its own process with its own instance of the Dalvik virtual machine. | T |
| One of the major update on Android Pie is _ | Adaptive Brightness |
| Android 4.4 is also known as _ | KitKat |
| Android is a proprietary and only Google is allowed to use it | F |
| Android is a mobile operating system based on Windows | F |
| Multi-window support was introduced in Android _ | Nougat |
| In Android architecture, Activity Manager falls under _ | Application Framework |
| 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. | Applications |
| Google purchased Android in what year? | 2005 |
| The first release of Android with a dessert codename is _. | Android 1.5 |
| In Kotlin it is possible to inherit class properties and functions from one class to another | T |
| What is the correct way to create an object called myObj of the class MyClass? | val myObj = MyClass() |
| What is the fname known as in the following code: fun myFunction(fname: String) | parameter |
| What is the output of the following code: println(5 > 3 && 5 < 10) | true |
| In Kotlin, how can you create a variable with the numeric value 5 | val num = 5 |
| How can you create a variable with a floating number 2.8? | val num = 2.8 |
| Array indexes start with nil | 0 |
| In Kotlin, code statements must end with a semicolon (;) | F |
| Which of the following is used to declare an array in Kotlin? | arrayOf() |
| How do you insert COMMENTS in Kotlin code? | // this is my comment |
| What is a correct syntax to output "Hello World" in Kotlin? | println("Hello Gwapo" |
| _ are additional files and static content that your code uses, such as bitmaps, layout definitions, etc. | Resources |
| If you want to access an image from your res folder to your Java code, what command you should use? | R.drawable.image |
| UI elements that are drawn on-screen including buttons, lists, forms, etc. | Views |
| All application components in an Android application can be observed in the MainActivity.java file | F |
| _ class contains resource IDs for all the resources available in your directory | R |
| An Android _ is one screen of the app's user interface | Activity |
| An activity is similar to _ in a desktop application | Windows |
| An Android app starts by showing the main _. | Activity |
| An Android activity goes through a certain life _ during its existence. | Cycle |
| All activities are subclasses of android.app._ | Activity |
| The Activity class contains methods that correspond to the life cycle _ | States |
| The first callback called when the activity is created is _. | onCreate() |
| The callback called when the activity becomes visible is _. | onStart() |
| The callback called when the user starts interacting with the app is _. | onResume() |
| The callback called when the activity is being paused is _. | onPause() |
| A paused activity does not receive user _ and cannot execute code. | input |
| The callback called when the activity is no longer visible is _. | onStop() |
| The callback called before the activity is destroyed is _. | onDestroy() |
| The callback called when the activity restarts after stopping is _. | onRestart() |
| All activities must be declared in the _ file. | Manifest |
| In the manifest an activity is declared inside the _ element. | <application> |
| UI components are loaded from XML files stores in the _ folder | res/layout |
| The method used to set the activity's layout is _ | setContentView() |
| In a Kotlin Android project the main logic file is _ | MainActivity.kt |
| In a Kotlin Android project the main layout file is _ | activity_main.xml |
| Step 1 of creating a Kotlin project: Select the _ for your application | Layout |
| Step 2 of creating a Kotlin project: Write the application name and select the language _. | Kotlin |
| Step 3 of creating a Kotlin project gives you two files: MainActivity.kt and _. | activity_main.xml |
| Application components are the essential building blocks of and Android _ | application |
| The configuration file that describes each component and how they interact is called _ | AndroidManifest.xml |
| An _ represents a single screen with a user interface | Activity |
| An activity is implemented as a subclass of the _ class. | Activity |
| A _ runs in the background to perform long-running operations | Service |
| A service is implemented as a subclass of the _ class | Service |
| _ simply respond to broadcast messages from the system or other applications | Broadcast Receivers |
| A broadcast receiver is implemented as a subclass of the _ class | BroadcastReceiver |
| A _ supplies data from one application to others on request | Content Provider |
| A content provider is implemented as a subclass of the _ class | ContentProvider |
| A portion of a user interface in an Activity is called a _ | fragment |
| UI elements that are draw on screen including buttons, lists, and forms are called | Views |
| View hierarchies that control screen format and appearance are called _ | Layouts |
| Messages wiring components together in Android are called | Intents |
| External elements such as strings, constants, and drawable pictures are called _. | Resources |
| The configuration file for the application is called the _ | Manifest |
| Resources in Android are maintained in the _ directory | res/ |
| XML files that define Property animations are stored in _. | animator/ |
| XML files that define Tween animations are stored in _ | anim/ |
| XML files that define a state list of colors are stored in _ | color/ |
| Image files like .png, .jpg, .gif or XML drawable files are stored in _ | drawable/ |
| XML files that define a user interface layout are stored in | layout/ |
| XML files that define application menus are stored in _ | menu/ |
| Arbitrary files saved in their raw form are stored in _ | raw/ |
| Simple values such as strings, integers, and colors are defined in _ | values/ |
| Arbitrary XML files for runtime use such as configuration are stored in _ | xml/ |
| Font files such as .ttf, .otf, or XML font-family definitions are stored in _ | font/ |
| To set an image resource in code from drawable, you use _ | setImageResource(R.drawable.myimage) |
| String resources are defined in the file _ | res/values/strings.xml |
| To set the layout of an activity in code you use _ | setContentView(R.layout.activity_main) |
| In XML, to reference a color resource you use _ | @color/resource_name |
| In XML, to reference a string resource you use _ | @string/resource_name |
| Kotlin was released in _ by JetBrains | 2016 |
| Kotlin is fully interoperable with _. | Java |
| Kotlin is cross-platform and works on _. | Windows, macOS, Linux, Raspberry Pi |
| Kotlin is concise, safe, and _ | expressive |
| Kotlin is easy to learn if you already know _. | Java |
| Kotlin is free and _. | open-source |
| In Kotlin, the keyword used to define a function is _. | fun |
| In Kotlin, the entry point of a program is the _ function | main() |
| In Kotlin, semicolons (;) are _. | optional |
| The symbol for a single-line comment in Kotlin is _. | // |
| The symbol for a multi-line comment in Kotlin is _. | / .. / |
| In Kotlin, the keyword for an immutable variable is _. | val |
| In Kotlin, the keyword for a mutable variable is _. | var |
| The operator that allows null values in Kotlin is _ | ? |
| The keyword used for late initialization in Kotlin is _ | lateinit |
| The expression used as a switch equivalent in Kotlin is _ | when |
| The Kotlin loop that iterates from 1 to 5 is written as _. | for (i in 1..5) |
| The Kotlin loop that executes while a condition is true is _ | while |
| A function returning "Hello, {name}" is defined with the keyword _. | fun |
| A class in Kotlin is defined using the keyword _. | class |
| A special class for storing data in Kotlin is defined with the keyword _. | data class |
| The immutable list creation function in Kotlin is _. | listOf() |
| The mutable list creation function in Kotlin is _ | mutableListOf() |
| In Kotlin, type checking with automatic casting is called _. | Smart Casting |
| A function that adds new behavior to existing classes is called an _. | Extension Function |
| Lightweight threads for asynchronous programming in Kotlin are called _. | Coroutines |
| Android Studio supports Kotlin _. | out-of-the-box |
| Kotlin is the official programming language for _ | Android development |
| The shortcut to convert Java to Kotlin in Android Studio is _ | Ctrl + Alt + Shift + K |
| The Android feature used to replace findViewByld is _. | View Binding |
| In Kotlin Android, background tasks can be run using _. | Coroutines. |
| In Android, data can be passed between activities using _ | Intents |
| In Kotlin, a variable whose value cannot change is called _. | Immutable |
| In Kotlin, a variable whose value can change is called _. | Mutable |
| A Kotlin variable that can hold null values is called _. | Nullable |
| Automatic casting when a type is checked is called _ | Smart Cast |
| A Kotlin class designed for holding data is called a _. | Data Class |
| Adding new methods to existing classes in Kotlin is done with _. | Extension Functions |
| A lightweight thread for asynchronous programming in Kotlin is called a _. | Coroutine |
| Functions like let, apply, also, run, and with are called _. | Scope Functions |
| System requirement for Windows requires at least _ RAM minimum, 8 GB recommended; plus 1 GB for the Android Emulator | 3 GB |
| System requirement for Windows requires at least _ of available disk space minimum, 4 GB recommended | 2 GB |
| Minimum screen resolution required for Windows to run Android Studio is _ | 1280 x 800 |
| MacOS supported by Android Studio Module 2 ranges from OS X 10.10 (Yosemite) up to _. | macOS High Sierra (10.13) |
| System requirement for MAC requires at least _ RAM minimum, 8 GB recommended; plus 1 GB for the Android Emulator | 3 GB |
| System requirement for Mac requires at least _ of available disk space minimum, 4 GB recommended | 2 GB |
| The first step in creating an Android Project is to click _. | Start a new Android Studio project |
| If you already have a project open, go to _. | File > New > New Project |
| When choosing your project, you must select _. | Empty Activity |
| In Configure your project, the app Name should be _. | My First App |
| In Configure your project, the Package name should be _. | com.example.myfirstapp |
| You must check the box next to _. | Use AndroidX artifacts |
| If you prefer writing the app in Java, select _ from the Language drop-down | Java |
| The final step in creating a project is to click _. | Finish |
| The Android Studio component that lets you carry out actions like running the app and launching tools is called the _ | Toolbar |
| The component that helps you navigate through your project structure and open files is the _. | Navigation Bar |
| The area where you create and modify code is the _. | Editor Window |
| The outer bar containing buttons to expand or collapse tool windows is the _. | Tool Window Bar |
| The components that give you access to project management, search, version control, and more are called _. | Tool Windows |
| The bar that displays the status of your project and IDE, including warnings or messages, is the _. | Status Bar |
| To run your app on a real device, you must connect your Android phone and enable _. | USB Debugging |
| USB Debugging can be enabled by first enabling _. | Developer options |
| To run your app on an emulator, navigate to _. | Device Manager |
| In Device Manager, first select _. | Create Device |
| When setting up the emulator, select your screen size, kind of phone, and _. | Android SDK Version |
| Android is a mobile operating system based on _. | Linux |
| Android was originally developed by _. | Android Inc. |
| Google purchased Android Inc. in the year _ | 2005 |
| The first commercial Android device was the _ | HTC Dream |
| Android 1.0 and 1.1 did not have official _ | codenames |
| Android version 1.5 is known as _ | Cupcake |
| Android version 1.6 is known as _ | Donut |
| Android version 2.0 and 2.1 are known as _ | Eclair |
| Android version 2.2 is known as _ | Froyo |
| Android version 2.3 and 2.4 are known as _ | Gingerbread |
| Android version 3.0 to 3.2 are known as _ | Honeycomb |
| Android version 4.0 is known as _ | Ice Cream Sandwich |
| Android versions 4.1, 4.2, and 4.3 are known as _ | Jelly Bean |
| Android version 4.4 is known as _ | KitKat |
| Android versions 5.0 and 5.1 are known as _ | Lollipop |
| Android version 6.0 is known as _ | Marshmallow |
| Android version 7.0 is known as _ | Nougat |
| Android version 8.0 is known as _ | Oreo |
| Android version 9.0 is known as _ | Pie |
| Android version 10 is also called _ | Quince Tart |
| Android version 11 is also called _ | Red Velvet Cake |
| Android version 12 is also called _ | Snow Cone |
| Android version 13 is also called _ | Tiramisu |
| Android version 14 is also called _ | Upside Down Cake |
| Android version 15 is also called _ | Vanilla Ice Cream |
| The main feature introduced in Android 4.1 Jelly Bean is _ | Google Now |
| The voice activation phrase "OK Google" was introduced in Android _ | KitKat / 4.4 |
| Android 5.0 introduced a new runtime environment called _ | ART (Android Runtime) |
| The feature that allows logging in using your face in Android 4.0 is called _. | Face Lock |
| The feature that allows multitasking by splitting the screen was introduced in Android _ | Nougat / 7.0 |
| The feature called Picture-in-Picture (PIP) was introduced in Android _ | Oreo / 8.0 |
| Android 9.0 introduced Adaptive _ | Battery and Brightness |
| The system layer that provides APIs for developers is called the Android _ | Framework |
| The system layer that contains core libraries and the Dalvik/ART is called the Android _ | Runtime |
| The system layer that includes SQLite, WebKit, and SSL is called the _ | Platform Libraries |
| The lowest layer of Android architecture is the _ | Linux Kernel |
| Android architecture is often described as a software | Stack |
| The key Android feature that allows it to run on multiple devices and brans is _ | open-source platform |