CS 1401, Quiz #1

Date: Wednesday, September 5, 2007
Name: ____________________________________________________________
Class section (9:30 am or 11:30 am): _______________________________

1. What was the contribution of Egyptians to computing?

Egypt was the main breadbasket of the ancient world, most bread was
produced in the fertile land around the river Nile. This land was
fertile because it was flooded every year. Flooding eliminated the
borders between the farms. The only way to reconstruct these borders
was to write down the angles and distances from different points on
these borders to points outside the flooded zone, and then to
reconstruct the locations of the border points from these angles and
distances. So, Egyptians came up with sophisticated geometric
algorithms for reconstructing these borders. 
2. How is Java - the language that we study in this class - different from previous programming languages? For extra credit: where does the word Java come from?

Previous programming languages translated high-level code directly
into machine code. This caused a difficulty when computers needed to
collaborate. Indeed, since different computers have different
machine code, they could only exchange the high-level code, and it
took some time to translate it into machine code on each of the
computers. In Java, different computers can exchange code in JVM;
JVM code is close to machine code, so translating from JVM to
machine code is much faster than translating from, say, C++.

3. Mark all the topics discussed in the your reading assignment of Chapter 2: