Implementation of CFG Based Natural Language Framework in Description of Syntax Errors in Imperative First Programming Languages: A Case Study from University of Baluchistan

Authors

  • Shafaque Saira Malik
  • Shumail Naveed
  • Furqan-ul-haq Siddiqui
  • Mohammed Umer

DOI:

https://doi.org/10.5281/zenodo.5148258

Keywords:

FPL, NLF, Novices, CFG, Error Message (EM)

Abstract

The purpose of this research is to study usefulness and impact of natural language framework for description of error messages on the performance, motivation, cognitive load of novices in imperative first programming language like C. This study is about investigating the impact of error messages description in natural language on debugging skill of students. It is used as a teaching tool in introductory programming language. In this research a framework based on natural language was constructed based on context free grammar (CFG) underpinning human computer interaction (HCI) to facilitate debugging of errors. This paper reports that using natural language to describe error messages decrease debugging time. We concluded that novices using this framework performed better with good understanding of static error handling, error correction with fewer number of errors. This framework has appreciable effect on learning outcomes of the students. The results of study reflect the time spent to debug and correct error was reduced as a result performance, motivation of the students increased and had impact on the cognitive load of students.

Downloads

Download data is not yet available.

Downloads

Published

2020-10-06

How to Cite

Shafaque Saira Malik, Shumail Naveed, Furqan-ul-haq Siddiqui, & Mohammed Umer. (2020). Implementation of CFG Based Natural Language Framework in Description of Syntax Errors in Imperative First Programming Languages: A Case Study from University of Baluchistan. LC International Journal of STEM (ISSN: 2708-7123), 1(3), 8-16. https://doi.org/10.5281/zenodo.5148258