Quiz
Mobile Computing
Create a free account to finish this quiz
Save your progress and see your final score.
Already have an account? Sign in
Questions in this quiz (7)
1If app does not respond in a few seconds an Application Not Responding (ANR) Dialog runs:
- ATo keep app responsive long running tasks should NOT RUN on MAIN (UI) THREAD
- BNetworking should NOT be done on UI thread
- CUI thread has queue of messages. Messages pop to front for UI to process
- Dif thread is handling a request/message. It can't handle others (taps/clicks)
2What are the two main android threading rules?
- AAll UI updating should be done on the UI thread.
- Btrying to access UI from a that other than UI gives CalledFromWrongThreadException
3Built-in tools that allow us to launch long-running tasks in the background: intent services, async task (shorter)
- ATrue
- BFalse
4AsyncTask
- AAbstract Helper Class
- BPerforms task asynchronously
- CCan synchronize with the UI thread for updates and task completion
- Dhandles thread creation, management and synchronization
- Edo not survive activity restarts (orientation)
5use Java does not support primitive types in Generics, wrapper classes must be used
- ATrue
- BFalse
6Room:
- ALess boiler plate code and handles the tedious OpenHelpe rand create table statement
- Bcompile time verification of SQL queries as opposed to runtime exceptions
- Ce background processing for all db-access
- Duse of annotations
7Which of the following is not a major (3x) component of room?
- ARoomDatabase (room abstraction over SQLite DB
- BEntity: mark POJO to give room what it needs to create the table
- CDao: data access object to access database, generated at compile time.
- DDaoDatabase
Information
- Description
- Quiz on Mobile Computing, created by Upma Sharma on 23/11/2018.
- Author
- Upma Sharma
- Language
- English
- Views
- 0
- Rating
- No ratings yet Rate this quiz