What is the way of expressing an ordinary expression in terms of bits?
Datum
Data
Manipulation
Verification
View Answer
Correct Answer: A — Datum
Explanation:
The process of expressing an ordinary expression in terms of bits is called datum.
Browse topic-based LISP practice sets.
186 practice sets · Page 6 of 10
What is the way of expressing an ordinary expression in terms of bits?
Datum
Data
Manipulation
Verification
Correct Answer: A — Datum
Explanation:
The process of expressing an ordinary expression in terms of bits is called datum.
Which procedure is used as key element in a backward chaining algorithm?
Matching
Unification matching
Verification
None of the mentioned
Correct Answer: B — Unification matching
Explanation:
The unification matching procedure is a key element in a backward chaining.
Which enables to define procedures that have procedure arguments?
Funargs
Mapcar
Fun
Funcall
Correct Answer: B — Mapcar
Explanation:
None.
How many procedures are available in lists to filter them?
1
2
3
4
Correct Answer: B — 2
Explanation:
The two procedures available to filter lists are remove-if and remove-if-not.
Which forms offer an alternative to the recursive transformation cliche?
Mapcar
Maplist
Mapdata
All of the mentioned
Correct Answer: A — Mapcar
Explanation:
Mapcar forms offer an alternative to the recursive transformation cliche.
To which procedure does mapcar is not restricted?
List
Datachar
Procedure of one parameter
None of the mentioned
Correct Answer: C — Procedure of one parameter
Explanation:
The procedure mapcar uses is not restricted to be procedure of one parameter.
Which makes the data to easily transform lists?
Car
Mapcar
Map
Maplist
Correct Answer: B — Mapcar
Explanation:
Mapcar primitive makes the data to transform lists.
Pick out the correct statement about macro.
Macro is dependant
Macro is interoperable
Macro is complex
Macro deserve their own file
Correct Answer: D — Macro deserve their own file
Explanation:
Macro deserve their own file for compiling them.
Which exploit the fact that lisp forms are just expressions meant to be evaluated?
List
Procedure
Macro
None of the mentioned
Correct Answer: C — Macro
Explanation:
Macros exploit the fact that lisp forms are just expressions meant to be evaluated.
Which forms can be constructed with the same primitives that manipulate lisp expressions?
Lisp
Macro
Procedure
Defun
Correct Answer: A — Lisp
Explanation:
Lisp forms can be constructed with the same primitives that generally manipulate lisp expressions.
What is the difference between the appearance of macro and ordinary definition?
Argument list
Reture value
Just the defining keyword
None of the mentioned
Correct Answer: C — Just the defining keyword
Explanation:
The only difference between the appearance of macro and ordinary definition is that one uses defmacro and other uses defun.
Which do not evaluate their arguments?
List
Procedure
Setf
Macros
Correct Answer: D — Macros
Explanation:
Macros do not evaluate their arguments.
Which keyword is used to define macro procedures?
Defun
Demacro
Defmacro
None of the mentioned
Correct Answer: C — Defmacro
Explanation:
Defmacro can be used to define procedure called macro procedure.
Which uses their arguments to build intermediate forms and evaluating them to produce a value?
Backquote
Macros
List
Procedures
Correct Answer: B — Macros
Explanation:
Macro use their arguments to build intermediate forms and it evaluate the intermediate form to produce a value.
Which can build new lists by depositing pointers in free boxes?
Do
Dobuild
Cons
None of the mentioned
Correct Answer: C — Cons
Explanation:
Cons builds new lists by depositing pointers in free boxes.
Which can be represented in bytes?
Boxes and pointers
Lists
Lisp
None of the mentioned
Correct Answer: A — Boxes and pointers
Explanation:
Boxes and pointers both can be represented in bytes. But lists and LISP can be represented in bytes.
Which is used to construct new lists by linking the right pointers?
Links
List
Variables
Right pointers
Correct Answer: D — Right pointers
Explanation:
Lisp maintains a list of spare boxes, linked by their right pointers for constructing new lists.
What is the other name of boxes?
Cons cells
Conses
Both Cons cells & Conses
None of the mentioned
Correct Answer: C — Both Cons cells & Conses
Explanation:
The box is called as atoms and two-pointer entities, in which the boxes can tie together.
Which is a string of boxes linked by arrow like pointers?
Lisp
List
Variables
Pointers
Correct Answer: B — List
Explanation:
A list in box and pointer notation is a string of boxes linked by arrow like pointers.
What is the general pattern that shows how the various parts of an expression fit together?
Template
Pattern
Match
Both Template & Pattern
Correct Answer: A — Template
Explanation:
Template describes what should appear in the position occupied.