Abstracting and narrating novice programs using regular expressions

Abejide Ade-Ibijola, Sigrid Ewert, Ian Sanders

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

11 Citations (Scopus)

Abstract

The Syntax-Free Approach (SFA) to teaching programming was proposed in response to the perceived challenges often faced by novice programmers while taking their first course in programming. The idea of the SFA is to provide a level of abstraction over the language syntax and teach programming to novices as algorithms instead of lines of code. In this paper, we report the development of a tool that translates novice programs into detailed textual algorithms using regular expressions. We refer to these algorithms as narrations. These narrations are syntax-free, can improve readability and aid the comprehension of programs. The technique described can also be employed for automatic generation of hints or tips for novice programmers during classroom or laboratory sessions.

Original languageEnglish
Title of host publicationACM International Conference Proceeding Series
EditorsHelene Gelderblom, J.P. van Deventer, Aurona Gerber, Machdel C. Matthee
PublisherAssociation for Computing Machinery
Pages19-28
Number of pages10
ISBN (Electronic)9781450332460
DOIs
Publication statusPublished - 29 Sept 2014
Externally publishedYes
EventSouthern African Institute for Computer Scientist and Information Technologists Annual Conference, SAICSIT 2014 - Centurion, Gauteng, South Africa
Duration: 28 Sept 20141 Oct 2014

Publication series

NameACM International Conference Proceeding Series
Volume28-September-2014

Conference

ConferenceSouthern African Institute for Computer Scientist and Information Technologists Annual Conference, SAICSIT 2014
Country/TerritorySouth Africa
CityCenturion, Gauteng
Period28/09/141/10/14

Keywords

  • Novice programs
  • Program abstraction
  • Program comprehension
  • Regular expressions
  • Syntax-free approach

ASJC Scopus subject areas

  • Software
  • Human-Computer Interaction
  • Computer Vision and Pattern Recognition
  • Computer Networks and Communications

Fingerprint

Dive into the research topics of 'Abstracting and narrating novice programs using regular expressions'. Together they form a unique fingerprint.

Cite this