This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Ibm mock questions Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Ibm mock questions" Watch "Ibm mock questions" New topic
Author

Ibm mock questions

Satheesh Kumar
Greenhorn

Joined: Nov 21, 2000
Posts: 14
Hi,
Here are some questions from ibm mock exam can somebody help me to find the answers
Thanks in advance
1. An applet is more restrictive than an application in the following ways: (2 choices)

a) An applet may not perform local disk I/O.
b) An applet may not connect with any server except the
server where the applet was loaded from
c) An applet can change the CODEBASE
d) An applet cannot call the update() method directly
2) ThreadGroup class instances: (2 choices)
a) Allow threads to be manipulated as a group
b) Provide support for ThreadDeath listeners
c) May contain other ThreadGroups
d) Must contain threads of the same type
3) Primitive type wrapper classes: (3 choices)
a) Allow primitive types to behave as reference types
b) Allow operator overloading to be implemented for
primitive numeric types
c) Provide string parsing and conversion methods
d) Provide arithmetic operators such as plus and minus
e) Are provided for all primitive types, including void

4) The following are true of Java character-oriented streams:
(2 choices).
a) They provide support for character conversion between
Unicode and ASCII
b) They all implement the CharacterStream Interface
c) They inherit from either the Reader or Writer abstract
classes
d) They are restricted to 2^16 (2 raised to power of 16) in
length
5) Which of the following method pairs are best used for controlling thread communication?
a) stop() and resume()
b) wait() and notify()
c) threadWait() and threadNotify()
d) run() and destroy()
6)if(a) {x=y;} else{x=z;} can otherwise be writtern as
a) a=x?x=y:x=z;
b) x=a?x=y:x=z;
c) x=a?y:z;
d) a=x?y:z;
sabyasachi mondal
Ranch Hand

Joined: Dec 26, 2000
Posts: 33
Originally posted by Satheesh Kumar:
Hi,
Here are some questions from ibm mock exam can somebody help me to find the answers - Yes I am also seeking help from the Big Java guys (hey you deservr so!). Please follow:
Thanks.
mondal

1. An applet is more restrictive than an application in the following ways: (2 choices)

a) An applet may not perform local disk I/O.
b) An applet may not connect with any server except the
server where the applet was loaded from
c) An applet can change the CODEBASE
d) An applet cannot call the update() method directly
2) ThreadGroup class instances: (2 choices)
a) Allow threads to be manipulated as a group
b) Provide support for ThreadDeath listeners
c) May contain other ThreadGroups
d) Must contain threads of the same type
3) Primitive type wrapper classes: (3 choices)
a) Allow primitive types to behave as reference types
b) Allow operator overloading to be implemented for
primitive numeric types
c) Provide string parsing and conversion methods
d) Provide arithmetic operators such as plus and minus
e) Are provided for all primitive types, including void

4) The following are true of Java character-oriented streams:
(2 choices).
a) They provide support for character conversion between
Unicode and ASCII
b) They all implement the CharacterStream Interface
c) They inherit from either the Reader or Writer abstract
classes
d) They are restricted to 2^16 (2 raised to power of 16) in
length
5) Which of the following method pairs are best used for controlling thread communication?
a) stop() and resume()
b) wait() and notify()
c) threadWait() and threadNotify()
d) run() and destroy()
6)if(a) {x=y;} else{x=z;} can otherwise be writtern as
a) a=x?x=y:x=z;
b) x=a?x=y:x=z;
c) x=a?y:z;
d) a=x?y:z;

Rishi Yagnik
Ranch Hand

Joined: Jan 04, 2001
Posts: 84
hi friends,
i am just sending u an ans for the same Questions
Ques: Ans
1 a,b
2 a,c
3 a,c,e
4 a,c
5 b
6 c
i hope u will find explanations in yr cert books pls correct me if i am wrong
i am on last stage for my cert studies.
Rishi
Bin Wu
Ranch Hand

Joined: Jan 03, 2001
Posts: 32
rishi,
I don't know why you choose 'c' as the answer of question 6. I think all answers are wrong, the right answer should be:
a?x=y:x=z;
Your idea? Thanks.
 
jQuery in Action, 2nd edition
 
subject: Ibm mock questions
 
Similar Threads
doubts from ibm test
java.io question from IBM -Please answer
IBM Mock Exam
About Wrapper Classes
IBM Mock test