Abniac lab

First, the Windows-only version of ABNIAC we have in the lab is a bit more trustworthy than the one you will find on the web, because the web version uses a language called Java which is relatively new and unproven.

Secondly, you will probably want some help from an instructor on this one.

The assignment is this:

Go to a version of abniac. The one on the web is at
http://klingon.cs.iupui.edu/~aharris/abniac/java/ or go to the SL070 or SL247 labs where ABNIAC is installed.

You can also download and install the windows version of ABNIAC if you wish, at
this location
You will need winzip, pkunzip, or a similar program to install this program.

Do these projects (The last three are optional):

  1. Examine the 'message' sample program. Write a program like it that sends your name to the screen a letter at a time.
  2. Examine the 'counter' sample program. By changing the values of only two cells, make the program count to 100 by fives.
  3. OPTIONAL: Make a program that uses a loop (like counter does) to print out the first 10 letters of the alphabet.
  4. VERY TRICKY!!!OPTIONAL:
    Write a program that multiplies the values in cells 50 and 51. It should work no matter what values are in the cells.
  5. IMPOSSIBLE?(One CS teacher thought so, but it can be done) OPTIONAL:
    Write a program that stores the characters of your name, then outputs them using ONLY ONE ASCII out statement. You will need a loop.

If you use the Windows version, print off each program and turn it in on paper.

If you use the Java version, use the email command to email each program to me.

If you have trouble subitting this program, try just writing the numbers down that make up the program. As always, we just want evidence you did it. The way you get it to us is not that important.


© Andy Harris
Indiana University / Purdue University, Indianapolis
email: aharris@.cs.iupui.edu
homepage: www.cs.iupui.edu/~aharris