• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

I am also in elite group of SCJP-2.0

 
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Friends,
I can't describe my excitement in words. Yes....
I am also in elite group of SCJP-2.0
I passed SCJP-2 with 72%. The score is not very great. I could have scored better but as you all know every day is not our day.
I had really put a lot of efforts to get this score.
Let me describe it to you all.... may be this will help few of you
But, First thing keep in your mind.....
The Exam is really not at allllllll difficult.....
I mean passing the exam is easy.
Any way.... I am a civil engineer presently in Kuwait.
I have a good hand in computers, But never done any programming.(Should give boost to some persons)
I thought of doing Java in August, when I came from India to Kuwait.
Unfortunately, I started it in September.
( After committing to myself that,I will go to USA by the end of this year)
So, Guys .....You all have to set the target first.
I went through the complete BalaguruSwami book first, which helped me a lot in clearing my doubts.
The BalaguruSwami book is not sufficient to for certification. but it is good for the person who wants to start from the scratch.
Then, I found RHE and Khalid book from One of my friend
(Mahan Singh, having more than 15 certification from Brainbench and Micro Soft.)
Guys..... Khalid is really a good book. he has written a lot but useful. After seeing the exam, I found that RHE would have also been sufficient but we are not preparing for exam only...
I followed a lot of material from web. Some sites are really useful. specially the mahaanna's one.
Ultimately...... The main point .... How was the exam.....

I didn't get any code bigger than 20 lines.
Some question. were tricky and I know, I couldn't answer them right. All tricky questions were from language fundamentals.
(Like encapsulation and data hiding all definition ). I got lowest score in this section only. I never expected this to come in exam.
No true false questions.
No short answer questions.
IO was really very easy.(Only the constructors).
Two questions from collection.
Threading 4 questions.( only one question which was difficult and other 3 were easy.)
I still remember a lot of questions. but I think.,I am not supposed to disclose them..... Moderators must be knowing better.
But still, If somebody wants to clarify any doubts ...let me know... I am available....

bye for all

Amit Tyagi

 
Ranch Hand
Posts: 199
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Congrats Amit.....
U Did it......
ARuna
 
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Congrats Amit you have have done it!!!
Regards,
Shankar.
 
Leverager of our synergies
Posts: 10065
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Congratulations, Amit! Passing SCJP without previous programming experience is an achievement!
 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
CONGRATS AMIT
WITHOUT PROGRAMMING EXPERIENCE IT IS REALLY GREAT ..
 
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
congrats amit..
Well done, can yu highlight something more about threads. Everybody says that its quiet hard. Yu r the first one to say that yu have found it very easy..
SHALINI
 
Ranch Hand
Posts: 229
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
congrats amit.................
Harpal
 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Congrats Amit !!!
I m planning to give the exam next week but didn't know if they are asking any theory questions like encapsulation and data hiding stuff .It will be very kind u to mail me personally at [email protected] abt some example questions ASAP.
Thanks & Regards
Dipti
 
Ranch Hand
Posts: 1874
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Congratulations , Amit. You deserve a toast. Now , you help others in getting them the certification. Please post your experiences , notes etc. on your personal web site for the benefits of all the javaranchers.

What next ? SCJD ? Do participate in the forums & help others. Your experience & participation is invaluable for us.
 
Amit Tyagi
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you all guys ....
Let me say something about the threads.....
Hey before that very important thing....
Don't miss the java test sample question...
I got 6 questions from the sun site only.
They changed just the value .....
Any way... know very well about the round function [/B] .it returns int and long. Well means just remember it.
2.In threading, I got 75%. I did one question wrong out of four.
Any way see.....
write the code with the fillowing objective....
You should understand that if I write

t1.run();// t1 some thread
so you should know that this thing will compile.....
you are just overridding the run method and then calling it so no error.
Second ...... One method with synchronized modifier.
two threads, which will try to access the code, so what will happen.. I mean what will be the sequence of output for the member variables...
Third type same as above but without synchronized....
See, by reading it seems easy.. I request you all to just write some code and try to see the result. You all will be very comfortable in exam.
Fourth type should be a dead lock.
Write a code where one therad in the synchronized method will try to call another synchronized methos. You all should be able to make out the dead lock.
Again.....
try to understand the infinite loop inside the infinite loop.
I made mistake here. that is why, I got only 42%.(lot of question like theory and all this stuff.)
See, I should not write all details so friends can't help it....
but, still you can ask about any thing ,I will try of answer in some other way...
Bye

Amit Tyagi
 
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi man congratulations........now time for beer and vodka.
good go to the US.
please mail some example questions.
my mail is [email protected]
best of luck.
 
Amit Tyagi
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you all guys ....
Let me say something about the threads.....
Hey before that very important thing....
Don't miss the java test sample question...
I got 6 questions from the sun site only.
They changed just the value .....
Any way... know very well about the round function [/B] .it returns int and long. Well means just remember it.
2.In threading, I got 75%. I did one question wrong out of four.
Any way see.....
write the code with the fillowing objective....
You should understand that if I write

t1.run();// t1 some thread
so you should know that this thing will compile.....
you are just overridding the run method and then calling it so no error.
Second ...... One method with synchronized modifier.
two threads, which will try to access the code, so what will happen.. I mean what will be the sequence of output for the member variables...
Third type same as above but without synchronized....
See, by reading it seems easy.. I request you all to just write some code and try to see the result. You all will be very comfortable in exam.
Fourth type should be a dead lock.
Write a code where one therad in the synchronized method will try to call another synchronized methos. You all should be able to make out the dead lock.
Again.....
try to understand the infinite loop inside the infinite loop.
I made mistake here. that is why, I got only 42%.(lot of question like theory and all this stuff.)
See, I should not write all details so friends can't help it....
but, still you can ask about any thing ,I will try of answer in some other way...
Bye

Amit Tyagi
 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

hi! amit congrat's
your background is same as mine, with little difference ,you have cleared i have to clear by 9th, my deadline(though the objective is same US).But dear please mail me some essentials points or rather questions before i enter the exam.You can mail me to hounor the santity of this forum.
#my address [email protected]
Thanks in advance
 
Amit Tyagi
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Pasricha ,
I am sorry, today only.
I sent e-mail to so many person for this.
I can't write any more today, My fingers are paining. i am not a very good typist.
Please give me one or two days ..I will try to send you all..
Thanks
Amit
 
Amit Tyagi
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi. Every body...

Before appearing for the exam ,, you all should test your knowledge here...
http://www.absolutejava.com/articles/test-your-java-knowledge.html
see this also.... http://www.absolutejava.com/articles/java-tidbits.html
Amit
 
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Congreats!!! Amit
I am plannig to appear the exam next week. So can you forward me your notes and good challenging question?
[email protected]
All the best for your future
Parag
[This message has been edited by parag bharambe (edited November 05, 2000).]
 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Amit scjp
Congrats and thank you very much for all important information.
I will take the exam on 21st.
Will you please help me by sending some more tips with sample questions.
my mail id: [email protected]
Good luck.
Thanks in advance
rajan
 
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Congrats Amit
good job
You must be feeling realy great right now.
I'm taking the exam in a week.
Can you email me some chalenging question.
Especialy threads.
thanks
 
Kourosh Keshavarzi
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for suggesting
http://www.absolutejava.com/articles/test-your-java-knowledge.html

they were realy good questions. I at least learned 3 things out of going through them. I'll go through them again the day before the exam to remind myself of those tricks.
were can I go for some tricky thread questions.
 
Ranch Hand
Posts: 115
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Good on you Amit!
I am thinking of taking exam in couple of weeks and I wasn't sure if I am ready or not.. but after reading your comments, I feel a bit better..
Can you send me your sample questions as well, please?
[email protected]
Thanks.
p/s are you off to US to work as a Java developer now???
 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi amit,
congrats on clearing the exam!
could u pls mail me your notes at [email protected].
all the best in ur US endeavours.
bye,
shakeel
 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hai Amit,
Congratulations man! U made it.This week i have to do this.If u help me too i will be very glad.My id is [email protected]
Thanks
 
Harpal Singh
Ranch Hand
Posts: 229
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hey Amit,
I allready congragulated you will be great if you could send it to my id at [email protected]
Thanks,
Harpal
 
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Congrats Amit !!!
I m planning to give the exam next week but didn't know if they are asking any theory questions like encapsulation and data hiding stuff .It will be very glad if u to mail me personally at [email protected] about some tips and example questions ASAP.
Thanks & Regards
awaitin u'r reply
prasanthi....
 
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Amit,
Congrats on clearing the SCJP2 !It will be very useful if u can mail me at [email protected] about some tips and example questions ASAP.
Thanks
Aravind.
 
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Congrats Amit !!!
I m planning to give the exam next week pls send example questions theory questions like encapsulation and data hiding stuff .
Will you please help me by sending some more tips.my id is [email protected].
thanx
 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Amit
Congrats and thanks for your information.
I am planning to take exam on 28th November. I have been preparing for exam for last 5 weeks. I have C++/VB background.
Would you please help me by sending some more tips with sample questions.
my email is [email protected]
Thanks in advance
Niraj

 
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Tyagi,
Congrats on clearing the scjp. Wish you all the best in your future endeavours. I'm also appearing for the SCJP soon. It would be great if you could send your notes to:
[email protected].
TIA,
uday.
 
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Congrats!!!
Please send me at [email protected]
 
SHALINI PATEL
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
HI AMIT,
Thanks a bunch for those tips on threads, It really helped. I agree with yu that writing a piece of code make it much clear.
Amit, can yu email me on [email protected]
Thanks again, and goodluck....... Yu seem to be a java guru now..
SHALINI
 
Amit Tyagi
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Guys,
Thank you . ..Thank you very much....
you all should practice threads for at least these ways plus some other combination
1>
class a1 extends Thread
{
public static void main(String args[])
{
a1 a =new a1();
Thread a11 = new Thread(a);
Thread a12 = new Thread(a);
a11.run();
a12.run();
}
int x,y;
synchronized int method1()
{
x =x+method2();
return x;
}
synchronized int method2()
{
y =y+method1();
return y;
}
public void run()
{
method1();
method2();
System.out.println(x+""+y);
}
}
what will be the result?
answer.......... stack overflow

2 >class a1 extends Thread
{
public static void main(String args[])
{
a1 a =new a1();
Thread a11 = new Thread(a);
Thread a12 = new Thread(a);
a11.run();
a12.run();
}
int x=1,y=1;
synchronized void method1()
{
x =x+1;
y=y+1;
}
public void run()
{
for(int i =0 ; i<5;i++)
{
method1();
System.out.println(x+""+y);
}
}
}
What will be the pattern of values of x & y
Can you predict it?
or 2 2...3 3.... 4 4 ...
or 2 3 ..3 4.... 4 5..

answer... Test and see........

bye everybody Thanks Shalini

Amit
 
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I passed the beta exam a while back with 79 and I was very underprepared for the IO questions as I didn't really expect them at that time. so u can get by without being too hot on them....although I would definitely try to learn it. It's not much fun sitting exam questions that you r not ready for!
 
Mapraputa Is
Leverager of our synergies
Posts: 10065
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Friends, have you ever read what is written at the top of this page?


Do not post questions from the actual certification exams. If you see a question from an actual exam, please e-mail the moderators privately to let us know.


IT IS ILLEGAL TO POST ACTUAL EXAM QUESTION,
IT IS UNETHICAL TO ASK FOR THEM
 
prasanthi kothapa
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
in the below code, how are we able to call the
run() method of the thread , without calling
start().
2 >class a1 extends Thread
{
public static void main(String args[])
{
a1 a =new a1();
Thread a11 = new Thread(a);
Thread a12 = new Thread(a);
a11.run();
a12.run();
}
int x=1,y=1;
synchronized void method1()
{
x =x+1;
y=y+1;
}
public void run()
{
for(int i =0 ; i<5;i++)
{
method1();
System.out.println(x+""+y);
}
}
}

please help..
prasanthi
 
Amit Tyagi
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi prasanthi,
Why don't you try this code and see your self...
Bye

Amit
 
Amit Tyagi
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Mapraputa,
Thanks for advise.
I am not giving the actual exam questions.
These were the questions which I practised before taking the exam. and I think after doing these type of qtn's person can understand the real exam's qtns well.
hope you have understood my point..
Amit
 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Congrates Amit !!! And Thanx for the vital information regarding the exam . You have done a great service to all of us who are aspiring for SCJP exam .It would be very kind of u , if you can provide the links - sources where we can get good questions on Threads .
If you want , you can mail me personally at [email protected]
THANX ONCE AGAIN !!!
 
SHALINI PATEL
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
HI AMIT,
thanks for those suggestions........
good luck
SHALINI
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Congrats!!! for your exam, can you please send me any information that will help me to take exam on next week..
my email id : [email protected]
Thanks
 
Mapraputa Is
Leverager of our synergies
Posts: 10065
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Amit, congratulations once again!
That's great that you help people. But I deleted two posts which asked smth like this: "just send me all that you can remember of the exam" - they obviously asked for real exam questions. As soon as smbd asks for REQ we have a chain reaction, "me too, me too!" To prevent disaster I put a warning in red inks.
 
Won't you please? Please won't you be my neighbor? - Fred Rogers. Tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic