首页> 美国卫生研究院文献>Heliyon >PVC.js: visualizing C programs on web browsers for novices
【2h】

PVC.js: visualizing C programs on web browsers for novices

机译:PVC.js:为新手提供可视化Web浏览器上的C程序

代理获取
本网站仅为用户提供外文OA文献查询和代理获取服务,本网站没有原文。下单后我们将采用程序或人工为您竭诚获取高质量的原文,但由于OA文献来源多样且变更频繁,仍可能出现获取不到、文献不完整或与标题不符等情况,如果获取不到我们将提供退款服务。请知悉。

摘要

Many researchers have proposed program visualization tools for memory management. Examples include state-of-the-art tools for C languages such as SeeC and Python Tutor (PT). However, three problems hinder the use of these and other tools: capability (P1), installability (P2), and usability (P3). (P1) Tools do not fully support dynamic memory allocation or File Input / Output (I/O) and Standard Input. (P2) Novice programmers often have difficulty installing SeeC due to its dependence on Clang and setting up an offline environment that uses PT. (P3) Revisualization of the modified source code in SeeC requires several steps. To alleviate these issues, we propose a new visualization tool called PlayVisualizerC.js (PVC.js). PVC.js, which is designed for novice C language programmers to provide solutions (S1–3) for P1–3. S1 offers complete support for dynamic memory allocation, standard I/O, and file I/O. S2 involves installation in a user web browser. This system is composed of JavaScript programs, including C language execution functions. S3 reduces the steps required for revisualization. To evaluate PVC.js, we conducted two experiments. The first experiment found that students using PVC solved a set of four programming tasks on average 1.7—times faster and with 19% more correct answers than those using SeeC. The second experiment found that PVC.js has a visualization performance equivalent to PT, and that PVC.js is more effective than existing general debugging tools for novices to understand programs in cases where the values of important variables change and the control flow is complicated.
机译:许多研究人员提出了用于内存管理的程序可视化工具。示例包括适用于C语言的最新工具,例如SeeC和Python Tutor(PT)。但是,三个问题阻碍了这些工具和其他工具的使用:功能(P1),可安装性(P2)和可用性(P3)。 (P1)工具不完全支持动态内存分配或文件输入/输出(I / O)和标准输入。 (P2)新手程序员通常由于SeeC依赖Clang以及设置使用PT的脱机环境而难以安装。 (P3)在SeeC中重新可视化修改后的源代码需要几个步骤。为了缓解这些问题,我们提出了一个新的可视化工具PlayVisualizerC.js(PVC.js)。 PVC.js,是为C语言新手设计的,旨在为P1-3提供解决方案(S1-3)。 S1为动态内存分配,标准I / O和文件I / O提供完整的支持。 S2涉及在用户Web浏览器中的安装。该系统由JavaScript程序组成,包括C语言执行功能。 S3减少了重新可视化所需的步骤。为了评估PVC.js,我们进行了两个实验。第一个实验发现,使用PVC的学生平均可以解决1.7项四个编程任务,比使用SeeC的学生快1.7倍,正确答案要多19%。第二个实验发现,PVC.js的可视化性能与PT相当,并且在重要变量的值发生变化且控制流程复杂的情况下,对于新手来说,PVC.js比现有的常规调试工具更有效地理解程序。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
代理获取

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号