Vector Programming Using Generative Recursion A Framework for Beginners Using Vector Intervals

被引:1
|
作者
Morazan, Marco T. [1 ]
机构
[1] Seton Hall Univ, S Orange, NJ 07079 USA
关键词
D O I
10.4204/EPTCS.295.3
中图分类号
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 of frustration for many students. Much of the frustration is rooted in discovering the source of bugs that are manifested as out-of-bounds indexing. The problem is that such bugs are, sometimes, rooted in incorrectly computing an index. Other times, however, these errors are rooted in mistaken reasoning about how to correctly process a vector. Unfortunately, either way, all too often beginners are left adrift to resolve indexing errors on their own. This article extends the work done on vector programming using vector intervals and structural recursion to using generative recursion. As for problems solved using structural recursion, vector intervals provide beginners with a useful framework for designing code that properly indexes vectors. This article presents the methodology and concrete examples that others may use to build their own CS1 modules involving vector programming using any programming language.
引用
收藏
页码:35 / 51
页数:17
相关论文
共 50 条
  • [1] Vector Programming Using Structural Recursion An Introduction to Vectors for Beginners
    Morazan, Marco T.
    [J]. ELECTRONIC PROCEEDINGS IN THEORETICAL COMPUTER SCIENCE, 2018, (270): : 1 - 17
  • [2] SIMD programming using Intel vector extensions
    Amiri, Hossein
    Shahbahrami, Asadollah
    [J]. JOURNAL OF PARALLEL AND DISTRIBUTED COMPUTING, 2020, 135 (135) : 83 - 100
  • [3] Video coding using a vector wavelet framework
    Wus, J
    Li, WP
    [J]. JOURNAL OF ELECTRONIC IMAGING, 1998, 7 (03) : 558 - 570
  • [4] Approximate Dynamic Programming Using Support Vector Regression
    Bethke, Brett
    How, Jonathan P.
    Ozdaglar, Asuman
    [J]. 47TH IEEE CONFERENCE ON DECISION AND CONTROL, 2008 (CDC 2008), 2008, : 3811 - 3816
  • [5] Support vector machines using multi objective programming
    Asada, T
    Nakayama, H
    [J]. MULTI-OBJECTIVE PROGRAMMING AND GOAL PROGRAMMING, 2003, : 93 - 98
  • [6] Study on Support Vector Machines Using Mathematical Programming
    Yoon, Min
    Lee, Hakbae
    [J]. KOREAN JOURNAL OF APPLIED STATISTICS, 2005, 18 (02) : 421 - 434
  • [7] 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
  • [8] Modern Generative Programming for Optimizing Small Matrix-Vector Multiplication
    Penuchot, Jules
    Falcou, Joel
    Khabou, Amal
    [J]. PROCEEDINGS 2018 INTERNATIONAL CONFERENCE ON HIGH PERFORMANCE COMPUTING & SIMULATION (HPCS), 2018, : 508 - 514
  • [9] 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
  • [10] Gesture Recognition using Hybrid Generative-Discriminative Approach with Fisher Vector
    Goutsu, Yusuke
    Takano, Wataru
    Nakamura, Yoshihiko
    [J]. 2015 IEEE INTERNATIONAL CONFERENCE ON ROBOTICS AND AUTOMATION (ICRA), 2015, : 3024 - 3031