dpvis: A Visual and Interactive Learning Tool for Dynamic Programming

被引:0
|
作者
Lee, David H. [1 ]
Prasad, Aditya [1 ,2 ]
Vuong, Ramiro Deo-Campo [3 ]
Wang, Tianyu [1 ]
Han, Eric [1 ]
Kempe, David [1 ]
机构
[1] Univ Southern Calif, Los Angeles, CA 90007 USA
[2] Univ Chicago, Chicago, IL USA
[3] Cornell Univ, Ithaca, NY USA
关键词
Dynamic Programming; Interactive Algorithm Visualization; Active Learning; Algorithms Education;
D O I
暂无
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
Dynamic programming (DP) is a fundamental and powerful algorithmic paradigm taught in most undergraduate (and many graduate) algorithms classes. DP problems are challenging for many computer science students because they require identifying unique problem structures and a refined understanding of recursion. In this paper, we present dpvis, a Python library that helps students understand DP through a frame-by-frame animation of dynamic programs. dpvis can easily generate animations of dynamic programs with as little as two lines of modifications compared to a standard Python implementation. For each frame, dpvis highlight the cells that have been read from and written to during an iteration. Moreover, dpvis allows users to test their understanding by prompting them with questions about the next operation performed by the algorithm. We deployed dpvis as a learning tool in an undergraduate algorithms class, and report on the results of a survey. The survey results suggest that dpvis is especially helpful for visualizing the recursive structure of DP. Although some students struggled with the installation of the tool (which has been simplified since the reported deployment), essentially all other students found the tool to be useful for understanding dynamic programs. dpvis is available at https://github.com/itsdawei/dpvis.
引用
收藏
页码:645 / 651
页数:7
相关论文
共 50 条
  • [11] Interactive Serious Games with Visual Programming for Mobile Robot Learning
    Ada, Mustafa
    Akdeniz, Mehmet Fevzi
    Gumgum, Omer
    Keskin, Meric
    Yazici, Ahmet
    Yayan, Ugur
    2016 24TH SIGNAL PROCESSING AND COMMUNICATION APPLICATION CONFERENCE (SIU), 2016, : 485 - 488
  • [12] DeepVisual: A Visual Programming Tool for Deep Learning Systems
    Xie, Chao
    Qi, Hua
    Ma, Lei
    Zhao, Jianjun
    2019 IEEE/ACM 27TH INTERNATIONAL CONFERENCE ON PROGRAM COMPREHENSION (ICPC 2019), 2019, : 130 - 134
  • [13] Visual Comparator An Interactive Tool for Dynamic Spatiotemporal Comparative Visualizations
    Cherukuru, Nihanth W.
    Scheitlin, Tim
    BULLETIN OF THE AMERICAN METEOROLOGICAL SOCIETY, 2020, 101 (10) : E1861 - E1869
  • [14] Interactive visual functional programming
    Hanna, K
    ACM SIGPLAN NOTICES, 2002, 37 (09) : 145 - 156
  • [15] A VISUAL AND INTERACTIVE LEARNING TOOL: FREQUENCY CONTENT OF SOUND WAVES
    Arabasi, S.
    Al-Taani, H.
    Kapanadze, D. Unveren
    EDULEARN18: 10TH INTERNATIONAL CONFERENCE ON EDUCATION AND NEW LEARNING TECHNOLOGIES, 2018, : 10719 - 10724
  • [16] Students' responses to the use of an interactive multimedia tool for learning computer programming
    Chansilp, K
    Oliver, R
    ED-MEDIA 2004: World Conference on Educational Multimedia, Hypermedia & Telecommunications, Vols. 1-7, 2004, : 1739 - 1746
  • [17] An Effective Visual Programming Tool for Learning and Using Robotics Middleware
    Yumi, Nishimura
    Yuki, Suga
    Tetsuya, Ogata
    2016 IEEE/SICE INTERNATIONAL SYMPOSIUM ON SYSTEM INTEGRATION (SII), 2016, : 156 - 161
  • [18] Towards A Visual Programming Tool to Create Deep Learning Models
    Calo, Tommaso
    De Russis, Luigi
    COMPANION OF THE 2023 ACM SIGCHI SYMPOSIUM ON ENGINEERING INTERACTIVE COMPUTING SYSTEMS, EICS 2023, 2023, : 38 - 44
  • [19] Interactive software tool to comprehend the calculation of optimal sequence alignments with dynamic programming
    Ibarra, Ignacio L.
    Melo, Francisco
    BIOINFORMATICS, 2010, 26 (13) : 1664 - 1665
  • [20] TEACHING AND LEARNING INFORMATION RETRIEVAL BASED ON A VISUAL AND INTERACTIVE TOOL: SULAIR
    Fernandez-Luna, Juan M.
    Huete, Juan F.
    Rodriguez-Cano, Julio C.
    del Carmen Rodriguez-Hernandez, M.
    EDULEARN12: 4TH INTERNATIONAL CONFERENCE ON EDUCATION AND NEW LEARNING TECHNOLOGIES, 2012, : 6634 - 6642