comp.lang.ada
 help / color / mirror / Atom feed
From: sdcrdcf!lwall
Subject: Little known facts about Ada* quiz #1
Date: Mon Apr 25 07:57:49 1983
Date: 1983-04-25T07:57:49+00:00	[thread overview]
Date: Mon Apr 18 15:23:26 1983
Message-ID: <bnews.sdcrdcf.182> (raw)

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.
    



             reply	other threads:[~1983-04-25  7:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1983-04-25  7:57 sdcrdcf!lwall [this message]
1983-04-23  8:06 ` Little known facts about Ada* quiz #1 hplabs!hansen
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox