APS145 Applied Problem Solving: Black Box
APS145 Applied Problem Solving: Black Box
Black Box
Black Box – What is it?
A company?
https://www.blackbox.com/en-us/about-us
Black Box - Described
? ? ? ? ? ? ? ? ? ? ? ? ?
Input ? Black Box ? Output
? ? ? ? ? ? ? ? ? ? ? ? ?
Black Box – Types
INPUT: 5
OUTPUT: 15
Black Box: What is it doing???
Black Box: Example 1 (Revealed)
▪ INPUT:
– Whole number (Type: Integer)
▪ Process: (Hidden Black Box)
5
– Perform simple calculation:
(input * 4) – 5
So: 20 – 5 = 15
5*4-5
▪ OUTPUT:
– Whole number (Type: Integer)
– The result of the process
15
Black Box: Example 2 (Hack it!)
▪ INPUT: BISON
▪ OUTPUT: 14151992
▪ Black Box: What is it doing???
Black Box: Example 2 (Revealed)
▪ INPUT: “BISON”
BISON
▪ OUTPUT:
14151992
14151992
Black Box: Example 3 (Hack it!)
▪ INPUT:
1 sheet
1 sheet of cardboard of
cardboard
▪ OUTPUT:
Airplane left-wing Airplane
Left-Wing
Black Box: Example 3 (Revealed)