answersLogoWhite

0

What else can I help you with?

Continue Learning about Engineering

What is a stream in the data file handling?

A Stream is a sequence of bytes.


What is stream in java?

i thinkflow of data from one place to other place is called a stream...


The solution for securing private data traveling over a public network is a?

the answer is virtual private network


What are input output streams in c plus plus?

The term stream is a generic abstraction that says nothing about the implementation. However, if we use the analogy that gave it its name, a stream of water, we can better understand how a stream works. A water stream allows water to flow from one point to another in one direction only (downstream, with the flow of the current). If we were to throw a stick into the water, it would be carried downstream by the water where it could then be extracted. Sticks can be inserted or extracted automatically by devices, thus allowing information to pass between those devices.A file stream is a stream that is associated with a device representing a file. If the file is upstream then we can use the stream to extract information from the file. When we extract information from a stream, that stream is known as an input stream; it provides us with information. Conversely, if the file were downstream then we can use the stream to insert information into the file. When we insert information into a stream, that stream is known as an output stream; it carries information away from us.An input/output stream is one where we can both insert and extract information. An input/output file stream is a typical example: we can extract data from the file associated with the stream, process the data (modify it in some way), and then insert the modified data back into the same file. To implement an input/output stream, we simply use two streams associated with the same device: one specifically for input operations, the other specifically for output operations. This implementation detail is hidden from the user, so the stream appears to be a bi-directional stream as far as the user is concerned.


What is the input statement for a program?

Input statements extract data from an input stream. For example: int x; std::cin >> x; Output statements insert data to an output stream. For example: std::cout << x; You cannot insert data into an input stream and cannot extract data from an output stream. However, streams that are both input and output streams (such as read-write files) can insert and extract data as required, depending on whether you are reading or writing to the stream.

Related Questions

What exactly is a data stream?

A data stram can be thought of as a stream of data. It's rather confusing, agreed. Think of a data stream as a series of 1's and 0's that comprise information based on the order in which they appear.


What is the sending of a stream of data usually audio and video to multiple computers simultaneously?

Broadcast, integrated network


How does a firewall reassemble a data stream that has been divided into packets?

The receiving computer uses each packets identification number to reassemble in the correct order the packets that make of the data stream.


Which Segmentation of a data stream happens at which layer of the osi odel?

Segmentation of data happens at transport layer. Because transport layer is responsible for successful transportation of data through out the network.


What is used to reassemble the packets in the correct order at the destination device in a packet-switched data network?

In a packet-switched data network, what is used to reassemble the packets in the correct order at the destination device?


How is data passed in packets?

The details vary enormously from protocol to protocol, but the basics are the same for all of them. A stream of data is split into packets, the packet has a header which contains (amongst other things) the destination for the packet. The network uses the destination address to deliver the network to the correct destination.


What is the correct order for the OSI layers?

All people seem to need data processing, or Please do not through sausage pizza away Application, presentation, session, transport, network, data link, and physical. or Physical, data link, network, transport, session, presentation, and Application.


How many clock cycle is needed to execute LDA?

It is a 3 byte instruction, with one byte for opcode and the other two for the 16bit address. It takes four machine cycles (one to fetch opcode, one to fetch lower order address, one to fetch higher order address and another one to fetch the data from the memory)... i.e. it takes 13 time states to perform the LDA instruction


What is the correct order for PDU encapsulation?

Frame Header - Network Header - Transport Header - Data - Frame Trailer


What is a stream in the data file handling?

A Stream is a sequence of bytes.


What is data stream mining?

ata Stream Mining is the process of extracting knowledge structures from continuous, rapid data records. A data stream is an ordered sequence of instances that in many applications of data stream mining can be read only once or a small number of times using limited computing and storage capabilities. Examples of data streams include computer network traffic, phone conversations, ATM transactions, web searches, and sensor data. Data stream mining can be considered a subfield of data mining, machine learning, and knowledge discovery.In many data stream mining applications, the goal is to predict the class or value of new instances in the data stream given some knowledge about the class membership or values of previous instances in the data stream. Machine learning techniques can be used to learn this prediction task from labeled examples in an automated fashion. In many applications, the distribution underlying the instances or the rules underlying their labeling may change over time, i.e. the goal of the prediction, the class to be predicted or the target value to be predicted, may change over time. This problem is referred to as concept drift.


In a packet swithed data network what is used to reassemble the packets in correct order?

This Answer for Your Question : sequence number