Quiz
Mobile Computing
Erstelle ein kostenloses Konto, um dieses Quiz zu beenden
Speichere deinen Fortschritt und sieh dir dein Endergebnis an.
oder mit deiner E-Mail registrieren
Schon ein Konto? Anmelden
Fragen in diesem 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)
- ARichtig
- BFalsch
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
- ARichtig
- BFalsch
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
Informationen
- Beschreibung
- Quiz am Mobile Computing, erstellt von Upma Sharma am 23/11/2018.
- Autor
- Upma Sharma
- Sprache
- English
- Aufrufe
- 0
- Bewertung
- Noch keine Bewertungen Bewerte dieses Quiz