Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
article
Free access

Incorporating problem-solving patterns in CS1

Published: 01 March 1998 Publication History

Abstract

In [Wall96], Wallingford describes an approach to introductory courses that is based on programming patterns, i.e., algorithms or problem-solving approaches that can be applied to various applications. By focusing on patterns such as "Input-Process-Test" or "Process all items in a collection", students reason at a higher-level of abstraction when solving problems. In addition, code schema can be provided which apply to certain patterns, and these schema then serve as frameworks for program development. (See also [Rist89], [Coad92], and [GHJV95].)Closely related to the patterns approach is the use of themes in a programming course. Selecting a particular idea (such as self-reference [Astr94]), methodology (such as formal specifications [MH96]), or application domain (such as databases [AR95]) provides a framework for learning new techniques and concepts. Once a concept has been studied in one context, new applications which similarly utilize that concept can be understood more easily.This paper describes the use of a particular problem-solving pattern, binary reduction, as a recurring theme in the CS1 course. Other problem-solving approaches, such as divide-and-conquer or generate-and-test, could similarly be used. By introducing problem-solving patterns early in the course and then revisiting them in different contexts, students learn to look for common characteristics in problems, and to use an existing solution as a framework for solving related problems. Perhaps more importantly, understanding the behavior of one problem solution can simplify the analysis of other problem solutions based on the same pattern.

References

[1]
Astrachan, Owen (1994). "Self-Reference is an Illustrative Essential." SIGCSE Bulletin 26(1): 238-242.
[2]
Astrachan, Owen and David Reed (1995). "AAA and CS 1: The Applied Apprenticeship Approach to CS 1." SIGCSE Bulletin 27(1): 1-5.
[3]
Coad, Peter (1992). "Object-Oriented P~tttems." Communications of the A CM 35(9)" 152-159.
[4]
Gamma, Erich, Richard Helm, Ralph Johnson and John Vlissides (1995). Design Patterns, Addison-Wesley.
[5]
McLoughlin, Henry and Kevin Hely (1996). "Teaching Formal Programming to First Year Computer Students." SIGCSE Bulletin 28(1): 155-159.
[6]
Rist, Robert S. (1989). "Schema Creation in Programming." Cognitive Science 13" 389- 414.
[7]
Wallingford, Eugene (1996). 'Toward a First Course Based on Object-Oriented Patterns." SIGCSE Bulletin 28(1): 27-31.

Cited By

View all
  • (2019)Pattern-Oriented Instruction and its Influence on Meaningful Learning of Algorithmic Patterns and Acquiring Fundamental Skills in Computer ScienceProceedings of the 2019 ACM Conference on Innovation and Technology in Computer Science Education10.1145/3304221.3325601(346-347)Online publication date: 2-Jul-2019
  • (2007)Pattern-oriented instruction and its influence on problem decomposition and solution constructionACM SIGCSE Bulletin10.1145/1269900.126883039:3(151-155)Online publication date: 25-Jun-2007
  • (2007)Pattern-oriented instruction and its influence on problem decomposition and solution constructionProceedings of the 12th annual SIGCSE conference on Innovation and technology in computer science education10.1145/1268784.1268830(151-155)Online publication date: 25-Jun-2007
  • Show More Cited By

Recommendations

Comments

Information & Contributors

Information

Published In

Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 01 March 1998
Published in SIGCSE Volume 30, Issue 1

Check for updates

Qualifiers

  • Article

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)96
  • Downloads (Last 6 weeks)23
Reflects downloads up to 06 Oct 2024

Other Metrics

Citations

Cited By

View all
  • (2019)Pattern-Oriented Instruction and its Influence on Meaningful Learning of Algorithmic Patterns and Acquiring Fundamental Skills in Computer ScienceProceedings of the 2019 ACM Conference on Innovation and Technology in Computer Science Education10.1145/3304221.3325601(346-347)Online publication date: 2-Jul-2019
  • (2007)Pattern-oriented instruction and its influence on problem decomposition and solution constructionACM SIGCSE Bulletin10.1145/1269900.126883039:3(151-155)Online publication date: 25-Jun-2007
  • (2007)Pattern-oriented instruction and its influence on problem decomposition and solution constructionProceedings of the 12th annual SIGCSE conference on Innovation and technology in computer science education10.1145/1268784.1268830(151-155)Online publication date: 25-Jun-2007
  • (2007)DOIDFHProceedings of the The 2007 International Conference Computational Science and its Applications10.1109/ICCSA.2007.32(245-252)Online publication date: 26-Aug-2007
  • (2007)Pedagogical patterns: A means for communication within the CS teaching community of practiceComputer Science Education10.1080/0899340060078699416:2(87-103)Online publication date: 16-Feb-2007
  • (2005)Pattern oriented instruction and the enhancement of analogical reasoningProceedings of the first international workshop on Computing education research10.1145/1089786.1089792(57-67)Online publication date: 1-Oct-2005
  • (1999)Computer science and general educationACM SIGCSE Bulletin10.1145/384266.29973731:1(146-149)Online publication date: 1-Mar-1999
  • (1999)Computer science and general educationThe proceedings of the thirtieth SIGCSE technical symposium on Computer science education10.1145/299649.299737(146-149)Online publication date: 24-Mar-1999
  • (2009)Design Patterns Go to HollywoodProceedings of the 2009 Sixth International Conference on Information Technology: New Generations10.1109/ITNG.2009.199(684-689)Online publication date: 27-Apr-2009
  • (2004)Patterns in learning to programProceedings of the Sixth Australasian Conference on Computing Education - Volume 3010.5555/979968.980000(241-246)Online publication date: 1-Jan-2004
  • Show More Cited By

View Options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Get Access

Login options

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media