From Chris Lightfoot · 1996-04-06 19:41 · #69237 in DRIVING
Hi Jonathan,
JH> Hello All!
JH> 31 Mar 96 14:57, Pat Winstanley wrote to Jim Farrand:
JH> JF>>>> Anyone entering the BIO '96 programming compo', thingy?
JH> PW> If anyone can send me a netmail/email of the 'question paper' I'd love
JH> PW> to have a look.
JH> I'd love to have a look as well! I entered last year, but only managed a
JH> Distinction. I decided not to enter this year (A-Levels etc), and it would
JH> just be interesting to see what the questions were like this year!
I don't have the paper her, but....
Question 1 was to write a program to tell if two numbers were "amicable"; this was
defined as meaning they were not equal but the sum of their divisors was the same
for each. A separate part required you to find the first pair of such numbers (by
programming, as they are up in the low 100's, so you couldn't find 'em manually).
Question 2 was the "Life" iteration on an 11x11 board; subsidiary questions
related to how many different rules gave what result, etc.
Question 3 was "dominoes": you had to write a program that would lay out a set of
dominoes on a 6x7 (maybe the wrong number) board; the rules were:
No two adjacent numbers, unless they are on the same dominoe, may be equal.
The operator can put in the location of a number of "doubles", ie dominoes with
both faces having the same number.
This is a nasty problem in recursion which I wasn't able to solve :(... I didn't
even get close.
Anyway, I got through to the next round so I'll report back what that was like....
Yrs, Oggie.
Chris Lightfoot email 101321.3254@compuserve.com oggie@spuddy.mew.co.uk
WWW http://ourworld.compuserve.com/homepages/chris_lightfoot
# Some things have to be believed to be seen
... This sentnce contains three mistkes.
-- SPEED 1.40 [NR]:
---
* Origin: The Rock of Gibraltar. 0181-6786087. (Messaging Only) (2:254/4)