Test Your Knowledge
on
MOBILE APPLICATION DEVELOPMENT (MAD)
PART – A (5 x 2 = 10 Marks)
Note:
- This Part consists of 8 Questions.
- Answer any 5 questions. Each question carries 2 Marks.
- What are the salient features of J2ME?
- Define configuration in J2ME.
- Develop a simple HelloWorld MIDlet using J2ME.
- What are the requirements of small computing devices?
- Write the code required for creating an instance of ImageItem class.
- What is JDBC? What kind of devices can avail its services?
- Define cookies. What is the role of cookies in a MIDlet?
- What do you mean by persistence of data in a MIDlet? How do you achieve it?
PART – B (5 x 12 = 60 Marks)
Note:
- This Part consists of 10 QUESTIONS
- Answer any 1 question from each Section. Each question carries 12Marks.
- Illustrate your answers with NEAT sketches wherever necessary.
SECTION – I
2.A How does J2ME differ from other Editions of Java?
2.B Distinguish between CDC and CLDC.
(OR)
3.A What are MIDlets? What is the need for grouping MIDlets to form a MIDlet Suite?
3.B Discuss some of the UI Classes available in LCDUI package of MIDP for creating MIDlets.
SECTION - II
4.A Briefly discuss the basic concepts of Wireless Technology.
4.B Explain J2ME Architecture with a neat diagram.
(OR)
5.A Give a brief note on Clipping and Animation.
5.B Write a MIDlet program for drawing a rectangle on canvas.
SECTION - III
6.A Write a HelloWorld MIDlet using Command UI to add two integers that can be obtained from the user at runtime using TextField objects.
6.B Discuss in detail how persistence can be achieved through RMS?
(OR)
7.A Write a MIDlet for selecting an option from a list of Choices given and to display the selected option on the screen when the user clicks on the Display button.
7.B Explain the steps involved in storing and retrieving string data in a record store using RMS.
SECTION – IV
8.A Explain the concept of JDBC? How do you connect to a database from a MIDlet using JDBC Drive? Illustrate with sample code.
(OR)
9.A How do you store and retrieve multiple types of data from a record store using RMS? Write the steps involved in it.
SECTION – V
10 Explain session management with an example. How can you manage sessions using cookies?
(OR)
11.A Explain the different types of HTTP Requests.
11.B Explain the steps required to write to and read from a socket.
**** BEST OF LUCK ****