DOI
https://doi.org/10.47689/2181-1415-vol3-iss3-pp126-133Keywords
Phyton , C , conditional operator , programming languages , lesson , students , teacher , study , knowledge , decision , learningAbstract
If we look at the scientific, methodological, regulatory documents, literature for teaching students the basics of programming, we see that the state standard does not define any programming language, but only what knowledge and skills students should have.
Phyton is a great language in terms of student time at the Olympics and other competitions.
In Phyton programming, the max, min, and sort functions are used to find the maximum and minimum of an array, as well as to sort the array elements, which makes the program much more compact.
The program saves a lot of time as there is no need to compile in Phyton. An interpreter is used to convert a program into machine code. An interpreter can be used interactively to test functions during program development. For those who are new to Phyton, it is more appropriate to use the interactive mode, as it provides a visualization of the programming process.
A comparative analysis of the Python and C++ programming languages shows that Python has a simpler syntax. The concise writing of codes and the presence of an interactive mode once again prove that learning Python is more convenient.
In the presented work:
1. The advantages of Python are shown by comparing Python with C++.
2. A summary plan of an open lesson on the topic “Programming branching algorithms in the Phyton language” is presented and students are shown a methodology for studying the topic.
3. Evaluation of the course of lessons is shown by experts
4. An example of a program in C ++ and Phyton using the for period and if conditions for solving the following problem is considered:
Find the number of integers in a one-dimensional array that are completely divisible by 3 and not divisible by 7.
Downloads
References
С. Шапошникова «Основы программирования на Python», Вводный курс, версия 2, Лаборатория юного линуксоида, 2011.
Доусон М. «Программируем на Python». СПБ: Питер, 2014, – C. 416.
Бьерн Страуструп – Язык программирования C++ Специальное издание., 2011.
Алексей Васильев. Программирование на C++ в примерах и задачах., 2016.
Стефан Р. Дэвис – С++ Для чайников, 2014.
Литвиненко Н.А. – Технология программирования на С++, 2014.
Романов Е.Л. Си++. От дилетанта до профессионала 2014.
Чистый Python. Тонкости программирования для профи. – СПб.: Питер, 2018. – C. 288: ил. – (Серия «Библиотека программиста»).
Лейси Никола, Python, например. – СПб.: Питер, 2021. – C. 208.
Седер Наоми Python. Экспресс-курс. 3-е изд. – СПб.: Питер, 2019.
Билл Любанович «Простой Python, современный стиль программирования» Питер, 2019.
Пол Бэрри, Изучаем программирование на Python, 2017.
Васильев А.Н. Программирование на Python в примерах и задачах. Бомбора, 2022.
Коплиен Дж. Программирование на С++. – СПб: ПИТЕР, 2005.
Алексей Васильев – «Python на примерах. Практический курс», Наука и техника, 2019.
Downloads
1334 291Published
How to Cite
Issue
Section
License
Copyright (c) 2022 Мирзоева Кабира Адил

This work is licensed under a Creative Commons Attribution 4.0 International License.











