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 language | English (US) |
|---|---|
| Pages | 45-47 |
| Number of pages | 3 |
| State | Published - 1998 |
| Event | Proceedings of the 1998 29th SIGCSE Technical Symposium on Computer Science Education, SIGCSE - Atlanta, GA, USA Duration: Feb 25 1998 → Mar 1 1998 |
Conference
| Conference | Proceedings of the 1998 29th SIGCSE Technical Symposium on Computer Science Education, SIGCSE |
|---|---|
| City | Atlanta, GA, USA |
| Period | 2/25/98 → 3/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
- APA
- Author
- BIBTEX
- Harvard
- Standard
- RIS
- Vancouver