Font size
WorksheetsAndroid App Development
Total questions: 70
Worksheet time: 45mins
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
Android is
Web server
Operating system
Web browser
None of these
Android Operating System is based on
Mac
Windows
Linux
Solaris
During an Activity lifecycle, what is the first callback method invoked in the system?
onStop()
onStart()
onCreate()
onResume()
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);
findViewById(int id)
retrieveResourceById(int id)
findViewById(String id)
AVD Stands for
Android vector Device
Android Virtual Device
Android Virtual Directory
None of these
How many intents are there in Android?
3
2
1
4
Which intent we must use if we want to move from one activity to another activity?
Implicit Intent
Explicit Intent
Both
None of the above
Which view we need to use if we want take input from user?
TextView
EditText
InputText
Button
1. Which Programming language is used for Android application development?
NodeJs
PHP
JSX
Java
2. What is an interface in android?
Interface is a class
Interface acts as a bridge between class and the outside world.
Interface is a layout file
All of the above
3. What is true about Content Providers?
A. They dictate the UI and handle the user interaction to the smart phone screen
B. They handle background processing associated with an application.
C. They handle communication between Android OS and applications
D. They handle data and database management issues
4. What is true about Activities component?
A. An activity represents a single screen with a user interface,in-short Activity performs actions on the screen.
B. application has more than one activity, then one of them should be marked as the activity that is presented when the application is launched.
C. An activity is implemented as a subclass of Activity class
D. All of the above
5. Which of the following statement is false about Broadcast Receivers?
A. A broadcast receiver is implemented as a subclass of ContentProvider class
B. A broadcast receiver is implemented as a subclass of Activity class
C. A broadcast receiver is implemented as a subclass of BroadcastReceiver class
D. A broadcast receiver is implemented as a subclass of Service class
6. Which of the following component has view hierarchies that control screen format and appearance of the views?
A. Layouts
B. Views
C. Resources
D. Manifest
7. Which of the following component has UI elements that are drawn on-screen including buttons, lists forms etc?
A. Fragments
B. Views
C. Resources
D. Manifest
8. Which of the following component has Configuration file for the application?
A. Resources
B. Manifest
C. Services
D. Activities
9. What is true about Fragments component?
A. Represents a portion of user interface in an Activity.
B. UI elements that are drawn on-screen including buttons, lists forms etc.
C. View hierarchies that control screen format and appearance of the views.
D. Messages wiring components together
7. What is true about Intents component?
A. External elements, such as strings, constants and drawable pictures.
B. UI elements that are drawn on-screen including buttons, lists forms etc.
C. View hierarchies that control screen format and appearance of the views.
D. Messages wiring components together
Which of the following operating is closed source OS?
Android
Windows
iOS
fedora
Which method is overridden when a class extends the thread class and thread class to start that thread?
start( )
run( )
init( )
running( )
What will be the output of the following program?
The program compiles, but it does not print anything
The program compiles and runs. Display test on the console
The program does not compile because “this” cannot be referenced in a static method
Which of the following method in java that can be called without creating an object of class?
math ( )
function ( )
static ( )
runnable ( )
(a) is a framework that helps teams work together.
What are the two main perspective of the agile methodologies are approaches to product development that are aligned in the Agile Manifesto for software development?
Values & Principles
Integrity & Confidence
Values & Integrity
Principles & Confidence
What are the two main perspective of the agile methodologies are approaches to product development that are aligned in the Agile Manifesto for software development?
values & principles
principles & integrity
integrity & values
What is the key point or heart of the scrum and agile?
Scrum
Sprints
Scrum master
PO
Which of the following two “R”s will be used for product backlog?
Roadmap & Resources
Roadmap & Requirements
Requirements & Repository
Which of the following are main actor is scrum and agile?
SM, PO, T
SJ, PL, T
T
PO
Which of the following android component, we can place all UI components or widgets on a single screen?
Activity
Intent
Service
Receiver
Which of the following interface that allows two or more than two applications to talk to each other?
APII
AAB
API
APK
Which of the following is a software application that runs automated tasks over the Internet?
Web robot
Web
API
Which of the following XML files contains metadata about the Android app?
Activity.XML
Main.XML
Manifest.XML
XML
which of the following are android components?
Activity
Content providers
Broadcast receivers
services
Which of the following android component are used for a message that is passed between components such as activities, content providers, broadcast receivers, services?
Activity
Implicit Intent
Explicit Intent
API
In the following Query, which of the following can be placed in the Query's blank portion to display the salary from highest to lowest amount, and sorting the employs name alphabetically?
Ascending, Descending
Asc, Desc
Desc, Asc
What is the FAT?
File Allocation Tree
File Allocation Table
File Allocation Graph
A file is a collection of all related______.
Rows & Columns
Fields
Database
Records
Which of the following language is used in tvOS development?
Android
C++
Java
Swift
A software platform and operating system for most of mobile devices today.
Android
Windows
Blackberry
Symbian
When was Android Inc. founded.
2006
2005
2004
2003
Google acquired Android Inc.
2006
2005
2004
2003
When was Open Handset Alliance formed?
2007
2006
2005
2004
What is the first Android device released?
Mobira Cityman 900
BlackBerry 850
HTC Dream (G1)
None of the Above
What are the Android 1.6 (Cupcake) features?
Faster Camera Startup
On Screen soft keyboard
Directly upload Pictures and Videos
Battery usage indicator
What are the Android 1.6 (Donut) features?
Quick Search Box and Voice Search
Toggle between still and video capture
Bluetooth 2.1
Battery usage indicator
What are the Android 2.0 (Eclair) features?
New keyboards for faster text inputs
Multiple accounts for email
Bluetooth 2.1
New Calendar Features
What are the Android 2.2 (Froyo) features?
New widgets for homescreen
One-touch word
Hotspot support
Multiple keyboard languages
What are the Android 2.3 (Gingerbread) features?
UI refinements for simplicity and speed
New keyboards for faster text inputs
Near Field Communication
For tablets and larger screen sizes
What are the Android 4.1 (Jelly Bean) features?
Faster, smoother, more responsive
Resizable app widgets
Offline voice dictation
Google Experience Launcher
What are the Android 4.4 (KitKat) features?
Hangouts 2.0
Screen Recording
Google new Material Design
Google Experience Launcher
What are the Android 4.5 (Lollipop) features?
Revamped navigation bar
Official support for dual-SIM
Google new Material Design
Vertically scrolling app drawer
What are the Android 6.0 (Marshmallow) features?
Google Now on Tap
Split screen mode
USB Type-C support
Vertically scrolling app drawer
What are the Android 7.0 (Nougat) features?
JIT compiler
Split screen mode
Supported Vulkan API
Visual changes to Settings menu
What are the Android 8.0 (Oreo) features?
Shush mode
Support for picture-in-picture mode
Notifications channels
Visual changes to Settings menu
What are the Android 9.0 (Pie) features?
Shush mode
New navigation buttons
On-device machine learning
System-wide dark mode
What are the Android 10.0 features?
Gesture-navigation controls
Record your phone’s screen
Support for the foldable phones
System-wide dark mode
What are the Android 11.0 features?
New Conversations notifications category
Record your phone’s screen
Controlling smart home devices
Smart reply
It supplies Security, Memory management, Process management, Network stack and Driver model.
Linux Kernel
Libraries
Android Runtime
Application Framework
A set of instructions that tell the device how to handle different kinds of data.
Linux Kernel
Libraries
Android Runtime
Application Framework
Performs the translation of the application's bytecode into native instructions that are later executed by the device's runtime environment.
Linux Kernel
Libraries
Android Runtime
Application Framework
This includes the programs that manage the phone’s basic function.
Linux Kernel
Libraries
Android Runtime
Application Framework
A set of core applications shipped with Android platform
Application
Libraries
Android Runtime
Application Framework
An application component that represents a single screen with a user interface.
Activities
Services
Content providers
Broadcast Receivers
A component that runs in the background to perform long-running operations or to perform work for remote processes.
Activities
Services
Content providers
Broadcast Receivers
It manages the sharing of application data.
Activities
Services
Content providers
Broadcast Receivers
A component that responds to system-wide broadcast announcements.
Activities
Services
Content providers
Broadcast Receivers
