Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
10.1145/3641555.3705251acmconferencesArticle/Chapter ViewAbstractPublication PagessigcseConference Proceedingsconference-collections
poster
Free access

Snapgram: Matrix Multiplications Made Fun

Published: 18 February 2025 Publication History

Abstract

This paper presents Snapgram, an innovative assignment for teaching matrix multiplications in the context of a Parallel Computing course. Designed for fourth-year undergraduate at the University of California, Davis, this assignment transforms the typically mundane task of matrix multiplication into an engaging exercise by framing it as a simple recommender system for a fictional social media application. Students implement two key operations: multiplying a matrix by itself and selecting the highest values in each row of the resulting matrix. These operations are adaptable to various parallel programming paradigms, including shared-memory (pthreads, OpenMP), distributed-memory (MPI), and GPU programming (CUDA). By contextualizing matrix multiplications within a practical, relatable scenario, Snapgram significantly enhances student engagement and learning outcomes. Instructors are typically encouraged to provide scaffolding code for I/O operations, allowing students to focus on implementing the core algorithms.
This paper discusses the motivation behind the creation of Snapgram, provides a detailed description of the assignment, analyzes its strengths and weaknesses, and presents student feedback. Our findings suggest that Snapgram successfully bridges the gap between theoretical concepts and practical applications in parallel computing education, leading to improved student satisfaction compared to traditional matrix multiplication assignments. The assignment material can be found at https://gitlab.com/lupteach/shared/snapgram.

References

[1]
Nick Parlante, Julie Zelenski, Eric S. Roberts, Jed Rembold, Ben Stephenson, Jonathan Hudson, Stephanie Valentine, Juliette Woodrow, Kathleen Creel, Nick Bowman, Larry "Joshua" Crotts, Andrew Matzureff, and Mike Izbicki. 2022. Nifty Assignments. In Proceedings of the 53rd ACM Technical Symposium on Computer Science Education V. 2 (Providence, RI, USA)(SIGCSE 2022). Association for Computing Machinery, New York, NY, USA,1067--1068. https://doi.org/10.1145/3478432.3499268
[2]
Sushil K. Prasad, Charles C. Weems, John P. Dougherty, and Debzani Deb. 2018. NSF/IEEE-TCPP Curriculum Initiative on Parallel and Distributed Computing: Status Report. In Proceedings of the 49th ACM Technical Symposium on Computer Science Education (Baltimore, Maryland, USA)(SIGCSE '18). Association for Computing Machinery, New York, NY, USA,134--135. https://doi.org/10.1145/3159450.3159632
[3]
Paul Resnick and Hal RVarian. 1997. Recommender systems. Commun. ACM, Vol. 40, 3 (1997), 56--58.

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Conferences
SIGCSETS 2025: Proceedings of the 56th ACM Technical Symposium on Computer Science Education V. 2
February 2025
493 pages
ISBN:9798400705328
DOI:10.1145/3641555
Permission to make digital or hard copies of part or all of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for third-party components of this work must be honored. For all other uses, contact the Owner/Author.

Sponsors

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 18 February 2025

Check for updates

Author Tags

  1. assessment
  2. parallel computing
  3. undergraduate education

Qualifiers

  • Poster

Conference

SIGCSE TS 2025
Sponsor:

Acceptance Rates

Overall Acceptance Rate 1,787 of 5,146 submissions, 35%

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • 0
    Total Citations
  • 143
    Total Downloads
  • Downloads (Last 12 months)143
  • Downloads (Last 6 weeks)143
Reflects downloads up to 01 Mar 2025

Other Metrics

Citations

View Options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Login options

Figures

Tables

Media

Share

Share

Share this Publication link

Share on social media