aspose file tools*
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
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Wierd answers from Examulator" Watch "Wierd answers from Examulator" New topic
Author

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


SCJP | IBM XML-141 | SCWCD
Marcus Green
arch rival
Rancher

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

http://www.examulator.com/moodle/course/view.php?id=5&topic=all

Marcus


SCWCD: Online Course, 50,000+ words and 200+ questions
http://www.examulator.com/moodle/course/view.php?id=5&topic=all
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Wierd answers from Examulator