Skip to main content

Assistant Teaching System for Computer Hardware Courses Based on Large Language Model

  • Conference paper
  • First Online:
Computer Science and Education. Computer Science and Technology (ICCSE 2023)

Part of the book series: Communications in Computer and Information Science ((CCIS,volume 2023))

Included in the following conference series:

  • 215 Accesses

Abstract

Recently, Large Language Models (LLMs), represented by ch1ChatGPT, have garnered significant attention in the field of education due to its impressive capabilities in text generation, comprehension, logical reasoning, and conversational abilities. We incorporate LLMs into the theoretical and experiment teaching of our Digital Logic and Computer Organization courses to enhance the teaching process. Specifically, we propose and implement an assistant teaching system consisting of a knowledge-based Question and Answer (Q &A) system and an assistant debugging and checking system. For the theoretical teaching session, the Q &A system utilizes historical Q &A records and ChatGPT to answer students’ questions. This system reduces the repetitive workload for teachers by answering similar questions, and allows students to receive answers in time. For the Field-Programmable Gate Array (FPGA)-based experiment teaching session, the assistant debugging and checking system employ debug assistance module to explain error messages for students. Furthermore, a LLM-generated code checking module assists teachers in detecting academic misconduct among students’ code submissions.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 79.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 99.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Wang, L., Huang, R.: A comprehensive experiment scheme for computer science and technology. In: Proceedings of the International Conference on Frontiers in Education: Computer Science and Computer Engineering (FECS), p. 1. The Steering Committee of The World Congress in Computer Science, Computer(2012)

    Google Scholar 

  2. Thomas, D., Moorby, P.: The Verilog® Hardware Description Language. Springer, Heidelberg (2008). https://doi.org/10.1007/978-0-387-85344-4

  3. Berg, M., Poivey, C., Petrick, D., Espinosa, D., Lesea, A., LaBel, K.A., Friendlich, M., Kim, H., Phan, A.: Effectiveness of internal versus external seu scrubbing mitigation strategies in a xilinx fpga: Design, test, and analysis. IEEE Trans. Nucl. Sci. 55(4), 2259–2266 (2008)

    Article  Google Scholar 

  4. Lu, S., Li, G., Wang, Y.: CPU design for computer integrated experiment. In: Proceedings of the International Conference on Frontiers in Education: Computer Science and Computer Engineering (FECS), p. 1. The Steering Committee of The World Congress in Computer Science, Computer (2012)

    Google Scholar 

  5. Wang, L., Zhou, H., Zhang, D.: Automatic testing scheme of hardware description language programs for practice teaching. In: 2017 12th International Conference on Computer Science and Education (ICCSE), pp. 659–662. IEEE (2017)

    Google Scholar 

  6. Wang, L., Ruan, J., Zhang, D.: MIPS CPU test system for practice teaching. In: 2017 12th International Conference on Computer Science and Education (ICCSE), pp. 663–666. IEEE (2017)

    Google Scholar 

  7. Feist, T.: Vivado design suite. White Paper 5, 30 (2012)

    Google Scholar 

  8. Ha, J., Jeong, H.: Modelsim simulation for real-time stereo matching using DP algorithm. In: 2012 International Conference for Internet Technology and Secured Transactions, pp. 244–248. IEEE (2012)

    Google Scholar 

  9. Chatgpt: Optimizing language models for dialogue. https://chat.openai.com/

  10. Du, Z., et al.: GLM: general language model pretraining with autoregressive blank infilling. arXiv preprint arXiv:2103.10360 (2021)

  11. Touvron, H., et al.: Llama: open and efficient foundation language models. arXiv preprint arXiv:2302.13971 (2023)

  12. Baladn, A., Sastre, I., Chiruzzo, L., Ros, A.: Retuyt-inco at bea 2023 shared task: tuning open-source llms for generating teacher responses. In: Proceedings of the 18th Workshop on Innovative Use of NLP for Building Educational Applications (BEA 2023), pp. 756–765 (2023)

    Google Scholar 

  13. Dan, Y., et al.: Educhat: a large-scale language model-based chatbot system for intelligent education. arXiv preprint arXiv:2308.02773 (2023)

  14. Leinonen, J., Hellas, A., Sarsa, S., Reeves, B., Denny, P., Prather, J., Becker, B.A.: Using large language models to enhance programming error messages. In: Proceedings of the 54th ACM Technical Symposium on Computer Science Education, vol. 1, pp. 563–569 (2023)

    Google Scholar 

  15. Taylor, A., Vassar, A., Renzella, J., Pearce, H.: Integrating large language models into the debugging c compiler for generating contextual error explanations. arXiv preprint arXiv:2308.11873 (2023)

  16. Devlin, J., Chang, M.W., Lee, K., Toutanova, K.: Bert: pre-training of deep bidirectional transformers for language understanding. arXiv preprint arXiv:1810.04805 (2018)

  17. Brown, T., et al.: Language models are few-shot learners. Adv. Neural. Inf. Process. Syst. 33, 1877–1901 (2020)

    Google Scholar 

  18. Gpt-4 technical report. https://cdn.openai.com/papers/gpt-4.pdf

  19. Claude 2. https://www.anthropic.com/index/claude-2

  20. Li, Y., Li, Z., Zhang, K., Dan, R., Jiang, S., Zhang, Y.: Chatdoctor: a medical chat model fine-tuned on a large language model meta-ai (llama) using medical domain knowledge. Cureus 15(6) (2023)

    Google Scholar 

  21. Cui, J., Li, Z., Yan, Y., Chen, B., Yuan, L.: Chatlaw: open-source legal large language model with integrated external knowledge bases. arXiv preprint arXiv:2306.16092 (2023)

  22. Ma, X., Zhu, Q., Zhou, Y., Li, X.: Improving question generation with sentence-level semantic matching and answer position inferring. In: Proceedings of the AAAI Conference on Artificial Intelligence, vol. 34, pp. 8464–8471 (2020)

    Google Scholar 

  23. Reimers, N., Gurevych, I.: Sentence-bert: sentence embeddings using siamese bert-networks. arXiv preprint arXiv:1908.10084 (2019)

  24. Muennighoff, N.: SGPT: GPT sentence embeddings for semantic search. arXiv preprint arXiv:2202.08904 (2022)

  25. A system for detecting software similarity. http://theory.stanford.edu/~aiken/moss/

  26. Vector database built for scalable similarity search. https://milvus.io/

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Dongdong Zhang .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2024 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Zhang, D., Cao, Q., Guo, Y., Wang, L. (2024). Assistant Teaching System for Computer Hardware Courses Based on Large Language Model. In: Hong, W., Kanaparan, G. (eds) Computer Science and Education. Computer Science and Technology. ICCSE 2023. Communications in Computer and Information Science, vol 2023. Springer, Singapore. https://doi.org/10.1007/978-981-97-0730-0_27

Download citation

  • DOI: https://doi.org/10.1007/978-981-97-0730-0_27

  • Published:

  • Publisher Name: Springer, Singapore

  • Print ISBN: 978-981-97-0729-4

  • Online ISBN: 978-981-97-0730-0

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics