Sun Java Solaris Communities My SDN Account Join SDN
 
Quizzes

Programmer Quiz

 



Find out how much you know about Java ME by testing your concept knowledge with this broad spectrum quiz.

1. Which of the following statements is true about Java ME?

 A. Java ME is a single specification.
 B. Java ME is a family of related specifications.
 C. Java ME is a platform for creating applications for the well-established desktop market.
 D. Java ME is a platform for creating server-side enterprise applications.

2. What is a configuration?

 A. A configuration defines a set of class libraries available for a particular domain of devices.
 B. A configuration defines a vertical (or specialized) set of classes.
 C. A configuration defines a minimum set of class libraries for a wide range of devices.
 D. All of the above.

3. What is a profile?

 A. A profile defines a set of class libraries available for a wide range of devices.
 B. A profile defines a horizontal set of classes that a configuration can use.
 C. A profile defines the set of APIs available for a particular family of devices.
 D. A profile is the foundation for a configuration.

4. The Personal Digital Assistant (PDA) Profile is based on:

 A. Connected Device Configuration (CDC).
 B. Connected Limited Device Configuration (CLDC).

5. The Foundation profile:

 A. Extends the CDC by adding the missing user interface APIs.
 B. Extends the CLDC by adding the missing Java 2, Standard Edition (J2SE) core libraries.
 C. Is meant to serve as a foundation for other profiles.
 D. All of the above.

6. The RMI profile is meant to be used with:

 A. CLDC and MIDP
 B. CDC and Foundation
 C. Both A and B

7. The CLDC does not address user interface issues. They are left to be handled by the:

 A. Foundation profile
 B. Personal profile
 C. Mobile Information Device Profile (MIDP)
 D. None of the above

8. Which of the following network connections is supported by MIDP?

 A. UDP datagrams
 B. WAP
 C. HTTP
 D. All of the above

9. A Java ME-enabled device:

 A. Can support only a single profile
 B. Can support multiple profiles

10. A device that currently uses CLDC (and therefore has a profile) can use that profile with CDC without modification.

 A. True
 B. False

11. In the CDC, user interface issues are handled by the:

 A. Foundation profile
 B. Personal profile
 C. Mobile Information Device Profile (MIDP)
 D. None of the above

12. The CDC targets devices with _______ of total memory available for the Java platform, including both RAM and flash or ROM.

 A. 160 KB
 B. 256 KB
 C. 512 KB
 D. 2 MB or More

13. The Java Virtual Machine1 specified to be used with the CDC is:

 A. KVM
 B. CVM
 C. PVM

14. In MIDP, the maximum length of a record store name is:

 A. 8 characters
 B. 32 characters
 C. 128 characters
 D. No limit on the length of a record store name

15. Is it possible to determine the contents of a JAR file before is it downloaded to a device?

 A. No, it is not.
 B. Yes, by inspecting the associated JAD file.

16. The CDC and Foundation make corrections to the J2SE libraries by removing all noncritical, deprecated APIs.

 A. True
 B. False

17. Which of the following network connections is supported by the CDC?

 A. UDP datagrams
 B. TCP sockets
 C. HTTP connections
 D. None of the above

18. Which of the following network connections is supported by the Foundation profile?

 A. UDP datagrams
 B. TCP sockets
 C. HTTP
 D. All of the above

19. What compilation option should be used when compiling Java ME applications?

 A. -classpath
 B. -bootclasspath
 C. -preverify
 D. Any of the above

20. Which of the following areas are being investigated by the MIDP Next Generation?

 A. HTTPS and secure networking
 B. Network connectivity through sockets and datagrams
 C. Extensions to the low-level user interface APIs to allow greater game functionality
 D. All of the above
 E. None of the above
 


Back To Top