Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error in Quiz
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Title:
Error in Quiz
Miscellaneous
Thread ID:
00329260
Message ID:
00329260
Views:
51
There's a question in the on-line quiz here (I don't know which question number because I took a random selection). The question is

What is the result of the following code (VFP 3.0):
x = 7
y = 8
IF X > 3 .AND Y < 4
  WAIT WINDOW "X > 3, Y < 4"
ELSE
  WAIT WINDOW "X <= 3 and/or y >= 4"
ENDIF

  1. WAIT WINDOW "X > 3, Y < 4"

  2. WAIT WINDOW "X <= 3 and/or y >= 4"

  3. Both Wait Windows

  4. Program error: Command contains unrecognized phrase/keyword.

  5. None of the above.



The correct answer is 4, the answer the quiz expects is 1.

If the '.' is removed from before the AND, then the correct answer would be 2 (i.e., still not 1!)

How can I go about correcting this?

Cheers,

Andrew


If we were to introduce Visual FoxBase+, would we be able to work from the dotNet Prompt?


From Top 22 Developer Responses to defects in Software
2. "It’s not a bug, it’s a feature."
1. "I thought I fixed that."


All my FoxTalk and other articles are available on my web site.


Unless specifically identified otherwise, anthing posted here is purely my opinion and may or may not reflect the policies or practices of Microsoft.
Next
Reply
Map
View

Click here to load this message in the networking platform