Tuesday, October 23, 2012

JAVA QUESTION bank unit 5


UNIT -V
2 Marks
1.       Define a set of characteristics that specify in configuration.
A configuration is a specification that defines the software environment for a range of devices defined by a set of characteristics that the  specify.
• The types and amount of memory available
• The processor type and speed
• The type of network connection available to the device

2.       Define MIDP.
Mobile Information Device Profile (MIDP) is a specification published for the use of Java on embedded devices such as mobile phones and PDAs. MIDP is part of the Java Platform, Micro Edition (Java ME) framework and sits on top of Connected Limited Device Configuration (CLDC), a set of lower level programming interfaces. MIDP was developed under the Java Community Process.

3.       What is Mobile Information Device?
MIDP is targeted at a class of devices known as mobile information devices (MIDs). These are devices
that have the following minimal characteristics:
·         Enough memory to run MIDP applications
·         A bit addressable display at least 96 pixels wide by 56 pixels high, either monochrome   or color.
·         A keypad, keyboard, or touch screen.
·         Two-way wireless networking capability.

4.       What is Connected Device Configuration?
The Connected Device Configuration (CDC) is a specification of a framework for Java ME applications describing the basic set of libraries and virtual-machine features that must be present in an implementation. The CDC is combined with one or more profiles to give developers a platform for building applications on embedded devices ranging from pagers up to set-top boxes.

5.       What is Connected Limited Device Configuration?
A Connected Limited Device Configuration provides the most basic set of libraries and virtual-machine features that must be present in each implementation of a J2ME environment. When coupled with one or more profiles, the Connected Limited Device Configuration gives developers a solid Java platform for creating applications for consumer and embedded devices.

6.       What is Profile?
The Foundation Profile extends the CDC to include almost all of the core Java libraries. As its name suggests, it is intended to be used as the basis for most of the other CDC profiles.
7.       What are the classes and interface used in Mobile networking Application?
There is 1 class (Connector) and 7 connection interfaces (Connection,  ContentConnection,  DatagramConnection, InputConnection, OutputConnection, StreamConnection, and  StreamConnectionNotifier).


16 Marks
1.      Explain about  a.) Foundation Profile      b.) RMI Profile
2.      Design a MIDlet program  for saying Hello World and add 3 commands
3.      Explain about Mobile Information Device Profile and what are the packages used in MID profile?
4.      What are the steps to create a MIDlet?
5.      Explain detail about  MIDlet Lifecycle.
6.      Write a brief note on Mobile Network application.

No comments:

Post a Comment