1 / 11

Evaluation of Python for Introductory Programming: A Comparative Study with C++

This study evaluates Python as an introductory programming language compared to C++. It discusses the syntax, ease of learning, potential challenges, and areas for improvement. The research aims to provide insights into the effectiveness of Python in a distance education setting, particularly focusing on the introductory programming module at UNISA. The study highlights Python's advantages in terms of simplicity, syntax, and ease of implementation, while also addressing potential drawbacks such as semantic challenges and syntactical complexities. The conclusion emphasizes the need for a comprehensive assessment of curriculum content and delivery methods before integrating Python into the programming curriculum.

mckinneys
Download Presentation

Evaluation of Python for Introductory Programming: A Comparative Study with C++

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Evaluating Python as an Introductory Programming Language A. Thomas and H.L. Liang UNISA

  2. Contents • Introduction • Background • Aim of this study • Evaluation approach and findings • Conclusion • Future research

  3. Introduction • Programming in Computer Science Curriculum • Aim of Introductory Programming • Difficulties associated with learning programming • Learning programming in distance education

  4. Background • UNISA as an open and distance education institution • First-level Computer Science modules at UNISA • Focussing on the introductory programming module at UNISA - Objectives of the module - Implementation language - Learner Support - Pass rate

  5. Aim of this study • To compare Python with C++ with respect to its syntax and structure • We do not aim to challenge the present module content and delivery techniques

  6. Evaluation Approach and Findings • Approach used • Grouping of the results - Features of Python that will contribute to ease of learning - Features of Python that will not improve the ease of learning - Features of Python that could be problematic

  7. Features of Python that will ease learning • Installation - How is it done now? - How can it be improved using Python? • Introduction to Programming - How is it done now? #include <iostream> (1) using namespace std; (2) int main(){ (3) cout<< “Hello World”; return 0; }

  8. Continued.. - How can it be improved? print “Hello World” • Simplicity in Syntax - Examples in Python No need to declare variables Multiple initializations of variables in a single line Inclusion of useful expressions • Practice one concept at a time • Easier translation of a solution into implementation

  9. Features of Python that will not improve ease of learning • Semantics to match expectations - meanings associated with ×, %, = - array indexing • Providing meaningful error messages • Practicalities of the IDE • Availability of on-line resources

  10. Features of Python that could be problematic • Compilation vs. interpretation • Syntactical challenges - Readability -Indentation • Dynamic vs. static typing

  11. Conclusion and further research • In this preliminary evaluation Python seems to have features that would ease the learning curve associated with learning a programming language • However, all the aspects of the introductory programming module should be considered before making a conclusive decision • The effect of including Python in the present curriculum should also be analysed

More Related