next up previous Back to Operating Systems Home Page
Next: Assig. 2 FAQ Up: 1997 term messages Previous: Assig. 2 - Maximum

Assig. 2 - One more typo...

Hello

 > Rob Flores <robman@ee.mcgill.ca> writes:
 >
 >      I was testing my output for assignment 2, and I noticed some
 > strange output. Upon examining the specification I noticed that both the
 > left hand rotors of wheel II and wheel III have repeating A's in them.
 > 
 > Which A is supposed to be a B?

Damn. I really re-typed that text a little bit too fast (had to make up
for a hard disk disaster...). 
 
Ok everybody, please cut, paste and use these machine-generated ones.
 
Wheel 0      right: ABCDEFGHIJKLMNOPQRSTUVWXYZ
             left : BLHSWKEROXGDVJCQPZFNMYIUAT

Wheel I      right: OXHPWEILAFCKUJQNZRBMGYSTDV
             left : MEHLTDNYICBFUSKOGWRZVAPJQX

Wheel II     right: CMHYWQVEZDTFOKJRUGLBAISNPX
             left : OAHJWKQPEBIMXLCVTFRZUSNDYG

Wheel II     right: DMHGFZCIWOERSBQXKPAUTYNJLV
             left : PBHDCZGVIMOYJUNEFWSKRATQLX

Wheel R (unmodified) input:  ABCDEFGHIJKLMNOPQRSTUVWXYZ
                     output: EQLZATNMWRYCHGSVBJOFXPIUKD


The text on the web page is being fixed accordingly.

Thanks
Franco

P.S. Here's a Perl one-liner used to generate them:

% perl -e 'srand($$); @a=("A".."Z"); for $i (0..25){$r=int(0.5+rand(25-$i));
          $c=$a[$r]; $a[$r]=$a[$#a]; $#a--; $b.=$c} print "$b\n";'


\ Franco Callari