source: t29-www/en-v6/devices/punchcard-sorter.php @ 257

Last change on this file since 257 was 257, checked in by sven, 12 years ago

Massen-Dateiumbenennung in englischem Ordner fuer Version 6 mit einem Bash-Kommando

for x in *.shtm; do svn mv $x ${x%.*}.php; done;

pro Verzeichnis.

  • Property svn:keywords set to Id
File size: 3.1 KB
Line 
1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
4<head><!--#set var="title"        value="The function of the punch card sorter"
5   --><!--#set var="location"     value="punchcard-sorter"
6   --><!--#set var="part"         value="extra"
7   --><!--#set var="url_de"       value="geraete/lochkartensortierer-funktion.shtm"
8   --><!--#set var="title_de"     value="Die Funktion der Sortiermaschine"
9   --><!--#set var="prev"         value="/en/computer/punchcard.shtm#Sorters"
10   --><!--#set var="prev_title"   value="Punch card computing: IBM 082, IBM 083"
11   --><!--#set var="next"         value=""
12   --><!--#set var="next_title"   value=""
13   --><title>technikum29 - <!--#echo var="title" --></title>
14
15    <!--#include virtual="/en/inc/head.inc.shtm" -->
16    <meta name="DC.Title" content="technikum29 - <!--#echo var="title" -->" />
17    <meta name="DC.Subject" content="Lochkartensortieralgorithmus" />
18        <meta name="t29.SVN" content="$Id: punchcard-sorter.php 257 2012-05-28 13:01:21Z sven $" />
19    <meta name="t29.germanoriginal" content="v5.7.19" />
20    <meta name="t29.thistranslation" content="09.04.2008/v5.7.22" />
21    <meta name="t29.comment" content="Udos Berichtigungen eingefuegt" />
22</head>
23<body>
24<!--#echo encoding="none" var="heading" -->
25<div id="content">
26    <h2><!--#echo var="title" --></h2>
27
28    <p>Only people who are born prior to 1960 may have knowledge of the punch card machines. We would like to give you an example of these historic machines' functionality.</p>
29
30    <p>If we had a list of customer names to be sorted, we would first give each customer a three digit customer number. We can then sort this list in numerical (ascending) order or sort by their names.</p>
31   
32    <p>If we would sort the customer names manually, the cards would initially be sorted by the 100's decimal place into 10 piles. Subsequently each of the 10 piles would be sorted by the 10's decimal place into 10 piles. Finally each of the piles would be sorted by the 1's decimal place.</p>
33   
34    <div class="box center">
35        <img src="/shared/photos/rechnertechnik/grafiken/lochkartensortierer.en.gif" width="700" height="531" alt="Diagram about the function of the card sorter" />
36    </div>
37   
38    <p>Machine sorting can not use this procedure since we would need an unlimited number of sorting compartments (pockets). Thus it sorts the other way around, from the 1's decimal place to the 100's decimal place. In summary, in each step (2-4, according to the diagram), there would be a maximum of only 10 card decks per sort.</p>
39
40    <p>Summing up, this yields the basic rules of mechanical sorting, as the punch card collator uses them:</p>
41
42    <ul>
43        <li>The elements which have to be sorted are treated as decimal numbers, each number is broken down in its decimal places</li>
44        <li>The sorting algorithm starts with the least significant digit and ends with the most significant one</li>
45        <li>The sorting algorithm needs as many loops as the number of digits in each number (three loops in this case)</li>
46    </ul>
47
48</div><!--content-->
49<!--#include virtual="/en/inc/menu.inc.shtm" -->
50</body>
51</html>
Note: See TracBrowser for help on using the repository browser.
© 2008 - 2013 technikum29 • Sven Köppel • Some rights reserved
Powered by Trac
Expect where otherwise noted, content on this site is licensed under a Creative Commons 3.0 License