About Question com.enthuware.ets.scbcd.v5.2.210 :

Moderator: admin

Post Reply
ETS User

About Question com.enthuware.ets.scbcd.v5.2.210 :

Post by ETS User »

There are two valid answers to this question:
1. SELECT e from Employee e WHERE e.Grade='A' and e.Dept IS NOT NULL
2. SELECT e from Employee e WHERE e.Dept IS NOT NULL and e.Grade='A'

Only the first is accepted during evaluation, but the second is shown as correct in Drag & Drop box. Where's logic here?

admin
Site Admin
Posts: 10384
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question com.enthuware.ets.scbcd.v5.2.210 :

Post by admin »

If there are multiple correct ways to fill a DnD question, it gives you credit if you enter any of those correct answers and if when you see the answer to the question, it just displays one of those correct answers (randomly). (It is not really possible to show all the correct options at the same time.)

cjscript
Posts: 8
Joined: Tue Jan 29, 2013 4:14 pm
Contact:

Re: About Question com.enthuware.ets.scbcd.v5.2.210 :

Post by cjscript »

There is a bug in the review logic. I used "SELECT e from Employee e WHERE e.Grade='A' and e.Dept IS NOT NULL" the first time and it said it was incorrect. After changing to "SELECT e from Employee e WHERE e.Dept IS NOT NULL and e.Grade='A'" and back it worked. Please check code.

Post Reply

Who is online

Users browsing this forum: No registered users and 9 guests