What is the output of (/ 6 3) and (- 6 4)?
2 2
1/2 2
2 -2
1/2 -2
11 practice sets · Page 1 of 1
What is the output of (/ 6 3) and (- 6 4)?
2 2
1/2 2
2 -2
1/2 -2
Are arithmetic operators primitives in LISP?
True
False
Which primitive can be used to add an element to List?
delete
cons
cdr
write
Which primitive can be used to remove an element from List?
delete
cons
cdr
write
Which primitive can be used to create a list?
getf
setf
make
none of the mentioned
Choose the correct option for the output when lower or upper-case arguments are given in LISP.
Same output
Different output
LISP does not support lower case
LISP does not support upper case
What is the general pattern that shows how the various parts of an expression fit together?
Template
Pattern
Match
Both Template & Pattern
What is the process of reserving a place in computer memory to store a value for a symbol?
Storing
Ranging
Binding
None of the mentioned
Which is a procedures supplied by user in terms of primitives?
Custom
User-defined
Definite
All of the mentioned
Which notation facilitates uniformity in lisp?
Prefix
Postfix
Infix
None of the mentioned
Which is used to represent the prompt in lisp?
$
&