Teaching CS50 with AI - David J. Malan
A look at how CS50 has incorporated artificial intelligence (AI), including its new-and-improved rubber duck debugger, and how it has impacted the course already. 🦆
Paper at cs.harvard.edu/malan/publicat....
Slides at docs.google.com/presentation/....
In Summer 2023, we developed and integrated a suite of AI-based software tools into CS50 at Harvard University. These tools were initially available to approximately 70 summer students, then to thousands of students online, and finally to several hundred on campus during Fall 2023. Per the course's own policy, we encouraged students to use these course-specific tools and limited the use of commercial AI software such as ChatGPT, GitHub Copilot, and the new Bing. Our goal was to approximate a 1:1 teacher-to-student ratio through software, thereby equipping students with a pedagogically-minded subject-matter expert by their side at all times, designed to guide students toward solutions rather than offer them outright. The tools were received positively by students, who noted that they felt like they had "a personal tutor.'' Our findings suggest that integrating AI thoughtfully into educational settings enhances the learning experience by providing continuous, customized support and enabling human educators to address more complex pedagogical issues. In this paper, we detail how AI tools have augmented teaching and learning in CS50, specifically in explaining code snippets, improving code style, and accurately responding to curricular and administrative queries on the course's discussion forum. Additionally, we present our methodological approach, implementation details, and guidance for those considering using these tools or AI generally in education.
***
This is CS50, Harvard University's introduction to the intellectual enterprises of computer science and the art of programming.
***
HOW TO SUBSCRIBE
kzread.info_c...
HOW TO TAKE CS50
edX: cs50.edx.org/
Harvard Extension School: cs50.harvard.edu/extension
Harvard Summer School: cs50.harvard.edu/summer
OpenCourseWare: cs50.harvard.edu/x
HOW TO JOIN CS50 COMMUNITIES
Discord: / discord
Ed: cs50.edx.org/ed
Facebook Group: / cs50
Faceboook Page: / cs50
GitHub: github.com/cs50
Gitter: gitter.im/cs50/x
Instagram: / cs50
LinkedIn Group: / 7437240
LinkedIn Page: / cs50
Medium: / cs50
Quora: www.quora.com/topic/CS50
Reddit: / cs50
Slack: cs50.edx.org/slack
Snapchat: / cs50
SoundCloud: / cs50
Stack Exchange: cs50.stackexchange.com/
Telegram: t.me/cs50x
Threads: www.threads.net/@cs50
TikTok: / cs50
Twitter: / cs50
Twitter Community: / 1722308663522594923
KZread: / cs50
HOW TO FOLLOW DAVID J. MALAN
Facebook: / dmalan
GitHub: github.com/dmalan
Instagram: / davidjmalan
LinkedIn: / malan
Quora: www.quora.com/profile/David-J...
Threads: www.threads.net/@davidjmalan
TikTok: / davidjmalan
Twitter: / davidjmalan
***
CS50 SHOP
cs50.harvardshop.com/
***
LICENSE
CC BY-NC-SA 4.0
Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International Public License
creativecommons.org/licenses/...
David J. Malan
cs.harvard.edu/malan
malan@harvard.edu
Пікірлер: 68
This has to be one of the best teachers in the world.
@auleian
Ай бұрын
Actually all teachers of CS50 🥳🥳🥳
@Music-vl5uk
Ай бұрын
they are
@adammason1587
14 күн бұрын
Thats why he works where he works lol
I finally had a chance to watch this presentation in it's entirety and I'm grateful for it. Thank you David. Oh, and I also look forward to watching the Duck Debugger evolve.
I really enjoy asking the AI general questions to get a better grasp on the more confusing concepts!
it’s actually wonderful. totally changed how i think about learning
Impressive, thank you all cs50 Prof, staff and community. You are awesome
Thank you for the awesome content!! Love you guys!!
thank you very much David!
Genius! the ideia of Rubberduck amulet is great.
Amazing idea!!!
I find that a chatbot is not too helpful per se, but simply going through a session of questions and consideration of the veracity of the answers from a chatbot, prompts my thinking about a problem.
OMG GOOD JOB !!!
Thaks for opportunity!
Great video. I liked the idea of design50. I offen ask the rubber duck AI in order to improve the design. It is great help in the course and it improves learning by a lot at least for me. It is unbelievable how awesome the cs50 is. You at cs50 are doing great job.
David é daora. Ele consegue fazer de CS algo entendível. So glad and looking forward to make CS50w soon.
Nice! 😀👍
Great pedagogy
Nice one
Best teacher ever,
Five point seven million are going to Harvard for free thanks to this man. I have been visiting this course since 2013. Still no certificate. If you cheat you have not understood the lesson. I will soldier on.
Dear Mr.Malan, Kindly, can you give the Gpt lecture of Prof. Rongxin Liu as text. :) Thanks !
This is really exciting, but I can't find the VSCode extension with AI? Is there a way to get the working version that is demonstrated here? I would be happy to plug in my API key.
🖤
I also just talk to it, its nice...
❤
Me wondering why is the profile photos of CS50's social media account a cat instead of a duck?!
@elmoteroloco
22 күн бұрын
I suppose that if you attend Lecture 2 of CS50's.Py (which is about Loops) you will have an entertaining epiphany about your question.
Hi, what is after CS50?
I cannot believe this isn't called QuackGPT
Where do i access this full course from ?
@thisiszubayer
Ай бұрын
just follow the link shown in the video in the beginning
@elmoteroloco
22 күн бұрын
There are two ways, In-Person and Virtual, the first is obviously on campus, while the second can be accessed from the EdX website (you find the link in the video description) where the different CS50 courses are.
45:26 omg he's talking about me
I remember when you claimed that use of AI in our studies was actively prohibited.... I tried discussing the idea that it's a useful tool which will be used in the industry, and comments were abruptly closed to avoid that discussion - with mention made specifically about my comment... Nice to know I was right all along :)
Givin' a cuack!
le epic
Duck should be written in plain language.
Why is it called cs50 and not cs60 cs70 what does 50 stNd for
@elmoteroloco
22 күн бұрын
5 because course’s penultimate digit signifies its “course grouping” per the Harvard College Handbook for Students (where 5 go for Programming Languages) and in CS, courses numbered < 100 are primarily for undergraduates
@SjarMenace
8 күн бұрын
@@elmoteroloco can someone fact check this please
@elmoteroloco
7 күн бұрын
@@SjarMenace David Malan himself, is his answer on Quora
In your very first example at 22:55, your AI is already serving up lies and nonsense. It's not actually true that Flask "does not require particular tools or libraries" - the Flask docs tell you in the second paragraph that it relies on Werkzeug, Jinja and other libraries.
@Atomy111
29 күн бұрын
Yes, llms hallucinate, yes you need to use common sense when using them but nontheless they are a great asset
I found frustrating that copilot and others dont let you reason
wrong! we are not 600-800 students, we are over 1 000 000
Hi
Should teach how to use the AI in the most effective way, where and why to use it and not use it. Rather than just stop people asking questions at a number of questions that just seems too much.
@harshchauhan20
Ай бұрын
Business though comes in way
@Ph34rNoB33r
28 күн бұрын
I have a few issues with that suggestion. First, this is the CS50 rubber duck AI, if you learn how to use that, might not be too useful on a different one. Second, people still have to be able to do things without AI, since they still have to figure out whether the AI is telling them BS. AI can support, but you shouldn't completely outsource thinking. Third, CS50 tends to focus on fundamentals that don't change over time, while for AIs, the recommendations change all the time. For example, for the first available ChatGPT, people suggested short prompts crammed with information. Current models with their larger context window do way better if you talk as naturally as possible.
Hello
Hey
I want to study in your college
is it possible to speak in a bit more calm manner? Not sure if its just me but listening to you speak i see its very fast and also very high energy output as if you’re shouting all the time. Thanks for the video.
@aigleimperial
15 күн бұрын
You are free to make the video at a slower speed . I use this way many times.
Ola
AI made it clear that python is the only language which can run!! 😄
do not try 2x speed
David J. Malan, did you think a "pre-trained expert system" better than a teacher? something wrong here!!!
He’s talking much too fast it’s disturbing.
@CYZ-ni7ng
22 күн бұрын
agree
@michaelwtreww
14 күн бұрын
no,not fast at all
Why didn't i find out about this at the beginning of the semester 🥲
Hi
@mbici6969
Ай бұрын
Hi
@1mazen1o
Ай бұрын
@@mbici6969 Hi
@menprogemink
Ай бұрын
@@mbici6969 Hi