Which is used to compile individual procedures?
Compile-file
ED
Compile
Load
Answer and explanation
Lisp provides a way to compile individual procedures by the use of compile.
ObjectiveMcq
Print Protected
This page is protected for print. Use the website to view the content.
10 practice sets · Page 1 of 1
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.
To which value does the lisp compiler is evaluated?
File
String
Compile-File
None of the mentioned
Lisp compiler is used to evaluate a compile-file form.
Which has its own convention for doing the basic maneuvers?
Lisp
Compiler
Interpreter
Editor
Editors have their own convention for doing basic maneuvers.
How the files are specified in lisp?
Strings
Characters
Booleans
None of the mentioned
Files are specified as strings, which is one lisp's data type.
Which primitive is used to create or modify a specified file?
File
Manipulation
ED
None of the mentioned
To create or modify a file, we can use ED primitive.
Which translate the procedures into equivalent computer instructions?
File
Compile-file
Compiler
None of the mentioned
Compile-file is mainly used to translate the procedures into equivalent computer instructions.