Login
Sign up
Categories
IT & Programming
Design & Multimedia
Writing & Translation
Sales & Marketing
Admin Support
Engineering & Manufacturing
Finance & Management
Website Designing & Development
Database Management
Networking & Troubleshooting
Aviation & Aerospace
Softwares & Applications
Stocks & Investments
Electronics & Appliances
Online Tools
General Knowledge & Aptitude
Mathematics
Educational Subjects & Courses
Business & Organization
Health & Wellbeing
Culture & Ethics
IT Field Knowledge & Experience
Languages & Communication
Entrepreneurship & Leadership
Economics & Development
Mass Communication & Media
Research Methods & Evaluation
Public Relations & Dealings
Educational Methods and Research
Educational Subjects & Techniques
Crime & Justice
Governments & Policies
Cyber Security & Ethical Hacking
Hospitality & Tourism
Soft Skills & Personal Management
Transportation & Driving Rules
Forest and Nature
Religion
Skill Assessment
MCQs
PDFs
Login
Sign up
Categories
IT & Programming
Design & Multimedia
Writing & Translation
Sales & Marketing
Admin Support
Engineering & Manufacturing
Finance & Management
Website Designing & Development
Database Management
Networking & Troubleshooting
Aviation & Aerospace
Softwares & Applications
Stocks & Investments
Electronics & Appliances
Online Tools
General Knowledge & Aptitude
Mathematics
Educational Subjects & Courses
Business & Organization
Health & Wellbeing
Culture & Ethics
IT Field Knowledge & Experience
Languages & Communication
Entrepreneurship & Leadership
Economics & Development
Mass Communication & Media
Research Methods & Evaluation
Public Relations & Dealings
Educational Methods and Research
Educational Subjects & Techniques
Crime & Justice
Governments & Policies
Cyber Security & Ethical Hacking
Hospitality & Tourism
Soft Skills & Personal Management
Transportation & Driving Rules
Forest and Nature
Religion
Skill Assessment
MCQs
PDFs
Login
Sign up
Skill Assessments
>
IT & Programming
>
Android Programming Skill Assessment
>
Quiz # 4
Android Programming Quiz # 4
Instructions
Quiz:
Android Programming Quiz # 4
Subject:
Basic Android Programming
Total Questions:
30 MCQs
Time:
30 Minutes
Note
Do not refresh the page while taking the test.
Results along with correct answers will be shown at the end of the test.
Start Quiz
Android Programming Quiz # 4
End Quiz
Question
1
of 30
00:00
What version(s) will you NOT be able to run the app if you set min sdk version to be 8 for an app?
7
10
14
12
8
Which database is available for developers in Android?
SQL Server
NoSQL
SQLite
Oracle
There is no available database
Which folder should the App Icon be kept under?
src
anim
res
Which extension does the Android Manifest file have?
.jar
.xml
.apk
.java
Which of the following is the correct way to get pass string in an Intent, where key and value are both string variables?
intent.putString(key,value);
intent.putKey(key,value);
intent.putExtra(key,value);
intent.putValue(key,value);
Which is the name of component used to display web pages in the application?
WebView
WebBrowser
BrowserView
Browser
Which of these Activity lifecycle events is when the activity is about to become visible to the user from a hidden state?
Start()
onCreate()
Resume()
onStart()
onResume()
Which API should you use to bring the data over to the device asynchronously if you have a fragment which displays a ListViewContaining query results?
android.app.LoaderManager
android.app.ListActivity
android.app.LocalActivityManager
What is likely to cause the UI to behave sluggishly or crash while making network calls?
Network Latency
Virus on the server
Hardware malfunction
Activity Manager contains too much
How can Android applications "borrow" functionality from other applications?
Application lifecyle methods
Intent objects
Content Provider system
Which event listener is used when an Android device has changed orientation?
OrientationEventListener
PositioningEventListener
DeviceOrientationEventListener
LayoutEventListener
Which externalizing resources are needed for application development?
Different language versions of the application
None of these
Different devices
All of these
Why is a Parcelable used?
To show a message dialog
To store data in SQLite database
To transmit structured objects between activities or fragments
To parse a json file
What class does Android use to communicate a request for an action to be performed?
Request
Service
Activity
Intent
Broadcast
Which AsyncTask method does not run on the UI thread?
publishProgress()
onPostExecute()
onPreExecute()
doInBackground()
Which method is called to notify a Fragment is visible when they are inside a ViewPager?
setUserVisibleHint(boolean isVisibleToUser)
onVisible(boolean isVisible)
onAttach(Activity activity)
isAdded()
Which method should be used to refresh the ActionBar if you use ActionBarCompat library?
invalidateOptionsMenu()
invalidateActionBar()
invalidate()
invalidateMenuItems()
Which theme's attribute changes the color of the status bar in Lollipop?
android:colorPrimaryDark
android:colorPrimary
android:colorAccent
What is the default behavior of an Activity when you manually rotate the device screen?
The activity is destroyed and reloaded entirely
The activity is remained unchanged
onPause() and onResume() activity callback are called only
onStop() and onStart() activity callback are called only
What should you do if you want access list of paired Bluetooth devices on Android?
add <uses-permission android:name="android.permission.BLUETOOTH_ADMIN" /> to the manifest.xml
add <uses-permission android:name="android.permission.BLUETOOTH" /> permission to the manifest.xml. you can not access paired bluetooth devices list
Which is a benefit of deodexing?
Custom themes
Remove files
Install custom apps
Speed boost
When an asynchronous task is executed, the task goes through several steps. Which option is not a step of an asynchronous task?
onPostExecute()
onPreExecute()
onProgressUpdate()
onBackground()
What should you specify if your application needs to access information about the device's wi-fi networks?
.
Both of these
None of these
How do you request permission for your application?
<request-permission> in the Android Manifest
<uses-permission> in the Android Manifest
You do not need to request permissions for any application
<requires-permission> in the Android Manifest
Submit a request when you publish your application to the Android market
Which is the build system recommended by Google?
ant
gradle
maven
Which tool of Android sdk allows installing applications, viewing logs and pooling files from Android device?
ddms
Android manager
logcat
adb
Which package encompasses the interactive UI components of Android such as buttons and text fields?
android.widget
android.view
android.view.ViewGroup
Which class should you extend when using/creating a database?
SQLiteOpenHelper
SQLiteHelper
SQLiteDatabase
SQLiteDatabasehelper
None of the above
What should you do in order to get paired Bluetooth device list?
Add <user-permission android:name="android.permission.BLUETOOTH_ADMIN" /> permission to the manifest.xml
None of the above
Not possible
Add <user-feature android:name="android.permission.BLUETOOTH" /> feature to the manifest.xml
Android naming has followed an alphabetical order from Android 1.0 to Lollipop.
Fully True if you consider first letters of every version release up till Lollipop(5.0)
Partially True if you consider first letters of every version release up till Lollipop(5.0)
False
Submit Test
Prev Question
ABCd
Next Question
Android Programming Skill Assessment
Login to see Skill Score (It's Free)
Your Skill Level:
Poor
Retake Quizzes to improve it
Start Assessment
Android Programming Skill Assessment
Login to see Skill Score (It's Free)
Your Skill Level:
Poor
Retake Quizzes to improve it
Start Assessment