GeekInterview.com
Series: Subject: Topic:
Question: 17 of 31

what is actually meant for BUFFER? how does it work

Asked by: rohit dwivedi9450 | Member Since Mar-2007 | Asked on: Mar 24th, 2007

View all questions by rohit dwivedi9450   View all answers by rohit dwivedi9450

Showing Answers 1 - 2 of 2 Answers
Ankur

Answered On : Jul 14th, 2007

Buffer is something that is used to hold the data temporarly.
Ex-
If we are watching any thing online,then buffering of data takes place i.e for sometime data get stored in buffer then processed.

  
Login to rate this answer.
jana05

Answered On : Jan 11th, 2008

View all answers by jana05

Its a temporary location where you can preserve the data. For example when you want to swap 2 nos like x=2 and y=5, so that after swaping you get x=5 and y=2. One method wud be to use a temporary variable like z and copy x value to z, so z=2. Then copy y value to x, so x=5. Finally, copy z value to y, so y=2. Here z is temporary variable and the BUFFER.

Similarly, when you watch videos online, all the data is copied to a temporary location or buffered and then the video can be watched. Buffers are used in almost all programming tasks. Its like a helper to your main task. It does work by itself, it is used by other tasks to make a bigger task possible.

  
Login to rate this answer.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

Related Open Questions

Ads

Connect

twitter fb Linkedin GPlus RSS

Ads

Question Categories

Data Modeling Interview Questions

Data Structures Interview Questions

OLAP Interview Questions

OOPS Interview Questions

UML Interview Questions

Interview Question

 Ask Interview Question?

 

Latest Questions

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.