Atoms are considered as S-expressions.
True
False
10 practice sets · Page 1 of 1
Atoms are considered as S-expressions.
True
False
If X and Y are S-expression then (X.Y) is a/an ____
S-expression
Atom
List
Predicate
What are the basic building blocks of S-expressions?
Atoms
Lists
Numbers
Predicates
All program statements and data in LISP are represented by S-expressions?
True
False
What S-expression consists of?
Atoms and Lists
Numeric only
Literals only
Atoms only
What is the use of (WRITE 'Argument)?
It converts argument in small letters to capital letters
It returns capital letters from the string
Same as (write 'argument)
It converts the string into alphabetical order/sequence
Is LISP a case sensitive language.
Yes
No
Which of the following can be considered as List?
Number
T
NIL
Empty
What are examples of some of the atoms?
Numeric, Integer, Ratio
Numeric, Lists
Lists
Cons of two atoms
If S1, S2, S3... are S-expressions then list: (S1 S2 S3 ....) is a/an ____
Atom
Error will occur
S-expression
Primitive