Font size
WorksheetsMAAD
Total questions: 76
Worksheet time: 2hrs 25mins
Android is a mobile operating system.
True
False
Android is open source software.
True
False
What is the codename of Android 1.5?
Cheesecake
Creme brulee
Cupcake
Caramel
Which codename is incorrect here?
Android 7 Nutella
Android 6 Marshmallow
Android 8 Oreo
Android 5 Lollipop
What does a "launcher" do?
Helps you achieve root status
Lets you install custom firmware
Makes launching apps quicker
Lets you change your homescreen
Do user need to pay for using Android Studio?
Yes
No
What language used in Android Studio?
Java
C#
HTML
Android Studio
Hybrid app using third party software to convert into apk
True
False
In which directory XML layout files are stored?
/res/drawable
/src
/res/values
/res/layout
On 7 May 2019, Google announced that the Kotlin programming language is now its preferred language for Android app developers.
True
False
While Java or Kotlin source files stored in ....
/res/drawable
/src
/res/values
/res/layout
During an activity life cycle, what is the first callback method invoked by the system?
onStart()
onCreate()
onPause()
onStop()
Which language is supported by Android Studio?
Python
Java
Kotlin
C/C++
Identify the features of Android.
Web Browser
Multi-Tasking
Messaging
All of the above
The foundation of the Android platform is called as ______.
Windows OS
Linux Kernel
MAC OS
Linux OS
_____ folder contains all non-code resources, such as XML layouts, UI strings, and bitmap images.
manifest
res
java
gradle scripts
___ are the objects which is used in android for passing the information among Activities in an Application
Services
Intents
Broadcast
Activity
An Intent object is passed to the _____ method, to start a Service.
startActivity()
startService()
startBroadcast()
ServiceStart()
Which type of intents are defined as those Intents that specifically mention the component that it targets.
Inline
Explicit
Implicit
Embedded
Start Activities, Services and Broadcast are examples of ___ type of intent.
Explicit
Implicit
Inline
External
Which of the following is not a objects in Intent?
Component Name
Data
Browse
Flags
Identify the elements of Intent Filters?
<action>
<data>
<category>
All of the above
What Activity method you use to retrieve a reference to an Android view by using the id attribute of a resource XML?
findViewByReference(int id)
retrieveResourceById(int id)
findViewById(int id)
findViewById(String id)
What does the following line of code achieve?
Intent intent = new Intent(FirstActivity.this, SecondActivity.class );
Starts an activity
Creates an implicit Intent.
Creates a hidden Intent.
Create an explicit Intent.
Which of the following is NOT a valid usage for Intents?
Activate a SQLite DB Connection.
Activate a Broadcast receiver.
Activate a Service.
Activate and Activity.
What is the parent class of all Activity widgets?
Layout
ViewGroup
View
Widget
What is the name of the class used by Intent to store additional information?
Parcelable
DataStore
Extra
Bundle
You can create a custom view by extending class Activity.
True
False
What does the Android project folder “res/” contain?
Resource files
Java Activity classes
Java source code
Libraries
Which method should you use to start a sub-activity?
startSubActivity(Intent intent)
startService(Intent intent)
startActivity(Intent intent)
startActivityForResult(Intent intent)
Which of the following methods is called in an Activity when another activity gets into the foreground?
onDestroy()
onStop()
onPause()
onExit()
What is not true about the AndroidManifest.xml file?
It declares the views used within the application.
It declares user permissions the application requires.
It declares hardware and software features used within the application.
It declares application components.
If your application is throwing exception android.content.ActivityNotFoundException, which of the following could resolve the problem?
Add the activity to AndroidManifest.xml
Create the activity layout
Create a new sub-class of the View class
Create a new broadcast receiver
Gradle is the build system used in Android Studio. It builds, tests, runs, and packages your apps
True
False
What method you should override to use Android menu system?
onCreateOptionsMenu()
onCreateMenu()
onMenuCreated()
onCreateContextMenu()
Which of these files contains text values that you can use in your application?
AndroidManifest.xml
res/Text.xml
res/layout/Main.xml
res/values/strings.xml
App store for iOS is
Play store
App store
App World
Phone Store
Hybrid apps are not as fast as native apps.
True
False
In android application Which file holds to use the internet_____.
create file
Manifest file
system file
None of these
Which folder that contains the R.java file of the following?
res
src
gen
bin
What is the name of the program that converts Java byte code into Dalvik byte code?
Android Interpretive Compiler (AIC)
Dalvik Converter
Dex compiler
Mobile Interpretive Compiler (MIC)
Android is based on Linux for the following reason.
Security
Portability
Networking
All of these
Which among the following are part of "Application" layer of Android Architecture
Contacts
Browser
Phone
All of these
What types of menus is/are supported by Android?
A) Option menu and Context menu
B) Only Option menu
C) Only Context menu
D) None of the above.
Creating a UI in Android requires careful use of ____________
(A) Java and SQL
(B) XML and Java
(C) XML and C++
(D) Dream weaver
What is contained within the Layout xml file?
(A) Orientations and layouts that specify what the display looks like
(B) The permissions required by the app
(C) The strings used in the app
(D) The code which is compiled to run the app
Which of the important device characteristics that you should consider as you design and develop your application?
A ) screen size and density
B ) input configurations
C ) device features
D ) all the above
onResume( )
The activity is being created.
Another activity is taking focus
The activity has become visible
The activity is about to be destroyed.
The system calls this when creating your activity?
onResume()
onStart()
onCreate()
onStop()
What are the life cycle methods of android activity?
onComplete
onPause()
onCreate()
onFinish()
onDestroy()
Andorid doesnt make any assumptions about a device's screen size,resolution,chipset
True
False
What programming language(s) can be used to create and edit Android apps?
c#
kotlin
xml
java
What is Manifest.xml in android?
It has information about layout in an application
It has the information about activities in an application
It has all the information about an application
None of these
What is Log message in android?
Log message is used to debug a program
Same as printf()
Same as Toast()
None of the above
What Android resource directory do we store our design files?
Layout
Drawable
Java
Values
What attribute will use to increase the size of the text?
app:textSize
android:textSize
tools:textSize
None of the above
During an Activity lifecycle, what is the first callback method invoked in the system?
onStop()
onStart()
onCreate()
onResume()
Which view we need to use if we want take input from user?
TextView
EditText
InputText
Button
Which action does not require a permission set in the AndroidManifest.xml file?
SMS
Alarm
Phone
What folder do you create to place your database in?
drawable
res
assets
values
This layer in the Android System Architecture is responsible for the Webkit library
Native Libraries
Android Runtime
Linux Kernel
Application Framework
the loadAd() method belongs to the ______ class
AdRequest
BannerAd
AdView
BannerRequest
What is orientation in Android layout design?
It is a process of providing a horizontal design on an android app.
It is a process of providing a vertical design on an android output.
It is a method of structuring the layouts so that its objects will appear either horizontal or vertical on the screen.
None of the above
What is Android framework?
It is a web framework being used by Software Engineers.
It is a database management system tool.
It is a set of API's using which the Android developers write code for the mobile apps.
It is a programming language used fro creating android apps?
Once an android app is installed on a physical device, each android application lies in ____________?
Security Box
Device Memory
Internet
None of the above
A data can be stored in Android through:
Internal Storage
SQLite
Network Servers
All of the above
Every android application must have the file AndroidManifest.xml file in its root directory.
True
False
It is possible to create a user interface without XML file?
True
False
The layout or design of an android application is saved in ____________.
.text file
.java file
.dex file
.xml file
Deploying an android app requires _________________.
a USB cable connector
a USB port only
a USB flash drive
None of the above
The software testing lifecycle begins with…
Test strategy establishment.
General planning and requirements analysis.
Test cases creation.
Defect reporting.
During test results analysis and test results reporting stages we…
Analyze if we managed to achieve the goals set during the planning stage.correct
Create, review, adjust, rework (and so on) checklists, test cases, test scenarios and other similar artifacts.
Look for defects and write defect-reports.
Return to planning to find out how shall we achieve all those goals and criteria from the previous step.
Functional testing is…
Testing conducted to evaluate the compliance of a component or system with functional requirements.
Testing conducted to evaluate the compliance of a component or system with non-functional requirements.
Testing that involves the execution of the software of a component or system.
Testing based on an analysis of the internal structure of the component or system.
Unit testing is…
Testing conducted to evaluate the compliance of a component or system with functional requirements.
Testing a work product without code being executed.
Testing, either functional or non-functional, without reference to the internal structure of the component or system.
Testing of individual hardware or software components.
Test Plan includes the following sections…
Testing types.
Testing levels.
Test strategy and approach.
Risk evaluation.
Test Plan includes the following sections …
Defect reports summary.
Requirements to be tested.
Steps to reproduce some issue.
Schedule.
