This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Wierd answers from Examulator Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Wierd answers from Examulator" Watch "Wierd answers from Examulator" New topic

Wierd answers from Examulator

Ashok Ravi
Ranch Hand

Joined: Jan 05, 2005
Posts: 48
Hi all,

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 JSP page?

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?

1) <:jsp:expression
2) <%
3) <%=
4) <@

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!!!

Marcus Green
arch rival

Joined: Sep 14, 1999
Posts: 2813
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
Similar Threads
mock exam question
Some Mistakes Mr.Pradeep@WHIZ
jsp syntax
Question 43)
valid within a JSP page