USING VISUALIZATION AT DIFFERENT STAGES OF STUDYING THE DISCIPLINE "PROGRAMMING"
DOI:
https://doi.org/10.31110/2616-650X-vol11i2-005Keywords:
programming, Computer Science, visualization, playing field, tic-tac-toe, arrays, square matrix, C#, spiral filling, algorithmAbstract
The article examines the synergistic process of using visualization tools and programming language tools to solve several types of programming tasks. Such a synergy arises in connection with the orientation of the cognitive functions of the brain to the processing of visual information. In order to realize the stated goals, the authors described the process of step-by-step solving of several educational tasks using the C# programming language and corresponding graphic objects. Such presentation of the problem-solving process contributes to the effective selection of adequate software structures and tools. The considered tasks are related to two-dimensional space modeled in programming by two-dimensional arrays. From the point of view of the authors, it is two-dimensional arrays that are the most common information structure that allows using visual representation as an effective way of searching and explaining the solution process. Most often, in this case, nested loops are used, which examine the contents of the array in a natural way. In addition, an example of a problem where nested loops cannot be applied is considered. A number of appropriate techniques are proposed that simplify the perception of the program code, namely the use of functions (methods), enumerated types, and the replacement of complex logic in conditional operators with arrays encoding elements of conditions. The task considered: determining the area of a triangle by counting the number of its cells, finding the results of the tic-tac-toe game, and filling a square array with a sequence of integers in a spiral. The solution of each task is accompanied by the main program code. For better assimilation of the presented material, students should construct a complete working code and complete the independent tasks contained in the text of the article.
References
Vision Is Our Dominant Sense. URL: https://www.brainline.org/article/vision-our-dominant-sense.
Introduction to Psychology & Neuroscience. URL: https://digitaleditions.library.dal.ca/intropsychneuro/chapter/vision/.
Руденко В.Д., Речич Н.В., Потієнко В.О. Інформатика (профільний рівень): підручник для 11 класу. Харків: Ранок, 2019. 256 с.
Структури даних і алгоритми: Візуалізація деяких алгоритмів. URL: https://sites.google.com/site/chnudatstruct/home/vizualizacia-deakih-algoritmiv
Published
How to Cite
Issue
Section
License
Copyright (c) 2023 Валерій Пенко, Олена Пенко

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
- Authors grant the journal a right of the first publication of the work under a Creative Commons Attribution-NonCommercial 4.0 International License (CC BY-NC 4.0)that allows others freely to use (read, copy and print) submissions, search content and link to published articles, disseminate their full text and use them for any legitimate non-commercial purposes (i.e. educational or scientific) with the mandatory reference to the article’s authors and initial publication in this journal.
- Original published articles cannot be used by users (exept authors) for commercial purposes or distributed by third-party intermediary organizations for a fee.


