Open Access iconOpen Access

ARTICLE

crossmark

NewBee: Context-Free Grammar (CFG) of a New Programming Language for Novice Programmers

Muhammad Aasim Qureshi1,*, Muhammad Asif2, Saira Anwar3

1 Department of Computer Science, Bahria University Lahore, 54000, Pakistan
2 Department of Law, Science and Technology, University of Bologna, 40126, Italy
3 Department of Multidisciplinary Engineering, Texas A & M University, College Station, 77843, USA

* Corresponding Author: Muhammad Aasim Qureshi. Email: email

Intelligent Automation & Soft Computing 2023, 37(1), 439-453. https://doi.org/10.32604/iasc.2023.036102

Abstract

Learning programming and using programming languages are the essential aspects of computer science education. Students use programming languages to write their programs. These computer programs (students or practitioners written) make computers artificially intelligent and perform the tasks needed by the users. Without these programs, the computer may be visioned as a pointless machine. As the premise of writing programs is situated with specific programming languages, enormous efforts have been made to develop and create programming languages. However, each programming language is domain-specific and has its nuances, syntax and semantics, with specific pros and cons. These language-specific details, including syntax and semantics, are significant hurdles for novice programmers. Also, the instructors of introductory programming courses find these language specificities as the biggest hurdle in students learning, where more focus is on syntax than logic development and actual implementation of the program. Considering the conceptual difficulty of programming languages and novice students’ struggles with the language syntax, this paper describes the design and development of a Context-Free Grammar (CFG) of a programming language for the novice, newcomers and students who do not have computer science as their major. Due to its syntax proximity to daily conversations, this paper hypothesizes that this language will be easy to use and understand by novice programmers. This paper systematically designed the language by identifying themes from various existing programming languages (e.g., C, Python). Additionally, this paper surveyed computer science experts from industry and academia, where experts self-reported their satisfaction with the newly designed language. The results indicate that 93% of the experts reported satisfaction with the NewBee for novice, newcomer and non-Computer Science (CS) major students.

Keywords


Cite This Article

APA Style
Qureshi, M.A., Asif, M., Anwar, S. (2023). Newbee: context-free grammar (CFG) of a new programming language for novice programmers. Intelligent Automation & Soft Computing, 37(1), 439-453. https://doi.org/10.32604/iasc.2023.036102
Vancouver Style
Qureshi MA, Asif M, Anwar S. Newbee: context-free grammar (CFG) of a new programming language for novice programmers. Intell Automat Soft Comput . 2023;37(1):439-453 https://doi.org/10.32604/iasc.2023.036102
IEEE Style
M.A. Qureshi, M. Asif, and S. Anwar "NewBee: Context-Free Grammar (CFG) of a New Programming Language for Novice Programmers," Intell. Automat. Soft Comput. , vol. 37, no. 1, pp. 439-453. 2023. https://doi.org/10.32604/iasc.2023.036102



cc This work is licensed under a Creative Commons Attribution 4.0 International License , which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
  • 901

    View

  • 458

    Download

  • 0

    Like

Share Link