File:150€-Machine.svg
From Wikimedia Commons, the free media repository
Jump to navigation
Jump to search
Size of this PNG preview of this SVG file: 744 × 524 pixels. Other resolutions: 320 × 225 pixels | 640 × 451 pixels | 1,024 × 721 pixels | 1,280 × 902 pixels | 2,560 × 1,803 pixels.
Original file (SVG file, nominally 744 × 524 pixels, file size: 299 KB)
File information
Structured data
Captions
Summary[edit]
Description150€-Machine.svg |
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:
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/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 16:33, 5 February 2021 | 744 × 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... |
You cannot overwrite this file.
File usage on Commons
The following 2 pages use this file:
Metadata
This file contains additional information such as Exif metadata which may have been added by the digital camera, scanner, or software program used to create or digitize it. If the file has been modified from its original state, some details such as the timestamp may not fully reflect those of the original file. The timestamp is only as accurate as the clock in the camera, and it may be completely wrong.
Width | 210mm |
---|---|
Height | 148mm |