Android Programming Model paper: Online Exam
Free Online Exam of Android programming , check your knowledge on Android Programming Questions and answers. Asked in different competitive exams of Android Programming Questions with answers and immediate check your knowledge by click on radio button.
Q11.what is Intent in android?
A It is a interaction of files
B The Intent specifies what purpose to develop of android program- explain briefly
C Intents are asynchronous messages which allow application components to request functionality from other Android components
D The multithread concept implement with intent in android
E None of these
Answer: C
Hint or Explanation
Android Intent is the message that is passed between components such as activities, content providers, broadcast receivers, services etc
Q12.Why bytecode cannot be run in Android?
A Mobile Devices cannot accept byte code
B Android architecture cannot have bytecode methods
C Android programming is a high level programming
D Android uses DVM rather than JVM
E None of these
Answer D
Hint or Explanation
As we know the modern JVM is high performance and provides excellent memory management. But it needs to be optimized for low-powered handheld devices as well.
The Dalvik Virtual Machine (DVM) is an android virtual machine optimized for mobile devices. It optimizes the virtual machine for memory, battery life and performance.
More info see
The Dalvik Virtual Machine (DVM) is an android virtual machine optimized for mobile devices. It optimizes the virtual machine for memory, battery life and performance.
More info see
Q13.What is a BuildType in Gradle? And what can you use it for?
A The BuildType uses to convert any datatype to another easily
B Build types define properties that Gradle uses when building and packaging your Android app
C File processing purpose
D multitasking purpose working in android devices
E None of above
Answer B
Hint or Explanation
APK stands for Android Package Kit (also Android Application Package) and is the file format that Android uses to distribute and install apps. It contains all the elements that an app needs to install correctly on your device.
Q14.What are Handlers?
A Handlers are programs or files for managing packages
B Handlers are objects for managing apk's
C Handlers are objects for managing threads
D Handlers are arguments in functions for managing files
E None of these
Answer C
Hint or Explanation
Android handles all the UI operations and input events from one single thread which is known as called the Main or UI thread. Android collects all events in this thread in a queue and processes this queue with an instance of the Looper class.
Q15.What is a Sticky Intent?
A Sticky Intents allows communication between a function and a service.
B Sticky Intents allows communication between a class and objects.
C Sticky Intents allows inter process communications
D Sticky Intents allows internal process communications
E None of these
Answer A
Hint or Explanation
More info see
Q16.Which one of the following not having in Lifecycle of an Activity ?
A OnResume()
B OnStart()
C OnPause()
D OnDestroy()
E OnClick()
Answer E
Hint or Explanation
OnClick()
More info see Click here
More info see Click here
Q17.How to get current location in android?
A Using GPRS
B Using Location Provider
C A and B
D Wifi
E Network Servers
Answer C
Hint or Explanation
An android location based service in android platform. Knowing the current location in an android mobile will pave the way for developing many innovative Android apps to solve peoples daily problem. For developing location aware application in android, it needs location providers. There are two types of location providers,
- GPS Location Provider
- Network Location Provider
Q18.What is bean class in android?
A It is constructor
B A class used to hold states and objects
C A bean class can be passed from one activity to another
D A mandatory class in android
E None of these
Answer B
Hint or Explanation
Info See Click Here
Q19. What role does Dalvik play in Android development?
A Dalvik serves as a emulator device
B Dalvik serves as a virtual machine
C Better work to communicate different devices
D It uses intra process communications
E None of above
Answer B
Hint or Explanation
Dalvik serves as a virtual machine
Q20.The file extension .aidl used for ?
A programming interface
B package files
C Thread files
D Sensor method files
E None of these
Answer A
Hint or Explanation
AIDL file defines programming interface with method signature. AIDL interface should be defined in a “.aidl” file
0 Comments:
Post a Comment