GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Quiz

Mobile Computing

Upma Sharma 7 Fragen

Quiz starten

Fragen in diesem Quiz (7)

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

Informationen

Beschreibung
Quiz am Mobile Computing, erstellt von Upma Sharma am 23/11/2018.
Sprache
English
Aufrufe
0
Bewertung
Noch keine Bewertungen
Bewerte dieses Quiz
Bewerte dieses Quiz

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck