SCMAD Certfication Center. SCMAD Study guides, SCMAD Mock exams, Free J2ME books, J2ME Tutorials, J2ME FAQs, J2ME Tools, J2ME Resources

   Helping You Pass the Sun Certified Mobile Application Developer Certification

 

SCMAD Mock Exam by Shoaib Khanzada


Q1. CLDC 1.1 VM doesn’t support for which of the followings. (Select Three)

  1. finalization
  2. JNI
  3. Float calculation
  4. Threads
  5. User defined class loaders
  6. Weak references

Q2. Which attribute from the following describe the version of CLDC in JAD file?(Select One)

  1. Configuration
  2. MIDP-Configuration
  3. Microedition-Configuration
  4. MIDlet-Configuration

Q3. MIDlet-Jar-Size attribute of JAD file specify the MIDlet jar file size in bytes.

  1. True
  2. False

Q4. Which callback method is invoked for specific Item event? (Select One)

  1. itemEventFired(Item)
  2. itemStateChanged(ItemEvent ie)
  3. itemEventFired(ItemEvent)
  4. itemStateChanged(Item)

Q5. Which constant create a modal alert? (Select One)

  1. Alert.MODAL
  2. AlertType.ALWAY
  3. Alert.FOREVER
  4. AlertType.FOREVER

Q6. Which of the following statement is true about StreamConnectionNotifier? (Select Two)

  1. A special connection that is used to wait for a StreamConnection to be established.
  2. It extends StreamConnection.
  3. It extends Connection.
  4. It provide asynchroneous access

Q7. Default mode for open connection is ________

Q8. Which statement is true about following code segment. Suppose all objects are valid objects. (Select One)

            rs.addRecord(rec1, 0, rec1.length);                  

            rs.addRecord(rec2, 0, rec2.length);                  

            rs.addRecord(rec3, 0, rec3.length);                  

            rs.deleteRecord(2);

            rs.getRecord(2, data, 0);

  1. This code will successfully compile and run.
  2. This code will compile fine but will throw an exception at runtime.
  3. This code will successfully compile and run if “rs.deleteRecord(2)” is removed.
  4. This code will not be compiled.

Q9. Which of the following are the requirements for JTWI. (Choose Three)

  1. MIDP 2.0
  2. WMA 1.1
  3. MMAPI 1.1
  4. CLDC 1.0
  5. CLDC 1.1

Q10. The standard size for MIDlet jar file according to JTWI is ________.

Q11. The standard size for JAD file according to JTWI is ________.

Q12. The standard size for RMS according to JTWI is ________.

Q13. JTWI reccommended heap size is _______.

Q14. JTWI suggest screen size of (Select One)

  1. 96 x 54 with 1 bit color depth.
  2. 125 x 125 with 12 bit color depth.
  3. 96 x 54 with 12 bit color depth
  4. 125 x 125 with 1 bit color depth.

Q15. SMS Push is the requirement of JTWI.

  1. True
  2. False

Q16. JTWI MMAPI enable devices must support: (Select One)

  1. 8-Bit KHZ mono PCM for audio
  2. 16-Bit KHZ mono PCM for audio
  3. 8-Bit KHZ color PCM for video
  4. 16-Bit KHZ color PCM for video

Q17. MIDP 2.0 required protocols are (Select Two)

  1. http 1.0
  2. http 1.1
  3. smtp
  4. rmp
  5. https

Q18. JTWI complaint implementation must support upto ____ threads.

Q19. UTF-8 is the default encoding scheme.

  1. True
  2. False

Q20. No of independent RecordStore is ______.

Q21. No of simultaneous Timer is ______.

Q22. CLDC derived collection classes from J2SE are (Select four)

  1. Vector
  2. ArrayList
  3. Stack
  4. Queue
  5. Hashtable
  6. Enumeration

Q23. RecordStore can not be shared among multiple MIDlets.

  1. True
  2. False

Q24. Which authmode is used to share RecordStore between multiple MIDlets.

(Select One)

  1. It can not shared with multiple midlets
  2. AUTHMODE_PUBLIC
  3. AUTHMODE_ANY
  4. AUTHMODE_SHARED

Q25. List type IMPLICIT is not available for ChoiceGroup

  1. True
  2. False

Q26. MIDlets in minimum security domain are prompted for every permission.

  1. True
  2. False

Q27. MIDlet permission is defined in JAD file using ________.

Q28. When downloading mids server must indicate that the data being download has the MIME type of __________________

Q29. MIDP specification requires the support for which of the following auth scheme

(Select One)

  1. Basic
  2. Form
  3. Client-Cert
  4. Digest
  5. None of the above.

Q30. Default mode of  open Connection is (Select One)

  1. READ
  2. READ_WRITE
  3. WRITE

Q31. A MIDlet can not get its environment properties.

  1. True
  2. False

Q32. If the attribute is defined in JAD and MIDlet JAR file which one will take precedence (Select One)

  1. You can not specify the same attribute in both files.
  2. JAD file
  3. JAR file
  4. None of the above

Q33. Possible values that you can return from Comparator.compare are

  1. EQUIVALENT
  2. PRECEDS
  3. EQUAL
  4. LESSTHEN
  5. FOLLOWS

Q34. Possible states for a Player are (Select five)

  1. UNREALIZED
  2. REALIZED
  3. STARTED
  4. STOPED
  5. PREFETCHED
  6. CLOSED
  7. READY

Q35. Select states from above question and draw the life cycle of a Player.

Q36. When a Player finish processing it returns to ________ state.

Q37. DataSource class is not available for MIDP 2.0 media API

  1. True
  2. False

Q38. SMS Text message limit is (Select One)

  1. 160 Characters
  2. 70 Characters
  3. 160/70 Characters depends on encoding
  4. None of the above.

Q39. You can obtain server socket by using url (Select Two)

  1. socket://:1050
  2. socket://localhost:1050
  3. socket://:
  4. socket://+165479895

Q40. Which attribute is used to specify Push enable midlets _________.

Answers:

Q1. A, B, E

Q2. C

Q3. A

Q4. D

Q5. C

Q6. A, C

Q7. READ_WRITE

Q8. C

Q9. A, B, D

Q10. 64KB

Q11. 5KB

Q12. 30KB

Q13. 256KB

Q14. B

Q15. A

Q16. A

Q17. B, E

Q18. 10

Q19. B

Q20. 5

Q21. 5

Q22. A, C, E, F

Q23. B

Q24. C

Q25. A

Q26. B

Q27. Midlet-Permissions

Q28. text/vnd.sun.j2me.app-description

Q29. A

Q30. B

Q31. B

Q32. B

Q33. A, B, E

Q34. A, B, C, E, F

Q35. A, B, E, C, F

Q36. PREFETCHED

Q37. A

Q38. C

Q39: A, C

Q40: Midlet-Push-<n> There is equivelent

Discussion on this mock exam at JavaRanch

Mock/Practice exams for other Sun certifications

SCJP mock exams
SCJD mock exams
SCWCD mock exams
SCBCD mock exams
SCEA mock exams
 
 >SCMAD Overview
 >SCMAD Objectives
 >SCMAD Mock Exams
 >SCMAD Study Guides
 >SCMAD Study Notes
 >SCMAD Articles
 >SCMAD Community
 >SCMAD Experiences
 >J2ME Documentation
 >J2ME Tutorials
 > FREE J2ME Books
 > FREE Computer Books
 >J2ME Glossary
 >J2ME FAQs
 >J2ME Examples
 >J2ME Tools
 >J2ME Resources
 >J2ME News
 >Submit
Home - About - Contact - Disclaimer - Privacy Policy - Site Map
© 2004-2006 All Rights Reserved.