SCMAD Mock Exam by Shoaib Khanzada
Q1. CLDC 1.1 VM doesn’t support for which of the followings.
(Select Three)
- finalization
- JNI
- Float
calculation
- Threads
- User
defined class loaders
- Weak
references
Q2. Which attribute from the following describe the version
of CLDC in JAD file?(Select One)
- Configuration
- MIDP-Configuration
- Microedition-Configuration
- MIDlet-Configuration
Q3. MIDlet-Jar-Size attribute of
JAD file specify the MIDlet jar file size in bytes.
- True
- False
Q4. Which callback method is invoked for specific Item event? (Select One)
- itemEventFired(Item)
- itemStateChanged(ItemEvent ie)
- itemEventFired(ItemEvent)
- itemStateChanged(Item)
Q5. Which constant create a modal alert? (Select One)
- Alert.MODAL
- AlertType.ALWAY
- Alert.FOREVER
- AlertType.FOREVER
Q6. Which of the following statement is true about StreamConnectionNotifier? (Select Two)
- A special connection that is used to wait for a StreamConnection to be established.
- It extends StreamConnection.
- It extends Connection.
- 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);
- This
code will successfully compile and run.
- This
code will compile fine but will throw an exception at runtime.
- This
code will successfully compile and run if “rs.deleteRecord(2)” is
removed.
- This
code will not be compiled.
Q9. Which of the following are the requirements for JTWI. (Choose Three)
- MIDP
2.0
- WMA
1.1
- MMAPI
1.1
- CLDC
1.0
- 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)
- 96 x
54 with 1 bit color depth.
- 125 x
125 with 12 bit color depth.
- 96 x
54 with 12 bit color depth
- 125 x
125 with 1 bit color depth.
Q15. SMS Push is the requirement of JTWI.
- True
- False
Q16. JTWI MMAPI enable devices must support: (Select One)
- 8-Bit
KHZ mono PCM for audio
- 16-Bit
KHZ mono PCM for audio
- 8-Bit
KHZ color PCM for video
- 16-Bit
KHZ color PCM for video
Q17. MIDP 2.0 required protocols are (Select Two)
- http
1.0
- http
1.1
- smtp
- rmp
- https
Q18. JTWI complaint implementation must support upto ____ threads.
Q19. UTF-8 is the default encoding scheme.
- True
- False
Q20. No of independent RecordStore
is ______.
Q21. No of simultaneous Timer is ______.
Q22. CLDC derived collection classes from J2SE are (Select
four)
- Vector
- ArrayList
- Stack
- Queue
- Hashtable
- Enumeration
Q23. RecordStore can not be shared
among multiple MIDlets.
- True
- False
Q24. Which authmode is used to
share RecordStore between multiple MIDlets.
(Select One)
- It
can not shared with multiple midlets
- AUTHMODE_PUBLIC
- AUTHMODE_ANY
- AUTHMODE_SHARED
Q25. List type IMPLICIT is not available for ChoiceGroup
- True
- False
Q26. MIDlets in minimum security
domain are prompted for every permission.
- True
- 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)
- Basic
- Form
- Client-Cert
- Digest
- None
of the above.
Q30. Default mode of open Connection is (Select One)
- READ
- READ_WRITE
- WRITE
Q31. A MIDlet can not get its
environment properties.
- True
- False
Q32. If the attribute is defined in JAD and MIDlet JAR file which one will take precedence (Select One)
- You
can not specify the same attribute in both files.
- JAD
file
- JAR
file
- None
of the above
Q33. Possible values that you can return from Comparator.compare are
- EQUIVALENT
- PRECEDS
- EQUAL
- LESSTHEN
- FOLLOWS
Q34. Possible states for a Player are (Select five)
- UNREALIZED
- REALIZED
- STARTED
- STOPED
- PREFETCHED
- CLOSED
- 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
- True
- False
Q38. SMS Text message limit is (Select One)
- 160
Characters
- 70
Characters
- 160/70
Characters depends on encoding
- None
of the above.
Q39. You can obtain server socket by using url (Select Two)
- socket://:1050
- socket://localhost:1050
- socket://:
- 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
|