ATTENTION - SDD STUDENTS DOING Evo OPTION!! (1 Viewer)

Joined
Aug 10, 2002
Messages
193
do we have to know a functional and logic language for the evolution of languages option ? This years catholic (not sure ) had a question asking you to write a module in functional programming language as well as asking you to interprete one and find logic error. If we are..im fuct
 

user

Old enough to know better
Joined
Jul 28, 2002
Messages
306
Gender
Undisclosed
HSC
2002
um...

i know OF a functional and a logical language



prolog
that stuff with the
eat(cat,dog)

or something like that

functional paragidm

isn't that that reverse dutch or polish or something

eg from last years catholic paper

24c

c. i. A functional language uses brackets to determine the order of
evaluation in that language. Given the following function:
(DEFUN(TBLS X Y)(*(-1(+ X Y))10))
Write out the output of the following operations:
(TBLS 1 2)
(TBLS 0 2)
(TBLS 1 3)
(TBLS 0 0.3)


not sure what defun means
i think TBLS is just the name for the algorithm or something
but all that other stuff
means
((x+y)-1)*10

the operation ( + - * /) comes first
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Top