MCQs / Computer Science / Threading and Publishing Android Applications

Threading and Publishing Android Applications MCQs — Computer Science (page 2)

34 multiple-choice questions on Threading and Publishing Android Applications from Computer Science, each with the correct answer and, where available, a teacher's explanation. Read through them to revise the chapter, then practise the same questions one by one to test yourself.

26. Why is the release key important?

  1. It is required to run the emulator
  2. It encrypts user data
  3. It makes the app faster
  4. Updates must be signed with the same key; losing it can block future updates

Answer: D) Updates must be signed with the same key; losing it can block future updates

Explanation: Android accepts updates only with a matching signature (Play App Signing allows upload-key reset).

Discuss this question

27. When memory is low, which process is killed FIRST?

  1. System server
  2. Cached/background process
  3. Foreground process
  4. Visible process

Answer: B) Cached/background process

Explanation: Cached background processes have the lowest priority.

Discuss this question

28. Which dispatcher should be used for network and disk operations?

  1. Dispatchers.Main
  2. Dispatchers.Default
  3. Dispatchers.IO
  4. Dispatchers.Unconfined

Answer: C) Dispatchers.IO

Explanation: IO is optimised for blocking I/O.

Discuss this question

29. The main advantage of an AAB is that Google Play:

  1. Removes the need for testing
  2. Runs on iOS
  3. Does not need signing
  4. Generates optimised APKs per device, giving smaller downloads

Answer: D) Generates optimised APKs per device, giving smaller downloads

Explanation: Split APKs include only needed languages, densities and ABIs.

Discuss this question

30. To draw smoothly at 60 frames per second, each frame must take less than about:

  1. 16 ms
  2. 1 s
  3. 5 s
  4. 100 ms

Answer: A) 16 ms

Explanation: 1000 ms ÷ 60 ≈ 16 ms per frame.

Discuss this question

31. From 31 August 2026, new apps and updates on Google Play must target at least:

  1. API 34
  2. API 35
  3. API 36 (Android 16)
  4. API 33

Answer: C) API 36 (Android 16)

Explanation: Play's 2026 target API requirement is Android 16 for phone and tablet apps.

Discuss this question

32. The thread that draws the UI and handles user input is the:

  1. Main (UI) thread
  2. GC thread
  3. Binder thread
  4. Worker thread

Answer: A) Main (UI) thread

Explanation: Android creates one main thread per app process for UI work.

Discuss this question

33. A function that can pause without blocking is marked with:

  1. suspend
  2. synchronized
  3. @Async
  4. volatile

Answer: A) suspend

Explanation: suspend functions can be suspended and resumed.

Discuss this question

34. A fixed thread pool is created with:

  1. Executors.newFixedThreadPool(4)
  2. AsyncTask(4)
  3. Handler(4)
  4. Thread.pool(4)

Answer: A) Executors.newFixedThreadPool(4)

Explanation: ExecutorService manages a pool of reusable threads.

Discuss this question

Previous Page 2 of 2

Practise Threading and Publishing Android Applications MCQs

More Computer Science chapters