TEAM-ADA Archives

Team Ada: Ada Programming Language Advocacy

TEAM-ADA@LISTSERV.ACM.ORG

Options: Use Classic View

Use Monospaced Font
Show HTML Part by Default
Show All Mail Headers

Topic: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Do-While Jones <[log in to unmask]>
Sun, 27 Feb 2000 19:23:42 -0800
text/plain (8 lines)
There was a question for less than $1,000 that could have given us Ada programmers some difficulty because we know too much.  It was

Which of the following is NOT an integer?

(A) 1 (B) 2 (C) 1/2 (D) -1

The contestant answered "C" and was right.  But suppose the contestant had said, "-1 is a simple expression, so it isn't an integer.  (It isn't even a number.) That's my final answer."

ATOM RSS1 RSS2