首页> 外文会议>International Conference on High Performance Computing, Data and Analytics Workshop >Visually Introducing Freshmen to Low-Level Java Abstractions for Creating, Synchronizing and Coordinating Threads
【24h】

Visually Introducing Freshmen to Low-Level Java Abstractions for Creating, Synchronizing and Coordinating Threads

机译:在视觉上向新生介绍用于创建,同步和协调线程的低级Java抽象

获取原文

摘要

We have developed and experimented with an approach to teach low-level Java concurrency abstractions in our first required course for CS majors, which assumes knowledge of procedural programming. The driving problems are visualized simulations of multiple physical objects in motion that may (a) be confined to a shared space and (b) coordinate with each other. Such simulations do not require any domain-specific knowledge such as sorting and image processing for driving problems and exercises, and their implementation demonstrates the benefits of object-based programming. They allow focus on both the performance and programmability benefits of concurrency, provide analogies for an abstraction-independent explanation of concurrency concepts, and can be used to incrementally motivate all low-level concurrency abstractions and visualize the effect of using and not using these abstractions. Layered simulation-based worked examples illustrating the abstractions were presented and easily understood in multiple offerings of a course that implemented this approach. Students implemented non-trivial assignments based on these abstractions, even when they were optional, did not face major obstacles because of visual error feedback, and were excited by concurrency as they felt it empowered them to implement arbitrary applications early.
机译:我们在CS专业的第一门必修课程中开发并尝试了一种方法来教授低级Java并发抽象,该方法假定您具有过程编程知识。驾驶问题是对运动中的多个物理对象的可视化仿真,这些仿真对象可能(a)限于一个共享空间,并且(b)彼此协调。这样的模拟不需要任何特定领域的知识,例如用于驾驶问题和练习的分类和图像处理,并且它们的实现证明了基于对象的编程的好处。它们允许同时关注并发的性能和可编程性好处,为并发概念的独立于抽象的解释提供类比,并可用于逐步激发所有低级并发抽象,并可视化使用和不使用这些抽象的效果。在实现该方法的一门课程的多种课程中,展示了基于抽象的基于工作的示例,这些示例说明了抽象,并且易于理解。学生基于这些抽象来实现非平凡的作业,即使它们是可选的,也不会因为视觉错误反馈而面临主要障碍,并且由于并发性而感到兴奋,因为他们感到这使他们能够尽早实施任意应用程序。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号