• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Practicing Java Programs While Preparing For OCPJP 6

 
Ranch Hand
Posts: 88
1
Android Firefox Browser Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello everyone!!

I am preparing for the OCPJP 6 certification exam. I have first read the book, "Head First Java," and, then, read "S.C.J.P. 6 Study Guide"- both books written by Kathy Sierra and Bert Bates. I have also did the revision of the latter one.

I now just started reading "OCP Java Programmer- Practice Exams" by Kathy Sierra and Bert Bates.

I have learnt, as given in (as I remember, at least two) books I stated, that writing a lot of code helps a lot in getting success at this 'OCPJP 6' exam.

But, I wanted some program-writing questions with a focus on this 'OCPJP 6' exam, that will help me in practicing Java code that will help me in learning the things that will be useful for preparing for this exam.

I read about 'Cattle Drive' on JavaRanch. Can it be useful for this?

I also wanted to ask, that,: Is there any website or book that can help me in practicing programs through which I can learn things for this 'OCPJP 6' exam?

Can anyone please tell me this?

Thank you! Thank you in advance
 
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ashish,
You should definitely be able to do all the Cattle Drive program. You also need to know how to write harder programs. The SCJP 6 Study Guide lists ideas of programs to practice. Beyond that, see what you are weak areas are and write code that plays with those areas.

You don't need to write fully functional programs for the SCJP. You need to know the language features well.
 
Ashish Ramteke
Ranch Hand
Posts: 88
1
Android Firefox Browser Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Jeanne Boyarsky wrote:Ashish,
You should definitely be able to do all the Cattle Drive program. You also need to know how to write harder programs. The SCJP 6 Study Guide lists ideas of programs to practice. Beyond that, see what you are weak areas are and write code that plays with those areas.

You don't need to write fully functional programs for the SCJP. You need to know the language features well.



Thanks you, mam!!

Should I try and write programs by myself for practice? I was looking for any website maybe or any place here at this website that has questions, for example: "Create two thread objects, each for different given tasks. Start the threads, and so on...", that I can try by coding.

I wanted to do practice of coding so that I can get prepared very well for the exam and in all ways, so that I can cover studying many many things, trying not to leave anything while preparing... Is it better or good to make and practice programs by myself by taking ideas from that SCJP Study Guide's exercises and examples?
 
Jeanne Boyarsky
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I realize the SCJP Study guide isn't what I thought it was. Ignore my comment about that.

THe K&B Practice exam book has more than 6 pages worth of things you can write for practice that sound like what you are asking for. Each one is only a few of lines long in description so this is hundreds of problems. (See chapter 4 for details of the book.)

For example "Create code that starts threads using java.lang.Thread and java.lang.Runnable"
 
Ashish Ramteke
Ranch Hand
Posts: 88
1
Android Firefox Browser Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Jeanne Boyarsky wrote:I realize the SCJP Study guide isn't what I thought it was. Ignore my comment about that.

THe K&B Practice exam book has more than 6 pages worth of things you can write for practice that sound like what you are asking for. Each one is only a few of lines long in description so this is hundreds of problems. (See chapter 4 for details of the book.)

For example "Create code that starts threads using java.lang.Thread and java.lang.Runnable"



Yes, you are right!! I just checked the book, it has the coding questions, that give a question and ask me to code it, that I can practice on computer, and, they seem to be a good guide for me to make new programs myself as/if I want based on the questions given, as it written there that, 'you can use these questions as a template also, for making your own programs...'...

I did not know that such questions were in the book. I wanted questions like these only! Thank you very much for telling!!

The example that you gave in your post is exactly a question there in the book.

I noticed your contribution and photo given/stated at the start of the book. Thanks!

Its very nice at codeRanch here that I or other people can connect with people who have themselves contributed to, or, say, authored the book they (those people) are reading!!
 
Jeanne Boyarsky
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I just looked for errors in the book . But that means I read it, know what it is it and have a copy to refer to .
reply
    Bookmark Topic Watch Topic
  • New Topic