Using computer graphics to explore object oriented concepts using C

  • Authors:
  • William Kreahling

  • Affiliations:
  • Western Carolina University, Cullowhee, NC

  • Venue:
  • Proceedings of the 47th Annual Southeast Regional Conference
  • Year:
  • 2009

Quantified Score

Hi-index 0.00

Visualization

Abstract

Most recent graphics courses are what we would call top-down courses. Courses that focus on using graphical packages to implement and teach graphics. The course discussed in this paper takes the opposite approach. We use a bottom-up approach to teach the basic concepts of graphics. In this class graphics is used as a learning tool, to delve into the underlying data structures and concepts that are needed to create photo-realistic images. The students build a program to create images from scratch using the C programming languages. While there have been other graphics courses to take a bottom-up approach, this paper builds the graphical projects using only the C programming language, no graphics APIs are used in the class. During the course of the semester object-oriented concepts and differences between object-oriented languages and procedural languages are highlighted and discussed in detail. The students not only learn the basic concepts of graphics, but become familiar with the C programming language (students at our university begin programming with Java). The course could be easily tailored for several different classes in a typical CS curriculum, from a beginning programming course, to a programming languages course. At the conclusion of the course a student survey was also conducted to gather student feedback about the course.