Black box is a technical term for a device or system or object when it is viewed primarily in terms of its input and output characteristics. Almost anything might occasionally be referred to as a black box: a transistor, an algorithm, humans, the Internet.
The opposite of a black box is a system where the inner components or logic are available for inspection (such as a free software/open source program) which is sometimes known as a white box, a glass box, or a clear box.
The modern term "black box" seems to have entered the English language around 1945, however it had been used in a similar sense at least as early as the 1915science fictionfilm serialThe Black Box.[1]
In aviation, the term Black Box refers to the flight data recorder and cockpit voice recorder responsible for recording all communications in the cockpit of an aircraft in flight. The phrase has become popularized by modern media while reporting aircraft crashes, despite the fact that the devices are usually not black.
In computer programming and software engineering, black box testing is used to check that the output of a program is as expected, given certain inputs.[2] The term "black box" is used because the actual program being executed is not examined.
In computing in general, a black box program is one where the user cannot see its inner workings (perhaps because it is a closed source program) or one which has no side effects and the function of which need not be examined, a routine suitable for re-use.
Also in computing, a Black Box refers to a piece of equipment provided by a vendor, for the purpose of using that vendor's product. It is often the case that the vendor maintains and supports this equipment, and the company receiving the Black Box typically are hands-off.
In neural networking or heuristic algorithms (computer terms generally used to describe 'learning' computers or 'AI simulations') a Black Box is used to describe the constantly changing section of the program environment which cannot easily be tested by the programmers. This is also called a White box (software engineering) in the context that the program code can be seen, but the code is so complex that it might as well be a Black box.
In the stock market many people trade with "Black box" programs and algorithms designed by programmers.[4] These programs automatically trade user's accounts when certain technical market conditions suddenly exist (such as a SMA crossover).
In physics, a black box is a system whose internal structure is unknown, or need not be considered for a particular purpose. Sometimes black box is used as a synonym for black body.
by Jay Friedenberg, Gordon Silverman, Sage Publications, 2006
In cryptography to capture the notion of knowledge obtained by an algorithm through the execution of a cryptographic protocol such as a zero-knowledge proof protocol. If the output of the algorithm when interacting with the protocol can be simulated by a simulator that interacts only the algorithm, this means that the algorithm 'cannot know' anything more than the input of the simulator. If the simulator can only interact with the algorithm in a black box way, we speak of a black box simulator.
In pharmacology, a black box warning is a type of warning that appears on prescription drugs that may cause serious adverse effects. It is so named for the black border that usually surrounds the text of the warning. It means that medical studies indicate that the drug carries a significant risk of serious or even life-threatening adverse effects.