METHODOLOGY FOR SOLVING A NUMBER OF PROBLEMS IN PYTHON AND C++ LANGUAGES WITH THE APPLICATION OF MATHEMATICAL KNOWLEDGE
Mirzoeva Kabira Adil , Candidate of physical and mathematical sciences, Senior Lecturer, Computer Department Science of Azerbaijan State Pedagogical University, AzerbaijanAbstract
Python programming language and C++ language are studied comparatively. The method of using and teaching cyclic and conditional operators in Python and C++ languages is investigated. The rules of using both preconditioned and post-conditioned cycle operators in solving mathematical problems are explained in detail.
The methodology of solving mathematical problems in Python and C++ programming languages is investigated, and the problems of finding the greatest common divisor and prime divisors of a given number n are solved in both Python and C++ languages, and the differences in the syntax of these programming languages are studied.
The article teaches the rules for calculating expressions with the participation of logarithms. Emphasizes the importance of writing the math.h directive when using math functions.
Keywords
Prime numbers, Python, C
References
С.Шапошникова «Основы программирования на Python», Вводный курс, версия 2, Лаборатория юного линуксоида, 2011
Алексей Васильев Программирование на C++ в примерах и задачах. , 2016.
Мирзоева К. А. Методика обучения языков программирования Phyton , C++ и их сравнение, Узбекистан, Общество и инновации,том 3, №3,2022, с.126¬-133.
Phyton və C++ dillərində dövr operatorları mövzusunun öyrədilməsi metodikasi. The XXXIII International Scientific Symposium "Dialogue of Sciences and Cultures in the Modern World”The 24th of December 2022.Bishkek / Kyrgyzstan,c.92-94 ,
Article Statistics
Downloads
Copyright License
Copyright (c) 2023 Mirzoeva Kabira Adil
This work is licensed under a Creative Commons Attribution 4.0 International License.
Authors retain the copyright of their manuscripts, and all Open Access articles are disseminated under the terms of the Creative Commons Attribution License 4.0 (CC-BY), which licenses unrestricted use, distribution, and reproduction in any medium, provided that the original work is appropriately cited. The use of general descriptive names, trade names, trademarks, and so forth in this publication, even if not specifically identified, does not imply that these names are not protected by the relevant laws and regulations.