12/29/2017 Introduction to Modern Application Development - - Unit 6 - Week 5 - Android Application Development
Courses » Introduction to Modern Application Development
Announcements Course Forum Progress Mentor Discourse forum Discussion Forum
Unit 6 - Week 5 - Android Application Development
Course
outline Assignment 5
.
How to access
the portal?
Week 1 Lectures: There is NO NEGATIVE MARKING.
Introduction to Please feel free to do online research, use google, refer to the existing slides and module
the Internet videos. However, it is NOT ALLOWED to ask these questions and discuss them on the
discussion forums. Doing this will cause serious harm to the learning experience for everyone
Week 2 lectures: involved on the forum. In case this happens, the students engaging in the discussions maybe
Building your disqualified from the entire course.
webapp
1) How many threads are created by asyncTask in Android? 1 point
Week 3 Lectures:
Databases Only one
Two
Week 4:
Introduction to AsyncTask doesn't have threads.
security for None of the above
webapps
Week 5 - Android
Application
Accepted Answers:
Development
Only one
Module 15:
2) What is the application class in android? 1 point
Introduction to
mobile apps
A class that can create only an object.
Module 16 - Anonymous class
Introduction to
Mobile Java class
Application Base class for all classes
Development
Part 2
Module 17 -
Introduction to Accepted Answers:
Android Java class
Module P12 - 3) What is an HTTP client class in android? 1 point
Getting started
with Android httprequest (get/post) and returns response from server
Application
Development Cookies management
Authentication management
Module P13 -
Building None of the above
Custom UI
using XML and
Logs
Module P14 - Accepted Answers:
Building a Blog httprequest (get/post) and returns response from server
App
https://onlinecourses.nptel.ac.in/noc17_cs40/unit?unit=50&assessment=51 1/3
12/29/2017 Introduction to Modern Application Development - - Unit 6 - Week 5 - Android Application Development
4) Fragment in android can be found through 1 point
Module 18:
Deploying an
findByID()
app to the
Google Play findFragmentByID()
Store getContext.findFragmentByID()
Quiz : FragmentManager.findFragmentByID()
Assignment 5
Feedback for
week 5
Accepted Answers:
Week 6 - findFragmentByID()
Advanced
Databases and 5) What is the lifecycle of foreground activity in Android? 0 points
Introduction to
iOS onCreate() -> onStart() -> onResume() -> onStop() -> onRestart
onCreate() -> onStart () -> onResume() -> onStop
Week 7: Modern onCreate() -> onStart() -> onResume()
Development
Practices None of the above
Week 8 -
Concluding
Lectures Accepted Answers:
onCreate() -> onStart() -> onResume()
6) What is AndroidManifest.xml ? 1 point
It has information about layout in an application.
It has information about activities in an application.
It has all the information about an application.
None of the above.
Accepted Answers:
It has all the information about an application.
7) Do all components in Android run on the same thread? 1 point
It is based on the number of components because activity, service, receiver and content
provider will create a thread by default internally.
Each application can have one process and one main thread created by default by the system.
Process or application by default will not have any thread.
None of the above
Accepted Answers:
Each application can have one process and one main thread created by default by the system.
8) What is the parent class of Activity? 1 point
Object
Context
ActivityGroup
ContextThemeWrapper
Accepted Answers:
ContextThemeWrapper
9) You can shut down an Activity by calling its ______ method 1 point
onDestroy()
finishActivity()
https://onlinecourses.nptel.ac.in/noc17_cs40/unit?unit=50&assessment=51 2/3
12/29/2017 Introduction to Modern Application Development - - Unit 6 - Week 5 - Android Application Development
finish()
None of the above
Accepted Answers:
finish()
10)Which component is not activated by an Intent? 1 point
Activity
Services
ContentProvider
BroadcastReceiver
Accepted Answers:
ContentProvider
© 2014 NPTEL - Privacy & Terms - Honor Code - FAQs -
https://onlinecourses.nptel.ac.in/noc17_cs40/unit?unit=50&assessment=51 3/3