• 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
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

New Mock Exam

 
Ranch Hand
Posts: 1865
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
To prepare for the Java Programmer exam, I've been developing a web page that offers a set of three mock exams. A reader can be certain that all of my answers are correct because the code can easily be pasted into a source code file for testing.
Currently, there are a total of sixty questions distributed across three mock exams of twenty questions each. The topics covered in the current version are inheritance, initialization, inner classes, casting, operators, and control flow. I've been adding more topics every few days.
To keep the exams interesting, the ordering of the questions is reshuffled each time I post a new revision. Please see the web page to learn how it is possible to reshuffle the contents of an exam.
Please give my mock exams a try and let me know what you think.
http://www.geocities.com/danchisholm2000/
Please use the latest version of each mock exam since I delete the older versions periodically.
Dan
 
Author & Gold Digger
Posts: 7617
6
IntelliJ IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Welcome to Javaranch Dan
I'm sure SCJP aspirants will be delighted of your contribution...
Very good job... Keep it up
 
Ranch Hand
Posts: 170
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks, It'll be a great help for beginners who are aspiring to be SJCP like me. Keep up the good work!!! God bless!!
 
Ranch Hand
Posts: 106
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Question 8 of mock exam A has a problem.
The output are 3 and 4. These are the options:
a. Prints: 1
b. Prints: 2
c. Prints: 3
d. Prints: 4
e. Runtime error
f. Compiler error
g. None of the above
Since the question doesn't say how many options
to pick up, I chose c and d. But it turns out to be g because it doesn't just print 3 and it doesn't just print 4, so the answer is g. The options should be made something like these:
a. Prints 2 only.
b. Prints 3 only.
c. Prints 4 only.
.....
Something like that or telling how many options to pick up.
 
Dan Chisholm
Ranch Hand
Posts: 1865
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Alan,
Thank you for your suggestion as quoted below.


The options should be made something like these:
a. Prints 2 only.
b. Prints 3 only.
c. Prints 4 only.
.....
Something like that or telling how many options to pick up.


The next revision will include your suggestion to point
out how many options can be selected. As you know, the question tests to see if the reader has noticed that the break statements are missing from the switch statement. I don't want to include the word

only

in each answer because that would be an obvious hint that the break statements are missing. I preferred your suggestion to specify only a single answer.
Thank you again.
Dan
 
Dan Chisholm
Ranch Hand
Posts: 1865
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Guoqiao,
Thank you for creating a link to my mock exam. However, I noticed that you linked directly to the June 28 revision rather than the home page. Since the lifetime of each revision is very short, that link will die very soon.
The home page is really the only stable URL so it is the only safe place to link to. For example, the homepage no longer includes the June 28 link and I will probably remove the files from the geocities server before long.
Thank you,
Dan
 
Ranch Hand
Posts: 317
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes, Dan Chisholm, I have noticed that and just wondering what to do with it and saw your this reply.
I will modify the URL immediately in my mock exam list.
Guoqiao

Originally posted by Dan Chisholm:
Guoqiao,
Thank you for creating a link to my mock exam. However, I noticed that you linked directly to the June 28 revision rather than the home page. Since the lifetime of each revision is very short, that link will die very soon.
The home page is really the only stable URL so it is the only safe place to link to. For example, the homepage no longer includes the June 28 link and I will probably remove the files from the geocities server before long.
Thank you,
Dan

 
Dan Chisholm
Ranch Hand
Posts: 1865
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The July 3 version of my SCJP mock exam is now available at the following.
http://www.geocities.com/danchisholm2000/
The July 3 version of the exam has 71 questions. Sixty of the questions are carried over from the previous version. The new topic covered in this version is exception handling. The 71 questions are divided between 3 exams, A, B, and C, each containing 23 or 24 questions. Each exam covers questions from each topic-- inheritance, initialization, inner classes, casting, operators, control flow, and exception handling.
Please take a look and let me know what you think.
Thank you,
Dan
P.S. Alan's suggestion will be incorporated into the next version within the next couple days.
 
Guoqiao Sun
Ranch Hand
Posts: 317
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dan:
Nicely done of your work! url has been updated for your latest mock exam on my mock exam list, see at:
http://www.jiris.com/resources
Keep it up!
Guoqiao
 
We must storm this mad man's lab and destroy his villanous bomb! Are you with me tiny ad?
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic