Test
Mobile Computing
Crea una cuenta gratis para terminar este test
Guarda tu progreso y consulta tu resultado final.
¿Ya tienes cuenta? Inicia sesión
Preguntas del test (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)
- AVerdadero
- BFalso
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
- AVerdadero
- BFalso
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
Información
- Descripción
- Test sobre Mobile Computing, creado por Upma Sharma el 23/11/2018.
- Autor
- Upma Sharma
- Idioma
- English
- Visitas
- 0
- Valoración
- Aún sin valoraciones Valora este test