How many types of read forms are available in file manipulation?
1
2
3
4
Answer and explanation
The two types of read forms available in read form are read-line and read-char.
ObjectiveMcq
Print Protected
This page is protected for print. Use the website to view the content.
5 practice sets · Page 1 of 1
How many types of read forms are available in file manipulation?
1
2
3
4
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
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
Output streams are involved with print and format forms.
How many types of streams are available in lisp?
1
2
3
4
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
Streams are created, variables are bound to them and they are connected to files using with-open-file.