How many types of read forms are available in file manipulation?
1
2
3
4
View Answer
Correct Answer: B — 2
Explanation:
The two types of read forms available in read form are read-line and read-char.
5 practice sets · Page 1 of 1
How many types of read forms are available in file manipulation?
1
2
3
4
Correct Answer: B — 2
Explanation:
The two types of read forms available in read form are read-line and read-char.
What will happen if nil is supplied as second argument in read form?
T
Value
Nil
None of the mentioned
Correct Answer: C — Nil
Explanation:
In this case read will return NIL, instead of giving error.
Which stream is involved with print and format forms?
Input
Output
Both Input & Output
None of the mentioned
Correct Answer: B — Output
Explanation:
Output streams are involved with print and format forms.
How many types of streams are available in lisp?
1
2
3
4
Correct Answer: B — 2
Explanation:
There are two types of streams available in streams. They are input and output streams.
Which primitive is used to connect the files with the streams?
Read
Format
With-open-file
None of the mentioned
Correct Answer: C — With-open-file
Explanation:
Streams are created, variables are bound to them and they are connected to files using with-open-file.