Skip to main navigation Skip to search Skip to main content

Ancestor worship in CS1: On the primacy of arrays

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

8 Scopus citations

Abstract

History has given us the array as the fundamental data structure to present to students within the CS1 curriculum. However, with the recent growth in popularity of object-oriented languages for CS1 (C++, Java, C#), and with that, the acceptance of the objects-first or objects-early approach to teaching CS1, it becomes imperative that we re-evaluate our long-held beliefs about what is appropriate to teach. It is our position that the first data structure that students are exposed to should not be arrays, but rather some other form of collection. We will give some examples of how to use java.util. HashMap and some of the other Java Collections classes in substitution of arrays. We also present data concerning the academic performance of students using arrays versus those using Java Collections for CS1 lab exercises.

Original languageEnglish
Title of host publicationOOPSLA'04 - Conference Companion
Subtitle of host publication19th Annual ACM Conference on Object-Oriented Programming, Systems, Languages, and Applications
Pages68-72
Number of pages5
DOIs
StatePublished - 2004
Event19th Annual ACM Conference on Object-Oriented Programming, Systems, Languages, and Applications, OOPSLA'04 - Vancouver, BC, Canada
Duration: Oct 24 2004Oct 28 2004

Publication series

NameProceedings of the Conference on Object-Oriented Programming Systems, Languages, and Applications, OOPSLA

Conference

Conference19th Annual ACM Conference on Object-Oriented Programming, Systems, Languages, and Applications, OOPSLA'04
Country/TerritoryCanada
CityVancouver, BC
Period10/24/0410/28/04

Keywords

  • Arrays
  • CS1
  • Curriculum
  • Data structures
  • Object oriented-design
  • Object-oriented programming
  • Objects-first

Fingerprint

Dive into the research topics of 'Ancestor worship in CS1: On the primacy of arrays'. Together they form a unique fingerprint.

Cite this