Self-Test 1

Structured objects
 
You are advised to write down the solutions for all questions before you look at the answers.
 
  Some of the following are syntactically correct and others aren't. Say which are and write down their functor and arity in the form "mammal/2".
 
1.
computer(macintosh).
2.
mammal(orang-utan, gambar).
3.
cathedrals(salisbury winchester).
4.
4wheeldrive(land_rover).
5.
hall(telford, loughborough, 527, 1964).
6.
tarzan.