Vector Programming Using Structural Recursion An Introduction to Vectors for Beginners

被引:5
|
作者
Morazan, Marco T. [1 ]
机构
[1] Seton Hall Univ, S Orange, NJ 07079 USA
关键词
D O I
10.4204/EPTCS.270.1
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Vector programming is an important topic in many Introduction to Computer Science courses. Despite the importance of vectors, learning vector programming is a source for frustration to many students given that they feel left adrift when it comes to resolving vector indexing errors. Even though the size of a vector is a natural number, there have been no efforts to define a useful recursive data definition to help beginners design vector processing functions. This article defines the concept of a vector interval and describes how to exploit its recursive structure to design vector processing functions. The described methodology provides a context beginners can use to reason about proper vector indexing instead of leaving them adrift with this responsibility. A key feature of properly using the described methodology is that if students process the correct vector interval then vector indexing errors can not arise. The classroom deployment of this approach is described in detail. Students, to date, have found vector intervals helpful in avoiding out-of-bounds indexing errors when all the vector elements of the interval are processed.
引用
收藏
页码:1 / 17
页数:17
相关论文
共 50 条
  • [1] Vector Programming Using Generative Recursion A Framework for Beginners Using Vector Intervals
    Morazan, Marco T.
    [J]. ELECTRONIC PROCEEDINGS IN THEORETICAL COMPUTER SCIENCE, 2019, (295): : 35 - 51
  • [2] Structural neuroplasticity in computer programming beginners
    Hongo, Takeshi
    Yakou, Takao
    Yoshinaga, Kenji
    Kano, Toshiharu
    Miyazaki, Michiko
    Hanakawa, Takashi
    [J]. CEREBRAL CORTEX, 2023, 33 (09) : 5375 - 5381
  • [3] Block recursion and structural vector autoregressions
    Zha, T
    [J]. JOURNAL OF ECONOMETRICS, 1999, 90 (02) : 291 - 316
  • [4] Iteration vs Recursion in Introduction to Programming Classes: An Empirical Study
    Sulov, Vladimir
    [J]. CYBERNETICS AND INFORMATION TECHNOLOGIES, 2016, 16 (04) : 63 - 72
  • [5] USING CHATGPT IN DISTANCE LEARNING FOR BEGINNERS IN PROGRAMMING
    Sisilitsyn, Yurii O.
    V. Osadchyi, Viacheslav
    [J]. INFORMATION TECHNOLOGIES AND LEARNING TOOLS, 2023, 97 (05) : 167 - 180
  • [6] Using Structural Recursion for Corecursion
    Bertot, Yves
    Komendantskaya, Ekaterina
    [J]. TYPES FOR PROOFS AND PROGRAMS, 2009, 5497 : 220 - +
  • [7] Easy Robot Programming for Beginners and Kids Using Augmented Reality Environments
    Sakamoto, Kunio
    Nishiguchi, Masahiro
    [J]. INFRARED, MILLIMETER WAVE, AND TERAHERTZ TECHNOLOGIES, 2010, 7854
  • [8] Introduction to Programming using Clean
    Kim, Yuri
    Lee, Chaeyeon
    Choi, Jihyun
    Oh, Seoyeon
    Park, Seongbin
    [J]. PROCEEDINGS OF THE 2023 CONFERENCE ON INNOVATION AND TECHNOLOGY IN COMPUTER SCIENCE EDUCATION, ITICSE 2023, VOL. 2, 2023, : 655 - 655
  • [9] Easy Robot Programming for Beginners and Kids Using Command and Instruction Marker Card
    Nishiguchi, Masahiro
    Sakamoto, Kunio
    [J]. ENTERTAINMENT COMPUTING - ICEC 2010, 2010, 6243 : 460 - 463
  • [10] Support vector machines using multi objective programming and goal programming
    Nakayama, H
    Asada, T
    [J]. ICONIP'02: PROCEEDINGS OF THE 9TH INTERNATIONAL CONFERENCE ON NEURAL INFORMATION PROCESSING: COMPUTATIONAL INTELLIGENCE FOR THE E-AGE, 2002, : 1053 - 1057