Computer Science
Computer Science
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

bullet Extended hours at Campbell Library for final exams | More

bullet Hollywood comes to campus: Rowan hosts collegiate premier of Carol | 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.