TEAM-ADA Archives

Team Ada: Ada Programming Language Advocacy


Options: Use Classic View

Use Monospaced Font
Show Text Part by Default
Condense Mail Headers

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

Print Reply
Content-Transfer-Encoding: 7bit
Sender: "Team Ada: Ada Advocacy Issues (83 & 95)" <[log in to unmask]>
From: Do-While Jones <[log in to unmask]>
Date: Sun, 27 Feb 2000 19:23:42 -0800
Content-Type: text/plain; charset=us-ascii
MIME-Version: 1.0
Reply-To: Do-While Jones <[log in to unmask]>
Parts/Attachments: 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."