0% found this document useful (0 votes)
68 views2 pages

MAD (CS-407) Final Spring 2021

This document appears to be an exam for a Mobile Application Development course, consisting of 28 multiple choice and short answer questions. The questions cover a range of topics related to mobile app development for Android, including sending and receiving SMS messages, displaying maps using Google Maps API, using location services, making HTTP requests and working with JSON, services and threading, security features like certificate signing, and communication features like making phone calls, sending emails and SMS messages.

Uploaded by

Mustanser Nasir
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
68 views2 pages

MAD (CS-407) Final Spring 2021

This document appears to be an exam for a Mobile Application Development course, consisting of 28 multiple choice and short answer questions. The questions cover a range of topics related to mobile app development for Android, including sending and receiving SMS messages, displaying maps using Google Maps API, using location services, making HTTP requests and working with JSON, services and threading, security features like certificate signing, and communication features like making phone calls, sending emails and SMS messages.

Uploaded by

Mustanser Nasir
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

University of Gujrat, Lahore Campus

Department of Computer Science & IT


Final Term Examination Spring 2021

Course Title: Mobile Application Development Marks: 50


Course Code: CS – 407 Time: 2.5 Hr
Program: BSCS Semester: Repeaters
Student Name: Student Roll No.

1. Name the two ways in which you can send SMS messages in your Android application. (2)
2. How do you notify an activity from a BroadcastReceiver? (2)
3. Name the permissions you need to declare in your AndroidManifest.xml file for sending
and receiving SMS messages. (2)
4. Write a code to display Google Map in an android phone. (2)
5. How can you control zoom in Google Map? Write code. (2)
6. Is it possible to change view of Google Map from normal view to Satellite view? How? (2)
7. Explain the working of this function: onProviderDisabled(String provider) . (2)
8. If you have embedded the Google Maps API into your Android application but it does not
show the map when the application is loaded, what could be the likely reasons? (2)
9. What is the difference between geocoding and reverse geocoding? (2)
10. What method is used for monitoring a location? (1)
11. Name the two location providers that you can use to obtain your location data (2).
12. Below given code displays the MapView. Explain every line of code. (2)

13. What is the difference between Web services using HTTP and JSON services? (2)
14. Name the permissions you need to declare in your AndroidManifest.xml file for an HTTP
connection. (2)
15. Name the classes used for dealing with JSON messages. (2)
16. Why is it important to put long-running code in a service on a separate thread? (2)

Mobile Application Development (CS – 407) – Final Term – Spring 2021


17. What is the purpose of the IntentService class? (1)
18. How can a service notify an activity of an event happening? (1)
19. For threading, what is the recommended method to ensure that your code runs without
tying up the UI of your application? (1)
20. How do you generate a self-signed certificate for signing your Android application? (2)
21. How do you configure your Android device to accept applications from non-Market
sources? (2)
22. What are benefits and limitations of use socket programming in an android application?
(2)
23. What this function socketpair() does? (1)
24. How ACTION_CALL is different from ACTION_DIAL while handling a phone call on
android phone? (1)
25. Explain the working of sendDataMessage() function. (2)
26. We can send an email through android application with some extra features/data. Explain
how these two variables used for this purpose: EXTRA_BCC, EXTRA_CC. (2)
27. Which function in android is used to send an email? (2)
28. After sending SMS message using the SmsManager class, how do you know that the
message has been sent correctly? Is there any method in android to know this? (2)

<<END OF PAPER>>

Mobile Application Development (CS – 407) – Final Term – Spring 2021

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy