CSE 341 -- Programming Languages

Spring 2003

Department of Computer Science and Engineering, University of Washington

Steve Tanimoto (instructor)

Assignment 1

Version 1.00 of March 31

What is a Programming Language? 

Due date and time: Thursday, April 3, 2003 (at the beginning of section).

Turn in this assignment as a hardcopy printout.


 

Title: What is a Programming Language?

Purpose: To confront the question of what a programming language is by working briefly with one system that is on or near the "fringe."

Instructions:  Visit the Data Factory web page.

Scoring for this assignment: 9 points for turning in an acceptable screen shot. 4 points each for answering the questions. Total: 25 points.
For 5 points of extra credit, create a second Data Factory program and turn in a screen shot of that, too. The second factory should convert times from minutes to hours and minutes. It should do this as follows: Generate a stream of random numbers in the range 0 to 299 (representing input times, in minutes); for each input number, there should be two output numbers, put onto parallel conveyors so that the correspondence is easy to see. One output should represent the number of hours and the other should represent the number of remaining minutes. As an example, suppose that the input number is 135, then the outputs should be 2 and 15, since 135 minutes equals 2 hours plus 15 minutes.