RISC-V is an open-source Instruction Set Architecture (ISA) designed to be simple, modular, and extensible, making it a versatile choice for a wide range of applications. It is, therefore, an excellent ISA option for teaching computer architectures and assembly programming, and indeed it is starting to be adopted by a range of textbooks on the topic. Given the middle-level nature of the language, it is usually challenging for students to test the correctness of their code and run their programs in practice. This high entry barrier often results in a difficult learning experience, reducing the effectiveness of the learning process. We here describe our experience in teaching computer architectures using Moodle. In addition to creating a vast amount of material in the form of classic self-evaluation quizzes, we have developed a pipeline to simplify the preparation of programming exercises using the RISC-V language. Our pipeline allows instructors to prepare questions and unit tests to verify the questions. We have been using this environment at the University of Turin for two academic years, with more than 1000 students already using it for both self-study and exams. We describe our tools and initial experience using them. We contribute with our source code and a large database of questions open to the community as open source.

Experience Teaching RISC-V Assembly Programming with Moodle

Idilio Drago;Sergio Rabellino;Enrico Cassano;Saverio Accurso
2023-01-01

Abstract

RISC-V is an open-source Instruction Set Architecture (ISA) designed to be simple, modular, and extensible, making it a versatile choice for a wide range of applications. It is, therefore, an excellent ISA option for teaching computer architectures and assembly programming, and indeed it is starting to be adopted by a range of textbooks on the topic. Given the middle-level nature of the language, it is usually challenging for students to test the correctness of their code and run their programs in practice. This high entry barrier often results in a difficult learning experience, reducing the effectiveness of the learning process. We here describe our experience in teaching computer architectures using Moodle. In addition to creating a vast amount of material in the form of classic self-evaluation quizzes, we have developed a pipeline to simplify the preparation of programming exercises using the RISC-V language. Our pipeline allows instructors to prepare questions and unit tests to verify the questions. We have been using this environment at the University of Turin for two academic years, with more than 1000 students already using it for both self-study and exams. We describe our tools and initial experience using them. We contribute with our source code and a large database of questions open to the community as open source.
2023
Atti del MoodleMoot Italia 2023
MoodleMoot
1
9
978-88-907493-9-1
RISC-V, Moodle quiz, Code Runner, adaptive teaching, automated exams
Idilio Drago; Sergio Rabellino; Enrico Cassano; Saverio Accurso
File in questo prodotto:
File Dimensione Formato  
Pagine da MoodleMoot Italia 2023 - Atti del Convegno-30.pdf

Accesso aperto

Tipo di file: POSTPRINT (VERSIONE FINALE DELL’AUTORE)
Dimensione 892.75 kB
Formato Adobe PDF
892.75 kB Adobe PDF Visualizza/Apri

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/2318/2007512
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus ND
  • ???jsp.display-item.citation.isi??? ND
social impact