Computer Science
Computer Science
bullet Sharing big ideas: Rowan Paleontologist to deliver TED Talk at 2016 TED Conference | More

bullet Join in "A Conversation with Ken Burns" Feb. 29 | More

bullet Students, professional performers to present Shange’s production at Rowan | More

bullet Quest of a lifetime: Film prof nets $100K MacArthur grant | More

bullet Rowan students will cha-cha For CHOP | 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.