Farzeen Zehra
Research Subjects
Research Interests
Farzeen Zehra has a total of 3 co-authors. Here are the top co-authors by number of shared publications:
Darakhshan Khan
1 shared publicationMaha Javed
1 shared publicationMaria Pasha
1 shared publication
Latest Publications
- Open Access
- 21 December 2020
- Published by MDPI AG in Preprints.org
Comparative Analysis of C++ and Python in Terms of Memory and Time
In this era of technology, programming has become more significant than ever before. Python and C++ are both widely used programming languages. Python, the most popular programming language in today’s world, is a high-level object-oriented language whereas C++, the language behind most operating systems, is a low-level object-oriented language. In this paper, we present a comparative study of Python and C++. This paper discusses the introduction to these languages, their memory management techniques, and the reasons behind their program execution speed. Furthermore, we analyzed the execution time and memory used by multiple algorithms in both the languages with best, average, and worst cases. They are also compared with respect to the benefits and issues related to them. Results indicate that C++ is faster than Python in execution speed but Python serves as a better language for beginners due to its simplicity. Moreover, for the best results, the language should be selected according to the type of project.
- 21 December 2020
- Published by MDPI AG in Preprints.org
Open AccessComparative Analysis of C++ and Python in Terms of Memory and Time
In this era of technology, programming has become more significant than ever before. Python and C++ are both widely used programming languages. Python, the most popular programming language in today’s world, is a high-level object-oriented language whereas C++, the language behind most operating systems, is a low-level object-oriented language. In this paper, we present a comparative study of Python and C++. This paper discusses the introduction to these languages, their memory management techniques, and the reasons behind their program execution speed. Furthermore, we analyzed the execution time and memory used by multiple algorithms in both the languages with best, average, and worst cases. They are also compared with respect to the benefits and issues related to them. Results indicate that C++ is faster than Python in execution speed but Python serves as a better language for beginners due to its simplicity. Moreover, for the best results, the language should be selected according to the type of project.