File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Product and Other Certifications and the fly likes 40 Mock questions! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Certification » Product and Other Certifications
Bookmark "40 Mock questions!" Watch "40 Mock questions!" New topic
Author

40 Mock questions!

Shoaib Khanzada
Ranch Hand

Joined: Jan 24, 2004
Posts: 34
Hi all,
How your exam prep is going i hope that will be fine. Here are some mock exam questions that i created during my exam prep. I am going the take on 16th feb. If you find any bug in questions or answares please tell me as soon as possible. I hope this will help you a bit. thanks
Q1. CLDC 1.1 VM doesn�t support for which of the followings. (Select Three)
A.finalization
B.JNI
C.Float calculation
D.Threads
E.User defined class loaders
F.Weak references
Q2. Which attribute from the following describe the version of CLDC in JAD file?
(Select One)
A.Configuration
B.MIDP-Configuation
C.Microedition-Configuation
D.MIDlet-Configuation
Q3. MIDlet-Jar-Size attribute of JAD file specify the MIDlet jar file size in bytes.
A.True
B.False
Q4. Which callback method is invoked for specific Item event.? (Select One)
A.itemEventFired(Item)
B.itemStateChanged(ItemEvent ie)
C.itemEventFired(ItemEvent)
D.itemStateChanged(Item)
Q5. Which constant create a modal alert? (Select One)
A.Alert.MODAL
B.AlertType.ALWAY
C.Alert.FOREVER
D.AlertType.FOREVER
Q6. Which of the following statement is true about StreamConnectionNotifier? (Select One)
A.A special connection that is used to wait for a StreamConnection to be established.
B.It extends StreamConnection.
C.It extends Connection.
D.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);
A.This code will successfully compile and run.
B.This code will compile fine but will throw an exception at runtime.
C.This code will successfully compile and run if �rs.deleteRecord(2)� is removed.
D.This code will not be compiled.
Q9. Which of the following are the requirements for JTWI. (Choose Three)
A.MIDP 2.0
B.WMA 1.1
C.MMAPI 1.1
D.CLDC 1.0
E.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 JAD file according to JTWI is ________.
Q13. JTWI reccommended heap size is _______.
Q14. JTWI suggest screen size of (Select One)
A.96 x 54 with 1 bit color depth.
B.125 x 125 with 12 bit color depth.
C.96 x 54 with 12 bit color depth
D.125 x 125 with 1 bit color depth.
Q15. SMS Push is the requirement of JTWI.
A.True
B.False

Q16. JTWI MMAPI enable devices must support: (Select One)
A.8-Bit KHZ mono PCM for audio
B.16-Bit KHZ mono PCM for audio
C.8-Bit KHZ color PCM for video
D.16-Bit KHZ color PCM for video
Q17. MIDP 2.0 required protocols are (Select Two)
A.http 1.0
B.http 1.1
C.smtp
D.rmp
E.https
Q18. JTWI complaint implementation must support upto ____ threads.
Q19. UTF-8 is the default encoding scheme.
A.True
B.False
Q20. No of independent RecordStore is ______.
Q21. No of simultaneous Timer is ______.
Q22. CLDC derived collection classes from J2SE are (Select four)
A.Vector
B.ArrayList
C.Stack
D.Queue
E.Hashtable
F.Enumeration
Q23. RecordStore can not be shared among multiple MIDlets.
A.True
B.False
Q24. Which authmode is used to share RecordStore between multiple MIDlets.
(Select One)
A.It can not shared with multiple midlets
B.AUTHMODE_PUBLIC
C.AUTHMODE_ANY
D.AUTHMODE_SHARED
Q25. List type IMPLICIT is not available for ChoiceGroup
A.True
B.False
Q26. MIDlets in minimum security domain are prompted for every permission.
A.True
B.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)
A.Basic
B.Form
C.Client-Cert
D.Digest
E.None of the above.
Q30. Default mode of open Connection is (Select One)
A.READ
B.READ_WRITE
C.WRITE
Q31. A MIDlet can not get its environment properties.
A.True
B.False
Q32. If the attribute is defined in JAD and MIDlet JAR file which one will take precedence (Select One)
A.You can not specify the same attribute in both files.
B.JAD file
C.JAR file
D.None of the above

Q33. Possible values that you can return from Comparator.compare are
A.EQUIVALENT
B.PRECEDS
C.EQUAL
D.LESSTHEN
E.FOLLOWS
Q34. Possible states for a Player are (Select five)
A.UNREALIZED
B.REALIZED
C.STARTED
D.STOPED
E.PREFETCHED
F.CLOSED
G.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
A.True
B.False
Q38. SMS Text message limit is (Select One)
A.160 Characters
B.70 Characters
C.160/70 Characters depends on encoding
D.None of the above.
Q39. You can obtain server socket by using url (Select Two)
A.socket://:1050
B.socket://localhost:1050
C.socket://:
D.socket://+165479895
Q40. Which attribute is used to specify Push enable midlets _________.
Answares:
Q1. A, B, E
Q2. C
Q3. A
Q4. D
Q5. C
Q6.
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>

Best_In_Best
------------
With every adversity there is a seed of an equivalent or greator benefit.
Weerawit Maneepongsawat
Ranch Hand

Joined: Apr 11, 2002
Posts: 203

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

I think answer is C
and the question 11 and 12 is the same but the answer is doesn't


Weerawit<br />SCJP 1.4, SCWCD 1.2, SCWCD 1.4, SCBCD 1.3, SCBCD 5.0, SCMAD 1.0, SCJA 1.0, SCDJWS, SCJD, SCEA, SCDJWS 1.5
Shoaib Khanzada
Ranch Hand

Joined: Jan 24, 2004
Posts: 34
Sorry for some loose consentration. Here are updated questions
Q6. Which of the following statement is true about StreamConnectionNotifier? (Select Two)
A.A special connection that is used to wait for a StreamConnection to be established.
B.It extends StreamConnection.
C.It extends Connection.
D.It provide asynchroneous access
Q12. The standard size for RMS according to JTWI is ________.
Answares:
Q6. A, C
Q12. 30KB
Suresh Bansal
Ranch Hand

Joined: Jul 23, 2001
Posts: 91
Good Work Shoaib. The questions are good.
And best wishes for the exam.
[ February 13, 2004: Message edited by: Suresh Bansal ]

Journey is as important as the Destination.<br /> <br />PMP, SCJP, SCJD, SCEA (Part 1), SCMAD, SCDJWS
Hasan Marzooq
Greenhorn

Joined: Feb 13, 2004
Posts: 1
Dear Shoaib, I live in Karachi and also preparing for SCMAD. I need your help. My e-mail address is hasanmarzooq@yahoo.com. Please mail me.
Thank you.
Marzooq.
Ko Ko Naing
Ranch Hand

Joined: Jun 08, 2002
Posts: 3178
Shoaib Khanzada, that's really great for us!!! Thanx


Co-author of SCMAD Exam Guide, Author of JMADPlus
SCJP1.2, CCNA, SCWCD1.4, SCBCD1.3, SCMAD1.0, SCJA1.0, SCJP6.0
Ken Ho
Ranch Hand

Joined: Feb 01, 2004
Posts: 91
Thanks a lot for your effort!!


SCJP 1.4, SCWCD 1.3, SCBCD 1.3, SCMAD, SCDJWS
Sathya Srinivasan
Ranch Hand

Joined: Jan 29, 2002
Posts: 379
Great work Shoaib. Really appreciate the effort.


Cheers, Sathya Srinivasan - SCJP 1.2, SCWCD 1.2, SCMAD 1.0
Co-Author of Whizlabs SCMAD Certification Exam Simulator and SCMAD Exam Guide Book
the sopskrutt
Greenhorn

Joined: Feb 16, 2004
Posts: 4

Q32. If the attribute is defined in JAD and MIDlet JAR file which one will take precedence (Select One)
A. You can not specify the same attribute in both files.
B. JAD file
C. JAR file
D. None of the above

Actually, this only applies if it is an unsigned MIDlet. If it is signed, the manifest has precedence. Note that all MIDlet-* tags must be the same in the JAD file and the manifest for an installation to succeed if the MIDlet is signed.
Deepan Devadasan
Ranch Hand

Joined: Jan 25, 2007
Posts: 226
Hi folks...

Great work by the author...

I got 90% for these question....

Are they of exam standard...If so could expect something like for the real exam tooo....


Theepan Thevathasan
SCJP 1.4, SCWCD 1.4, SCMAD 1.0 SCBCD 1.3, MCP(.Net Frm 2.0 App Dev Fdn)
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: 40 Mock questions!