跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 程序设计语言

arXiv:1805.05124 (cs)
[提交于 2018年5月14日]

标题:Vector Programming Using Structural Recursion

作者:Marco T. Morazán
查看论文《Vector Programming Using Structural Recursion》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要: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.
评论: In Proceedings TFPIE 2017, arXiv:1805.04255. Students traditionally believe that the learning process flows from the professor to the students. In my case, nothing can be further from the truth. The work presented in this article is inspired by the difficulties faced and by the questions addressed to me by my beginning students. The author thanks them for providing me with valuable lessons regarding how to teach an introduction to vector programming. In particular, I thank Josephine Des Rosiers for her many heated debates with me about designing programs
主题: 程序设计语言 (cs.PL); 计算机与社会 (cs.CY)
引用方式: arXiv:1805.05124 [cs.PL]
  (或者 arXiv:1805.05124v1 [cs.PL] 对于此版本)
  https://doi.org/10.48550/arXiv.1805.05124
期刊参考: EPTCS 270, 2018, pp. 1-17
相关 DOI: https://doi.org/10.4204/EPTCS.270.1

提交历史

来自:EPTCS
[v1] 2018年5月14日 星期一 11:43:52 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.PL
< 上一篇   |   下一篇 >
最新 | 近期 | 2018-05
切换浏览方式为:
cs
cs.CY

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站