SUBROUTINE: Reset Counter. Locate Bins. Found Two Bins. Label Bins Bin A Bin B No More Bins Found. Return to Start. Move to Bin Was Bin Used? No. Open Bin. Opening Bin A. Transfer Units to Stack. Found: Unit. Move to Stack. Found Unit. Move to Stack. No more Units Found. Close Bin A. Return to Start. Move to Bin. Was Bin Used? Yes. Move to Bin. Was Bin Used? No. Found Bin B. Opening Bin B Transfer Units to Stack. Found: Unit. Move to Stack. Found: Unit. Move to Stack. No more Units Found. Close Bin B. Return to Start. Move To Bin. Was Bin Used? Yes. Move to Bin. Was Bin Used? Yes. No More Bins Found. Return to Start. Move to Stack. Open Stack. Found Unit. Increment Counter. Pop Stack Found Unit Increment Counter. Pop Stack Found Unit Increment Counter Pop Stack Found Unit Increment Counter No more Units Found Stack Empty. Close Stack. Display Counter: 4

SUBROUTINE:

Reset Counter.
Locate Bins.
Found Two Bins.
Label Bins
Bin A
Bin B
No More Bins Found.
Return to Start.

Move to Bin
Was Bin Used?
No.
Open Bin.
Opening Bin A.
Transfer Units to Stack.
Found: Unit.
Move to Stack.
Found Unit.
Move to Stack.
No more Units Found.
Close Bin A.
Return to Start.

Move to Bin.
Was Bin Used?
Yes.
Move to Bin.
Was Bin Used?
No.
Found Bin B.
Opening Bin B
Transfer Units to Stack.
Found: Unit.
Move to Stack.
Found: Unit.
Move to Stack.
No more Units Found.
Close Bin B.
Return to Start.

Move To Bin.
Was Bin Used?
Yes.
Move to Bin.
Was Bin Used?
Yes.
No More Bins Found.
Return to Start.

Move to Stack.
Open Stack.
Found Unit.
Increment Counter.
Pop Stack
Found Unit
Increment Counter.
Pop Stack
Found Unit
Increment Counter
Pop Stack
Found Unit
Increment Counter
No more Units Found
Stack Empty.
Close Stack.

Display Counter:

4

====

Things always sound smarter in German :)

In computer science, they use the boring terms: prefix notation, infix notation, postfix notation.

====

The problem with the statement is: 2 of what + 2 of what = 4 of what?

Addition requires the property of “identical”.

===

For addition to work, you have to *ignore* distinctions between objects, even hypothetical objects.

====

 

Leave a comment

Your email address will not be published. Required fields are marked *


nine − = 6

Leave a Reply