A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
OCA Java SE 8 Programmer I Study Guide
this week in the
Web Component Certification (SCWCD/OCPJWCD)
Wierd answers from Examulator
Joined: Jan 05, 2005
Aug 12, 2007 13:27:00
I was taking the "Summary Quiz 1" in the examulator. The following are 2 examples where i got some wierd answers from it:
1. Question no: 46
Which of the following are valid within a
1) <%! out.print("hello") %>
2) <% out.print("hello") %>
3) <%= out.print("hello") %>
4) <%= out.print("hello"); %>
5) <% out.print("hello"); %>
6) <%@ out.print("hello"); %>
I selected answer (3), but it showed me as wrong and selected the correct answer as (6).
2. Question no: 44
Which of the following are equivalent?
The correct answer would be (1) and (3) if the value for (1) was <jsp:expression but there was an errata of colon before the word jsp.
On the whole, the exam is really good. Great work by Marcus!!!
SCJP | IBM XML-141 | SCWCD
Joined: Sep 14, 1999
Aug 12, 2007 15:52:00
Many many thanks for your feedback. I have removed the spurious colon from question 44.
What happened when you tried option 3 of question 46 in a web page (grins).
For those who haven't discovered it you can find these mock exams at
SCWCD: Online Course, 50,000+ words and 200+ questions
I agree. Here's the link:
subject: Wierd answers from Examulator
mock exam question
valid within a JSP page
Some Mistakes Mr.Pradeep@WHIZ
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015