[net.lang.ada] Little known facts about Ada* quiz #1

lwall (04/18/83)

Reply-To: lwall@sdcrdcf.uucp
Organization: System Development Corporation--a Burroughs Company

pragma FLAME(ON);
-- Why isn't there more activity in this newsgroup?
pragma FLAME(OFF);

Now that we have that out of the way, here's the quiz:

Question #1: What is the value of 0**0? (This is an easy one!)

Question #2: What is the value of abs(-1) * (-1) ?

Question #3: Barring the use of constructs that allow for an infinite number
	of possibilities (redundant parens, use of attributes such as 'SUCC
	and 'PRED, concatenation of "", etc.), how many ways are there to
	write the string literal having the value "ab"?  For example,
	"ab", ('a','b'), "&"("a",'b'), ...

Please respond via mail and we will summarize to the net.  Some of these
questions have interesting philosophical implications.

				    "&"("Mark Biggar","Larry Wall")
				    ...!decvax!trw-unix!sdcrdcf!{markb,lwall}

P.S. Is a language that provides only one way to express a given idea
	intrinsically superior to a language that provides more than one way?

* Ada is a registered trademark of USDODAJPO.
    

hansen (04/22/83)

One reason you may be seeing little activity in this newsgroup
is that there is an ARPAnet INFO-ADA mailing list, that is
currently active.  Since ADA is of most interest to people who
have the DOD handing over their heads, I suspect the ARPAnet
community is larger than the USEnet community for this topic.

Is there interest in a gateway?

Craig Hansen
HP Labs