0% found this document useful (0 votes)
20 views

Model Questions

The document consists of model questions for a Mobile Programming course for BCA Sixth Semester, divided into three sets. Each set includes objective type questions, short questions, and long questions focusing on various aspects of mobile programming, particularly Android and iOS development. Topics covered include Android components, application lifecycle, layouts, and practical application development tasks.

Uploaded by

angelmgrl135
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
20 views

Model Questions

The document consists of model questions for a Mobile Programming course for BCA Sixth Semester, divided into three sets. Each set includes objective type questions, short questions, and long questions focusing on various aspects of mobile programming, particularly Android and iOS development. Topics covered include Android components, application lifecycle, layouts, and practical application development tasks.

Uploaded by

angelmgrl135
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

Model Question – Set 1

Mobile Programming
BCA Sixth Semester

Objective Type Questions (Attempt all the Questions): [10x1=10]


1. What is ADB in android?
A. Image tool B. Development tool
C. Android Debug Bridge D. None of the above.
Answer: C

2. Which company developed android?


A. Apple B. Google
C. Android Inc. D. Nokia
Answer: C

3. Which one is NOT related to fragment class?


A. DialogFragment B. ListFragment
C. PreferenceFragment D. CursorFragment
Answer: D

4. A ___________ makes a specific set of the application data available to other


applications
A. Content provider B. Broadcast receivers
C. Intent D. None of these
Answer: A

5. Which among these are NOT a part of Android’s native libraries?


A. Webkit B. Dalvik
C. OpenGL D. SQLite
Answer: B

6. During an Activity life-cycle, what is the first callback method invoked by the
system?
A. onStop() B. onStart()
C. onCreate() D. onRestore()
Answer: C

7. What Activity method you use to retrieve a reference to an Android view by using
the id attribute of a resource XML?
A. findViewByReference(int id); B. findViewById(int id)
C. retrieveResourceById(int id) D. findViewById(String id)
Answer: B
8. What does the src folder contain?
A. Image and icon files B. XML resource files
C. The application manifest file D. Java source code files
Answer: D

9. IOS Stands for?


A. Internetwork Operating System B. IPhone Operating System
C. Internet Operating System D. None of Them
Answer: B

10. The IDE used in Swift is


A. Swiftc B. Gas
C. Xcode D. Ld
Answer: C

Short Questions (Attempt any SIX Questions): [6x5=30]


11. What do you mean by mobile programming? Explain life cycle of mobile application
development.
12. What do you mean by view hierarchy? Explain view hierarchy of android with the
help of suitable example.
13. Define widget. Explain any five widgets used in android application with their
attributes.
14. What do you mean by android activity? Explain android activity life cycle.
15. Differentiate activity and fragment with example.
16. Why RecyclerView is recommended over ListView? Explain with example.
17. Develop an iOS application to calculate simple interest.

Long Questions (Attempt any TWO Questions): [6x5=30]


18. Develop a simple calculator android application with two input fields for inputting
numbers and four Buttons for performing addition, subtraction, multiplication and
division. Display the result in a TextView.
19. Develop an android application to demonstrate basic crud operation using SQLite.
20. Develop an android application that demonstrates retrieval of contents from
remote server.
Model Question – Set 2

Mobile Programming
BCA Sixth Semester

Objective Type Questions (Attempt all the Questions): [10x1=10]


1. Android releases since 1.5 have been given nicknames derived from how?
A. Adjective and strange animal B. Food
C. Planets D. American States
Answer: B

2. Which one is not a nickname of a version of Andriod?


A. Cupcake B. Gingerbread
C. Honeycomb D. Muffin
Answer: D

3. What is the name of the program that converts Java byte code into Dalvik byte
code?
A. Android Interpretive Compiler (AIC) B. Dalvik Converter
C. Dex compiler D. Mobile Interpretive Compiler (MIC)
Answer: C

4. Difference between android api and google api?


A. The Google API includes Google Maps and other Google-specific libraries. The
Android one only includes core Android libraries
B. The google API one only includes core android libraries. The Android includes
Google Maps and other Google-specific libraries
C. None of the above
D. All of the above
Answer: A

5. When developing for the Android OS, Java bytecode is compiled into what?
A. Java source code B. Dalvik application code
C. Dalvik byte code D. C source code
Answer: C

6. An activity can be thought of as corresponding to what?


A. A Java project B. A Java class
C. A method call D. An object field
Answer: A

7. Where layouts are placed in android?


A. src folder B. manifest file
C. layout folder D. drawable folder
Answer: C
8. Which one is not a dialog box supported in android?
A. Alert Dialog B. List Dialog
C. Progress Dialog D. Date Picker Dialog
Answer: B

9. In swift, to create mutable object, _____ is used.


A. let B. var
C. Both A&B D. None
Answer: B

10. Which of the following is incorrect data type in Swift?


A. UInt B. Double
C. Char D. Optional
Answer: C

Short Questions (Attempt any SIX Questions): [6x5=30]


11. Explain different brands, models and platforms of mobile devices.
12. List and explain different versions of android in detail.
13. Differentiate LinearLayout and RelativeLayout with example.
14. How can you pass data between multiple activities using intent? Explain.
15. Develop an android application to calculate simple interest in a dialog.
16. What do you mean by RecyclerView? Explain its features.
17. Develop an iOS application to calculate area and perimeter of rectangle.

Long Questions (Attempt any TWO Questions): [6x5=30]


18. Develop an android application that demonstrates sending of contents to remote
server.
19. Develop a phone directory application using SQLite.
20. Develop an image gallery using GridView. Your gallery should display at least 5
drawable images. If any of the image is clicked it should be displayed in another
activity in large size.
Model Question – Set 3

Mobile Programming
BCA Sixth Semester

Objective Type Questions (Attempt all the Questions): [10x1=10]


1. Which is not the layout in android?
A. Frame Layout B. Linear Layout
C. Relative Layout D. Fragment Layout
Answer: D

2. You can shut down an activity by calling its _______ method.


A. onDestory() B. finishActivity()
C. finish() D. none of the above
Answer: C

3. Which are the screen sizes in Android?


A. small B. normal
C. large D. all of the above
Answer: D

4. Which one is not the Direct subclasses of Activity?


A. ListActivity B. ActivityGroup
C. FragmentActivity D. BaseActivity
Answer: D

5. Which one is NOT related to fragment class?


A. DialogFragment B. CursorFragment
C. PreferenceFragment D. ListFragment
Answer: B

6. The XML file that contains all the text that your application uses.
A. stack.xml B. text.xml
C. strings.xml D. string.java
Answer: C

7. How is a simulator different from an emulator?


A. Emulators are only used to play old SNES games, simulators are used for software
development
B. The emulator is shipped with the Android SDK and third party simulators are not
C. The emulator can virtualize sensors and other hardware features, while the
simulator cannot
D. The emulator imitates the machine executing the binary code, rather than
simulating the behaviour of the code at a higher level
Answer: D
8. When the activity is not in focus, but still visible on the screen it is in?
A. running state B. stopped state
C. paused state D. destroyed state
Answer: C

9. What does the .apk extension stand for?


A. Application Package B. Application Program Kit
C. Android Proprietary Kit D. Android Package
Answer: A

10. Which of the following declares a mutable array in Swift?


A. Let X =[Int]() B. Var X=[Int]
C. Var X=[Int]() D. Let X=[Int]
Answer: C

Short Questions (Attempt any SIX Questions): [6x5=30]


11. Explain about manifest file. How can we add activity in manifest? Explain with
example.
12. What do you mean by iOS programming? Explain iOS platform in detail.
13. What do you mean by menu? Explain its types.
14. What do you mean by UI flexibility? Why UI needs to be flexible? Explain how
fragments help to make UI flexible.
15. Explain the process of creating Database and Tables using SQLite in android.
16. What do you mean by fragment? Explain lifecycle of fragment in detail.
17. Explain the procedure for publishing signed APK in play store.

Long Questions (Attempt any TWO Questions): [6x5=30]


18. Develop an android application to input your name, address, gender and other
personal information. Pass and display this information in another activity.
19. Develop an android application to calculate simple interest using fragment.
20. Explain the procedure for generating API key for displaying google map in your
application. Also develop android application that uses this API key to display
google map.

You might also like