Chapter 8 Flashcards

1
Q

What are streams for

A

For date sending and receiving. We can say its a data channel

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Does keyboard, mouse or printer are nodes

A

Yes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is node stream

A

Works as a data channel between nodes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is filter stream

A

Do additional filtering on an existing stream. It is kind of additional stream. Its work in data processing.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is byte, reader/writer stream

A

If data handles in byte then stream is called byte stream and if data handles in 2 bytes or character then it is called reader/writer stream.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What are types of stream

A
  • Input stream
  • Output stream
  • File input stream (to connect files)
  • File output stream (to connect files)
  • Byte array input stream
  • Byte array output stream
  • Buffered input stream
  • Buffered output stream
  • Buffered reader stream
  • Buffered writer stream
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What external library is used for streams

A

java.io

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are blocking methods

A

They block execution of code until they complete

How well did you know this?
1
Not at all
2
3
4
5
Perfectly