Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Are There Good OCPJP Programming Exercises?

 
Kaydell Leavitt
Ranch Hand
Posts: 689
Eclipse IDE Firefox Browser Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm reading K&B and although they recommend doing a lot of small programs, there aren't very many programming exercises. I see a lot of practice exam questions, but I'm not looking for any more multiple choice mock exam questions. I'm looking for programming exercises that I can read and then code up and run them under java.

Thanks.

-- Kaydell
 
dennis deems
Ranch Hand
Posts: 808
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is a section of coding exercises in the K&B book of Practice Exams. It is maybe four pages. They are fairly abstract, for example, "write a program that opens a file and prints the first line on the console" -- that kind of thing.
 
Kaydell Leavitt
Ranch Hand
Posts: 689
Eclipse IDE Firefox Browser Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks. I do already have that book, I just didn't realize that it had any programming exercises. Thanks again.
 
Bert Bates
author
Sheriff
Posts: 8898
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Another way of looking at this is that each mock question can be the source of a lot of coding practice. As we write these mock questions we play around with each code sample. We try different variations, different methods, and so on...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic