Become a GOLD Member and access 40+ Technology Courses...
Live Help (Start Chat)
Interview Questions and Answer
Options:
a. not fixed
b. fixed
c. depends on stream
d. can't say
Reveal Answer
Options:
a. File stream
b. Memory stream
c. Buffered stream
d. all the above
Reveal Answer
Options:
a. File stream
b. Text stream
c. Binary stream
d. Basic stream
Reveal Answer
Options:
a. Memory stream
b. File stream
c. binary stream
d. text stream
Reveal Answer
Options:
a. File stream
b. Binary stream
c. Buffered stream
d. Memory stream
Reveal Answer
Options:
a. Binary stream
b. Buffered stream
c. Memory stream
d. File stream
Reveal Answer
Options:
a. File stream
b. Buffered stream
c. binary stream
d. Memory stream
Reveal Answer
Options:
a. overloaded
b. inherited
c. encapsulated
d. none
Reveal Answer
Options:
a. It is the abstract base class of all streams
b. It is used to read/write data
c. None of the above
d. Both a and b
Reveal Answer
Options:
a. Reader Stream, DisplayStream
b. Basic Stream, Text Stream, Binary Stream
c. Display Stream, Writer Stream
d. None of the above
Reveal Answer
Options:
a. Clears writer stream
b. Clears the underlying buffer
c. It is used to clear memory for variables
d. None of the above
Reveal Answer
Options:
a. Writes a sequence of bytes to current stream
b. Advances the position of the pointer to the number of bytes read
c. Has offset property to locate the position to start copying
d. All the above
Reveal Answer
Options:
a. TextReader
b. TextWriter
c. StringWriter
d. StringReader
Reveal Answer
Options:
a. Streams
b. Collections
c. Strings
d. None
Reveal Answer
Options:
a. Directory exposes static methods & DirectoryInfo exposes instance methods
b. DirectoryInfo exposes static methods & Directory exposes instance methods
c. Both are the same
d. None of the above
Reveal Answer
Options:
a. Reads from current stream and writes to destination stream
b. Reads from destination stream and writes to current stream
c. This is used to copy from localvariables to another variable
d. None of the above
Reveal Answer
Options:
a. Console.In
b. Console.Out
c. Console.Error
d. All the above
Reveal Answer
Options:
a. Binary Serialization
b. XML Serialization
c. String Serialization
d. A & B
e. A& C
Reveal Answer
Options:
a. System.IO
b. System.Input
c. System.Output
d. All of the mentioned
Reveal Answer
Options:
a. System.IO.stream
b. Sytem.Input.stream
c. System.Output.stream
d. All of the mentioned
Reveal Answer
Options:
a. close()
b. static close()
c. void close()
d. none of the mentioned
Reveal Answer
Options:
a. void WriteByte(byte value)
b. int Write(byte[] buffer ,int offset ,int count)
c. write()
d. None of the mentioned
Reveal Answer
Options:
a. void WriteByte(byte value)
b. int Write(byte[] buffer ,int offset ,int count)
c. write()
d. None of the mentioned
Reveal Answer
Options:
a. int read()
b. int ReadByte()
c. void readbyte()
d. None of the mentioned
Reveal Answer
Options:
a. A stream is an abstraction that produces or consumes information
b. A stream is linked to a physical device by the I/0 system
c. C# programs perform I/O through streams
d. All of the mentioned
Reveal Answer
Options:
a. Attempts to readup to count bytes into buffer starting at buffer[offset]
b. Writes a single byte to an output stream
c. Sets the current position in the stream to the specified offset from specified origin and hence returns the new position
d. None of the mentioned
Reveal Answer
Options:
a. int ReadByte()
b. int Read(byte[] buffer ,int offset ,int count)
c. Void WriteByte(byte value)
d. None of the mentioned
Reveal Answer
Options:
a. long Length
b. long Position
c. int Length
d. All of the mentioned
Reveal Answer
Options:
a. TextWriter
b. TextReader
c. Character Stream
d. All of the mentioned
Reveal Answer
Options:
a. they operate directly on unicode characters
b. they operate directly on bits
c. If desired, they store unicode text
d. all of the mentioned
Reveal Answer
Options:
a. StreamReader
b. StreamWriter
c. InputStream
d. OutputStream
Reveal Answer
Options:
a. Write, WriteKey
b. WriteLine, WriteKey
c. Write, WriteLine, WriteKey
d. Write, WriteLine
Reveal Answer
Options:
a. the name of the file to open
b. specifies the full path of file
c. if append is true, the file is appended to the end of the existing file
d. None of the mentioned
Reveal Answer
Options:
a. System.Array
b. System.Output
c. System.ReadLine
d. System.Console
Reveal Answer
Bestdotnet google plus