How to use the Python programming language in fulfilling crypto-arithmetic tasks in secondary school

Author:

Zinnatullin Z. I.1,Korchazhkina O. M.2

Affiliation:

1. School 1353

2. Federal Research Centre "Computer Science and Control" of the Russian Academy of Sciences

Abstract

The article provides a way to optimize an enumeration process in the Python programming language while solving crypto-arithmetic (enumerative) tasks where two multi-digit numbers add to each other in a column. It is noted that there are two directions in fulfilling enumeration problems which suggest being optimized by combinatorial (algebraic) and programming methods. Moreover, it has been found out that it is impractical to express algebraic optimization methods directly in program codes, since programming languages have their own possibilities for optimizing search procedures.Therefore, the process of learning how to optimize search while fulfilling enumerative tasks should be carried out in two stages. Combinatorial methods are the best means of forming students’ logical mindsets and algorithmic skills. That is the reason why these methods should necessarily be included in the informatics course at the level of general secondary education. Then, at the advanced stage of training, or at the level of secondary general education, it is useful for students to move to the programming direction mastering high-level programming languages.The optimizing strategy of solving crypto-arithmetic problems described in the article, and its implementation in the Python language involves omitting conventional cyclic structures, as well as widely known methods of processing character data. When compiling a computer program "слова.py", the authors applied the join method and the permutations function of the itertools module from the Python standard library. This choice has greatly simplified the recording of the program codes and reduced the time it took to search for the solution.

Publisher

Publishing House Education and Informatics

Subject

General Engineering

Reference11 articles.

1. Bosova L. L. Programmirovanie kak instrument formirovaniya vychislitel'nogo myshleniya obuchayushchikhsya // Informatika v shkole. 2020. № 10. S. 4–10. EDN: GURIPH. DOI: 10.32517/2221-1993-2020-19-10-4-10.

2. Bosova L. L., Akvilyanov N. A. Obrabotka simvol'nykh dannykh: ot prostogo k slozhnomu // Informatika v shkole. 2022. № 6. S. 5–11. EDN: DVGZGT. DOI: 10.32517/2221-19932022-21-6-5-11.

3. Bosova L. L., Pavlov D. I., Tkach T. V., Butarev K. V. O soderzhanii «Bazovogo kursa informatiki» v proekte «IT-klass v moskovskoi shkole» // Informatika v shkole. 2021. № 10. S. 9–18. EDN: FVCHQS. DOI: 10.32517/2221-1993-2021-20-10-9-18

4. Zaslavskaya O. Yu., Lyubutov O. D. Osobennosti metodiki prepodavaniya tsikla For v yazyke Python v srednei shkole // Informatika v shkole. 2022. № 4. S. 70–73. EDN: KGUBSE. DOI: 10.32517/2221-1993-2022-21-4-70-73.

5. Korchazhkina O.M. Kriptoarifmeticheskie i drugie perebornye zadachi na urokakh informatiki // Aktual'nye problemy metodiki obucheniya informatike i matematike v sovremennoi shkole: Materialy mezhdunarodnoi nauchnoprakticheskoi internet-konferentsii (g. Moskva, 18–24 aprelya 2022 g.). M.: MGPU, 2022. S. 159–170. EDN: IRPYVZ.

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3