File:150€-Machine.svg

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Original file(SVG file, nominally 744 × 524 pixels, file size: 299 KB)

Captions

Captions

Add a one-line explanation of what this file represents

Summary[edit]

Description An educational thought-experiment, illustrating the encapsulation principle in object-oriented programming.
The machine outputs a 150€ note when it is fed a 50€ note while in operational mode. If it is in maintenance mode staff has to be called to exchange the brown and the purple cartridge to re-enable the machine.
The idea is to make students speculate about the inner workings of the machine. Does the purple cartridges contain purple ink to print onto the 50€ bill or is the 50€ bill collected in the brown cartridge and a fake is output from purple instead? …
Date 16:33, 5 February 2021 (UTC)
Source Own work
Author Chrkl
Other versions

Licensing[edit]

I, the copyright holder of this work, hereby publish it under the following license:
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 4.0 International license.
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current16:33, 5 February 2021Thumbnail for version as of 16:33, 5 February 2021744 × 524 (299 KB)Chrkl (talk | contribs){{Information |Description=An educational thought-experiment, illustrating the encapsulation principle in object-oriented programming.<br/>''The machine outputs a 150€ note when it is fed a 50€ note while in operational mode. If it is in maintenance mode staff has to be called to exchange the brown and the purple cartridge to re-enable the machine.''<br/> The idea is to make students speculate about the inner workings of the machine. Does the purple cartridges contain purple ink to print onto...

The following 2 pages use this file:

Metadata