Using inheritance for computing with physical quantities: An interdisciplinary project

Seth Bergmann

Research output: Contribution to conferencePaperpeer-review

Abstract

An interdisciplinary software development project for students of computer science and physics is described. Students design and implement a collection of classes representing physical quantities. Inheritance is used to implement various unit for a particular dimension as subclasses. Students design classes for more complex physical quantities such as speed, acceleration, force, momentum and energy. If implemented the classes in C++, the students also get experience with operator overloading.

Original languageEnglish (US)
Pages45-47
Number of pages3
StatePublished - 1998
EventProceedings of the 1998 29th SIGCSE Technical Symposium on Computer Science Education, SIGCSE - Atlanta, GA, USA
Duration: Feb 25 1998Mar 1 1998

Conference

ConferenceProceedings of the 1998 29th SIGCSE Technical Symposium on Computer Science Education, SIGCSE
CityAtlanta, GA, USA
Period2/25/983/1/98

All Science Journal Classification (ASJC) codes

  • General Engineering

Fingerprint

Dive into the research topics of 'Using inheritance for computing with physical quantities: An interdisciplinary project'. Together they form a unique fingerprint.

Cite this