Computer Science
Computer Science
bullet CCCA Showcase a focus on talent, achievement | More

bullet Rowan Engineers Without Borders works with elementary school students on engineering-related projects | More

bullet COMMENTARY: Restructuring good for Rowan, N.J. | More

bullet Making the PACT and Taking Back the Night | More

bullet Student debaters from six colleges look to win first-ever South Jersey Criminal Justice Debate Invitational at Rowan | More

Technical Report Number TR1995-2

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


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

Abstract
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.