Atom and atomic, and legal atoms |
|
You are advised to write down the solutions for
all questions before you look at the answers. |
|
|
State which of the following are true or false.
|
|
|
|
|
1.
|
atomic(train). |
|
2.
|
atomic('Great Malvern'). |
|
3.
|
atom(train), atomic(Train). |
|
4.
|
integer(23), float(23.0), atomic(23). |
|
|
|
|
Which of the following are atoms? |
|
|
|
|
5.
|
shut-down |
|
6.
|
<atom> |
|
7.
|
<===_===> |
|
8. |
birmingham_university |
|
9. |
_Triumph_ |
|
10. |
??? |
|
11. |
?WHAT? |
|
|
|