Q1) Choose the correct answer (25 mark)
1- Views belong to the _________ within the Android software stack
a) application layer b) Linux kernel c) libraries d) application framework
2- ---------------- class is used for storing added information.
a) Bundle b) Data store c) Extra d) None of these
3- The callback method that is responsible for initialising the app is_______
a) onStart() b) onResume() c) onRestart() d) None of these
4- When the Google app is visible on the foreground while a user is receiving a mobile call, the
Google app is actually in the ___ state.
a) onStart() b) onResume() c) onCreate() d) onPause()
5- To assign a view to an activity, you need to call the_________ method for passing in the
View instance
a) setContentView b) onCreate c) findViewById d) onStop
6- Which among these are NOT a part of Android’s native libraries?
a) Webkit b) Dalvik c)OpenGL d)None of them
7- A Care-of Address in a mobile node storers addresses of the_____
a) Original network b) Home network c) Network that the node is originally belong to
d) None of these
8- Android is based on Linux for the following reason
a) Security b) Portability c) Networking d) All of the above items
9- ___________ are computing systems that can be easily transferred physically and whose
computing abilities can be used while they are being motivated. Examples include laptop
computers, Personal Digital Assistants (PDA), and cell phones.
a) Wireless systems b) Mobile Computing c) Mobile Networking d) Internet System
10- What is contained in the manifest xml file?
a) The permissions the app requires
b) The list of strings used in the app
c) The source code d) All the above
11- Which of the following processes has a low priority?
a) Music on YouTube its duration 4 mins and it has been running for 1.5 mins,
b) The google map that is tracking a delivery service that has already arrived.
c) A conversation on WhatsUp that is visible, but the user is not interacting with it
d) A translation service that is partially covered by another app
12- _________are the set of characteristics that distinguish the mobile computing system from
the stationary computing system.
a) Mobile nature b) Dimensions of mobility c) Wireless network connectivity
d) Network connectivity quality of service
13- ______ are used to broadcasts messages
a) Intents b) Services c) Content provider d) Widgets
14- To develop a mobile app that could communicate with users through oral conversation, we
should use:
a) VUIs b) APIs c) GUIs d) None of these
15- When the app that you are developing calls an activity by the name of the class, it actually
starts ___
a) an implicit Intent b) an Activity c) an explicit Intent d) an external Intent
16- Which of the given intents will pass the test of this intent filter:
a) intent.setAction(Intent.ACTION_EDIT)
b) intent.setAction(Intent.ACTION_EDIT); intent.putExtra(Intent.EXTRA_TEXT,
textMessage);
c) intent.setAction(Intent.ACTION_EDIT); Intent.putExtra(Intent.EXTRA_VIDEO, video);
d) intent.setAction(Intent.ACTION_EDIT); intent.setType("image/*"););
17- What do you need to use if you want to send an image with the intent to pass it to an activity
to be edited?
a) Actions b) Extras c) URIs d) Values
18- What is the name of the folder that contains the R.java file?
a) Src b) Res c) Bin d) Gen
19- What is an Activity?
a) A single screen the user sees on the device at one time.
b) A message sent among the major building blocks.
c) A component that runs in the background without any interface.
d) Context referring to the application environment.
20- GPS devices use a technique of:
a) triangulation techniques by triangulating data centers and towers
b) triangulation techniques by triangulating data points
c) triangulation techniques by triangulating agents points
d) triangulation stations by triangulating data points
21- WAP is built on its own set of communication protocols so that,
a) wrap with proxy or a gateway b) wrap around TCP, UDP
c) wrap around proxy or a gateway d) adaptive with HTTP
22- We cannot allocate storage space statically in mobile, because:
a) data stored varies but adaptive with mobile
b) data stored varies according to the kind of agent in mobile
c) data stored varies of network mobile
d) data stored varies of device varies
23- We use findViewById and Resources object in an Android application, Java coding in order
to
a) get information of ID b) get access of Android. ID
c) realize access to the resources d) get access to the XML GUI
24- Because WAP treats, or at least attempts to treat, all parts of the mobile equation., it could
be considered:
a) a complete framework for mobile applications
b) a complete framework for mobile applications
c) a complete platform for mobile services
d) a complete platform for mobile activities
25- We use web services (typically HTTP based though they can be based on other protocols
such as SMTP) for many reasons , such as:
a) it is free b) use for Mobile applications c) have standard GUI d) security issue