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
Answer and explanation
Binding means that allotting a memory location to a variable and storing a value in it.
ObjectiveMcq
Print Protected
This page is protected for print. Use the website to view the content.
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
Binding means that allotting a memory location to a variable and storing a value in it.
Which is a procedures supplied by user in terms of primitives?
Custom
User-defined
Definite
All of the mentioned
A procedures supplied by user in terms of lisp primitives is called user-defined procedure.
Which notation facilitates uniformity in lisp?
Prefix
Postfix
Infix
None of the mentioned
Because the procedure name is always in the same place, no matter how many arguments are involved.
Which is used to represent the prompt in lisp?
$
&
Lisp displays a prompt to to tell that it waiting for something to enter.
Which makes nameless procedures into lexical closures?
$
#'
#' makes it possible to produce nameless procedures into lexical closures.
Which do not produce nested fences?
Variables
Procedure calls
Fences
All of the mentioned
Procedure calls do not produce nested fences.
Which helps to produce nested fences?
Lets
List
Label
None of the mentioned
Lets helps to produce nested fences.
Which primitive enables you to define one procedure inside another?
Do
List
Primitive
Labels
The labels primitive enables you to define one procedure inside another.
Which makes it possible to define sophisticated generator procedures that produce new values?
List
Variables
Encapsulation
None of the mentioned
Encapsulation makes it possible to define sophisticated generator procedures that produce new values each time they are called.
Which are evaluated before initial binding?
All initialisation forms
Iterations
Procedures
None of the mentioned
All initialization forms are evaluated before before inital binding.
What will be occupied in the first part of DO?
Procedures
List
Iterators
List of parameters
The first part of a DO is always occupied by a list of parameters that are all bound to initial values.
What will happen if a dotimes form has no result form?
Nil
T
Both Nil & T
Nothing
If a dotimes form has no result form, the dotimes will return nil and its purpose is to arrange for side effects.
Which provides a way to write simple counting-oriented iteration procedures?
Do
Dotimes
Recursion
Iteration
Dotimes provides a way to write simple counting-oriented iteration procedures.
Which is a general strategy for controlling how a computation evolves?
Recursion
Mapping
Iteration
None of the mentioned
Iteration is said to be one kind of control strategy and it is a general strategy for controlling how a computation evolves.
Which is used to compile individual procedures?
Compile-file
ED
Compile
Load
Lisp provides a way to compile individual procedures by the use of compile.
What is the correct syntax form of the given statement?
(compile-file <target file specification>)
(compile <target file specification>)
(compile-file <source file specification>)
None of the mentioned
In Syntax; source file specification comes instead of target-file. So, compile-file <source file specification> is the correct syntax.
What is the correct syntax form of the given statement?
(load <file>)
(load <file attributes>)
(load)
None of the mentioned
Load primitive is used to read from files.
What is the correct syntax form of the given statement?
(ed <file specification>)
(ef <file name>)
(ed <file location>)
All of the mentioned
Thus the syntax of ED primitive is given.
What is produced from compile-file?
Text file
Binary file
Lsp file
All of the mentioned
Compile-file produces a binary file full of unintelligible computer instructions expressed by a bit sequences.