Pick out the correct statement about macro.
Macro is dependant
Macro is interoperable
Macro is complex
Macro deserve their own file
Answer and explanation
Macro deserve their own file for compiling them.
ObjectiveMcq
Print Protected
This page is protected for print. Use the website to view the content.
7 practice sets · Page 1 of 1
Pick out the correct statement about macro.
Macro is dependant
Macro is interoperable
Macro is complex
Macro deserve their own file
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
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
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
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
Macros do not evaluate their arguments.
Which keyword is used to define macro procedures?
Defun
Demacro
Defmacro
None of the mentioned
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
Macro use their arguments to build intermediate forms and it evaluate the intermediate form to produce a value.