Computer Science
Computer Science
bullet Rowan ranked #2 in N.J. for online education | More

bullet AT&T Civic App Challenge-New Jersey winners to be announced Dec. 4 at Rowan | More

bullet Director of Student Activities Constantine Alexakos to deliver Rowan’s ‘Last Lecture’ | More

bullet Holiday Week celebrations planned by Rowan’s SGA | More

bullet ‘Shooting For Santa’ toy drive to benefit South Jersey children | More

Technical Report Number TR1995-2

When Words Collide: Network Simulation as an Exercise in a CS2 Course

A. Michael Berman
Department of Computer Science
Rowan College of New Jersey
Glassboro, NJ 08028

We use a simplified simulation of the operation of an Ethernet, implemented in C++, to illustrate important concepts in the CS2 course, among them abstraction, queues, and the use of objects. As a side-benefit, students get an introduction to the principles of operation of network protocol, and an example of the use of a state machine as a program design technique.