View Count: 0
Duration: 30 mins
Accessed date:
Not Yet Viewed
View Count: 0
Duration: 30 mins
Accessed date:
Not Yet Viewed
View Count: 0
Duration: 55 mins
Accessed date:
Not Yet Viewed
View Count: 0
Duration: 25 mins
Accessed date:
Not Yet Viewed
View Count: 0
Duration: 15 mins
Accessed date:
Not Yet Viewed
View Count: 0
Duration: 30 mins
Accessed date:
Not Yet Viewed
Post your comment / feedback here
 
 

Be the first one to comment about this video

Question No: 1 of 39
Select the namespace on which the stream classes are defined? 
Options:
  1. System.IO
  2. System.Input
  3. System.Output
  4. All of the mentioned
View Answer/Explanation:
a
Explanation:
The core stream classes are defined within the System.IO namespace. To use these classes, you will usually include the following statement near the top of your program: using System.IO;

Question No: 2 of 39
Choose the class on which all stream classes are defined? 
Options:
  1. System.IO.stream
  2. Sytem.Input.stream
  3. System.Output.stream
  4. All of the mentioned
View Answer/Explanation:
a
Explanation:
The core stream class is System.IO.Stream. Stream represents a byte stream and is a base class for all other stream classes. It is also abstract, which means that you cannot instantiate a Stream object. Stream defines a set of standard stream operations.

Question No: 3 of 39
Choose the stream class method which is used to close the connection: 
Options:
  1. close()
  2. static close()
  3. void close()
  4. none of the mentioned
View Answer/Explanation:
c
Explanation:
void close() closes the stream.

Question No: 4 of 39
The method used to write a single byte to an output stream? 
Options:
  1. void WriteByte(byte value)
  2. int Write(byte[] buffer ,int offset ,int count)
  3. write()
  4. None of the mentioned
View Answer/Explanation:
a
Explanation:
Writes a single byte to an output stream.

Question No: 5 of 39
Select the method which writes the contents of the stream to the physical device. 
Options:
  1. fflush()
  2. void fflush()
  3. void Flush()
  4. flush()
View Answer/Explanation:
c
Explanation:
The method used to write the contents of the stream to the physical device.

Question No: 6 of 39
Select the method which returns the number of bytes from the array buffer: 
Options:
  1. void WriteByte(byte value)
  2. int Write(byte[] buffer ,int offset ,int count)
  3. write()
  4. None of the mentioned
View Answer/Explanation:
b
Explanation:
Writes a subrange of count bytes from the array buffer,beginning at buffer[offset], returning the number of bytes written.

Question No: 7 of 39
Name the method which returns integer as -1 when the end of file is encountered. 
Options:
  1. int read()
  2. int ReadByte()
  3. void readbyte()
  4. None of the mentioned
View Answer/Explanation:
b
Explanation:
Returns an integer representation of the next available byte of input. Returns –1 when the end of the file is encountered.

Question No: 8 of 39
Select the statements which define the stream. 
Options:
  1. A stream is an abstraction that produces or consumes information
  2. A stream is linked to a physical device by the I/0 system
  3. C# programs perform I/O through streams
  4. All of the mentioned
View Answer/Explanation:
d
Explanation:

Question No: 9 of 39
Select the action of the method long seek()? 
Options:
  1. Attempts to readup to count bytes into buffer starting at buffer[offset]
  2. Writes a single byte to an output stream
  3. Sets the current position in the stream to the specified offset from specified origin and hence returns the new position
  4. None of the mentioned
View Answer/Explanation:
c
Explanation:
long Seek(long offset, SeekOrigin origin) Sets the current position in the stream to the specified offset from the specified origin. It returns the new position.

Question No: 10 of 39
Which among the following attempts to read up to count bytes into buffer starting at buffer[offset], returning the number of bytes successfully read? 
Options:
  1. int ReadByte()
  2. int Read(byte[] buffer ,int offset ,int count)
  3. Void WriteByte(byte value)
  4. None of the mentioned
View Answer/Explanation:
b
Explanation:

  1