26. Intent.EXTRAEMAIL must contain:
- A single String
- An array of Strings (recipients)
- A Uri
- An Int
Answer: B) An array of Strings (recipients)
Explanation: Email clients expect an array of addresses.
MCQs / Computer Science / Messaging: SMS and Email
31 multiple-choice questions on Messaging: SMS and Email 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.
Answer: B) An array of Strings (recipients)
Explanation: Email clients expect an array of addresses.
Answer: C) SENDSMS
Explanation: SENDSMS is a dangerous permission requested at run time.
Answer: A) Snackbar
Explanation: Snackbars can have an action button.
Answer: D) The SMS was sent successfully
Explanation: RESULTOK in the sent receiver indicates success.
Answer: D) Default SMS handler apps or approved use cases
Explanation: Play restricts SMS and Call Log permissions.
Answer: C) SmsManager
Explanation: SmsManager provides sendTextMessage and related methods.
Previous Page 2 of 2
Practise Messaging: SMS and Email MCQs