Which require sophisticated precedence computation?
Superclass
Multiple Superclass
Subclass
None of the mentioned
Answer and explanation
Multiple superclasses require sophisticated precedence computations.
ObjectiveMcq
Print Protected
This page is protected for print. Use the website to view the content.
Which require sophisticated precedence computation?
Superclass
Multiple Superclass
Subclass
None of the mentioned
Multiple superclasses require sophisticated precedence computations.
Which class can help to select a method?
Nonoptional argument
Class
Method
None of the mentioned
Any nonoptional argument class can help to select a method.
Which keyword is used to define the method?
Defun
Destruct
Demake
Defmethod
Defmethod is used for defining the method.
What is meant by collection of methods the same name?
Lisp class
Class
Generic function
None of the mentioned
Each collection of methods that share the same name is called a generic function.
Which makes it possible to define generic functions?
Lisp
CLOS
Class
Object-Oriented programming
Common Lisp Object System makes it possible to define generic functions.
Which helps you to write procedures on complicated things?
Development
Revoke
Progressive envelopment
All of the mentioned
Progressive envelopment helps you to write procedures on building complicated things incrementally.
What is the alternative of LET for parameter binding?
Let
Let*
Let^
Let%
Let is like shorthand notation for nested LETs.
What will happen if a variable had not assigned a value by SETF form?
Warning
Nothing will happen
Error message
Crash
Because of this condition, it will report an unbound variable error.
How does LET generally begins with?
Parameter list
Data
Fence
None of the mentioned
Parameter list consists of two-elements lists, each of which has a parameter variable and an intial value form.
Which arranges for parameters to be bound on entering a procedure?
Form
Let
Initial
Parameter
LET arranges for parameters to be bound, just as parameter are bound on entering a procedure.
Which will be simplified by using backquote mechanism?
Time
Memory space
Error
Template filling
The backquote mechanism will simplify template filling.
Which simplifies the macro writing?
Macros
List
Backquote mechanism
None of the mentioned
The backquote mechanism simplifies macro writing.
Which is used to spliced the elements in the list?
%
@
None of the mentioned
The elements in the list are spliced into the list when the @ appears.
Which are perfect for making and filling using backquote mechanism?
Templates
Macro templates
List
Procedure
The backquote mechanism is perfect for making and filling macro templates.
Which isolates an entire expression from evaluation?
'
"
()
$
The normal quote, ' isolates an entire expression from evaluation.
Which mechanism makes it easy to create and to complete template like expressions?
Macro
Backquote
Variable
None of the mentioned
Backquote mechanism makes it easy to create and to complete template like expressions in which only a few, variable details to be filled.
Which keyword embeds the initial element in an array?
Initial
Initial-content
Initial-element
None of the mentioned
Initial-Contents keyword along with the desired intial elements wrapped up in an array.
Which is present in the writer procedure for arrays?
Setf
Aref
Fref
Both Setf & Aref
Setf is writer procedure and aref is reader procedure for arrays.
Which keyword is used to construct an array?
Array
Make-array
Bins
Make
The array can be constructed and its dimension can be set by using make-array.