Artificial intelligence (AI) has become increasingly influential in computer science (CS) education, where it holds potential for automating feedback and personalized learning. AI tools have been shown to increase equitability within CS, a notoriously male-dominated field, as well as increase the programming self-efficacy of female students – which is tied to programming success. This chapter will present a summary of how students learn to code, studies explaining how AI can be used to help students understand code, as well as provide prompt feedback for students coding in real-time. A history of the development of AI and its increasing accuracy is provided. To assess the impact of generative AI for assisting students in explaining code, the authors present data from a recent study examining the effectiveness of using AI to provide code explanations for novice programmers. The authors also provide some prompt engineering suggestions for educators to help their students increase the accuracy of the results from AI queries.
While the rise of large language models (LLMs) has created rich new opportunities to learn about digital technology, many on the margins of this technology struggle to gain and maintain competency due to lexical or conceptual barriers that prevent them from asking appropriate questions. Although there have been many efforts to understand factuality of LLM-created content and ability of LLMs to answer questions, it is not well understood how unclear or nonstandard language queries affect the model outputs. We propose the creation of a dataset that captures questions of digital newcomers and outsiders, utilizing data we have compiled from a decade's worth of one-on-one tutoring. In this paper we lay out our planned efforts and some potential uses of this dataset.