ArticleslgStudy

computer science

On the fly

On the fly is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand On the fly rather than just read about it. In short: "On the fly" is a phrase used to describe something that is being changed while the process that the change affects is ongoing. It is used in the automotive, computer, and culinary industries.

Key takeaways

  • On the fly belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect On the fly to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of On the fly from memory before moving on to harder problems.

Reference excerpt

"On the fly" is a phrase used to describe something that is being changed while the process that the change affects is ongoing. It is used in the automotive, computer, and culinary industries. In cars, on the fly can be used to describe the changing of the cars configuration while it is still driving. Processes that can occur while the car is still driving include switching between two wheel drive and four wheel drive on some cars and opening and closing the roof on some convertible cars. In computing, on the fly CD writers can read from one CD and write the data to another without saving it on a computer's memory. Switching programs or applications on the fly in multi-tasking operating systems means the ability to switch between native and/or emulated programs or applications that are still running and running in parallel while performing their tasks or processes, but without pausing, freezing, or delaying any, or other unwanted events. Switching computer parts on the fly means computer parts are replaced while the computer is still running. It can also be used in programming to describe changing a program while it is still running. In restaurants and other places involved in the preparation of food, the term is used to indicate that an order needs to be made right away.

Colloquial usage In colloquial use, "on the fly" means something created when needed. The phrase is used to mean:

something that was not planned ahead changes that are made during the execution of same activity: ex tempore, impromptu.

Automotive usage In the automotive industry, the term refers to the circumstance of performing certain operations while a vehicle is driven by the engine and moving. In reference to four-wheel drive vehicles, this term describes the ability to change from two to four-wheel drive while the car is in gear and moving. In some convertible models, the roof can be folded electrically on the fly, whereas in other cases the car must be stopped. In harvesting machines, newer monitoring systems let the driver track the quality of the grain, while enabling them to adjust the rotor speed on the fly as harvesting progresses.

Computer usage In multitasking computing an operating system can handle several programs, both native applications or emulated software, that are running independent, parallel, together in the same time in the same device, using separated or shared resources and/or data, executing their tasks separately or together, while a user can switch on the fly between them or groups of them to use obtained effects or supervise purposes, without waste of time or waste of performance. In operating systems using GUI very often it is done by switching from an active window (or an object playing similar role) of a particular software piece to another one but of another software. A computer can compute results on the fly, or retrieve a previously stored result. It can mean to make a copy of a removable media (CD-ROM, DVD, etc.) directly, without first saving the source on an intermediate medium (a harddisk); for example, copying a CD-ROM from a CD-ROM drive to a CD-Writer drive. The copy process requires each block of data to be retrieved and immediately written to the destination, so that there is room in the working memory to retrieve the next block of data. When used for encrypted data storage, on the fly the data stream is automatically encrypted as it is written and decrypted when read back again, transparently to software. The acronym OTFE is typically used. On-the-fly programming is the technique of modifying a program without stopping it. A similar concept, hot swapping, refers to on-the-fly replacement of computer hardware.

On-the-fly computing On-the-fly computing (OTF computing) is about automating and customizing software tailored to the needs of a user. According to a requirement specification, this software is composed of basic components, so-called basic services, and a user-specific setting of these basic components is made. Accordingly, the requested services are compiled only at the request of the user and then run in a specially designed data center to make the user the functions of the (on-the-fly) created service accessible.

Restaurant usage In restaurants, cafes, banquet halls, and other places involved in the preparation of food, the term is used to indicate that an order needs to be made right away. This is often because a previously served dish is inedible, because a waiter has made a mistake or delayed, or because a guest has to leave promptly.

Usage in sports In ice hockey, it is both legal and common for teams to make line changes (player substitutions) when the puck is in play. Such line changes are referred to as being done "on the fly".

References

Worked examples

Example 1 — a first encounter with On the fly

Start with the simplest possible case. Write down what On the fly claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to On the fly before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about On the fly ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of On the fly

In research
On the fly appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses On the fly in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
On the fly is common in secondary-school and first-year university syllabi. It links to neighbouring topics Computer jargon, Restaurant terminology, Technical terminology, so understanding it makes those chapters shorter.
In everyday life
Look for On the fly outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “On the fly” →

How to study On the fly in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what On the fly means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain On the fly out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is On the fly in simple terms?

"On the fly" is a phrase used to describe something that is being changed while the process that the change affects is ongoing. It is used in the automotive, computer, and culinary industries.

Why does On the fly matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study On the fly?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on On the fly.

Tags

  • Computer jargon
  • Restaurant terminology
  • Technical terminology

Keep exploring