Coding a sentimental chatbot in Python
Incorporating 11 tutorial videos and two informative lecture videos, this learning sequence explores natural language processing, a significant application of artificial intelligence. Teachers and students are led through the coding in Python of a chatbot, a conversational program capable of responding in varied ways to user input, including with the use of smart sentiment analysis.
Additional details
Year band(s) | 7-8, 9-10 |
---|---|
Content type | Lesson ideas, Course or tutorial |
Format | Web page |
Core and overarching concepts | Specification (decomposing problems), Computational thinking, Implementation (programming) |
Australian Curriculum Digital Technologies code(s) |
AC9TDI8P02
Analyse and visualise data using a range of software, including spreadsheets and databases, to draw conclusions and make predictions by identifying trends
AC9TDI8P04
Define and decompose real-world problems with design criteria and by creating user stories
AC9TDI8P07
Design the user experience of a digital system
AC9TDI8P08
Generate, modify, communicate and evaluate alternative designs
AC9TDI8P05
Design algorithms involving nested control structures and represent them using flowcharts and pseudocode
AC9TDI8P06
Trace algorithms to predict output for a given input and to identify errors
AC9TDI10P02
Analyse and visualise data interactively using a range of software, including spreadsheets and databases, to draw conclusions and make predictions by identifying trends and outliers
AC9TDI10P04
Define and decompose real-world problems with design criteria and by interviewing stakeholders to create user stories
AC9TDI10P07
Design and prototype the user experience of a digital system
AC9TDI10P10
Evaluate existing and student solutions against the design criteria, user stories, possible future impact and opportunities for enterprise
AC9TDI10P05
Design algorithms involving logical operators and represent them as flowcharts and pseudocode
AC9TDI10P09
Implement, modify and debug modular programs, applying selected algorithms and data structures, including in an object-oriented programming language |
Technologies & Programming Languageās | Artificial Intelligence |
Keywords | Programming, Coding, Data representation, Jason Vearing, Nathan Alison, Python, flowchart, variables, loops, Chatbot |
Organisation | ESA |
Copyright | Creative Commons Attribution 4.0, unless otherwise indicated. |
Related resources
-
Home automation: General purpose programming
Investigate home automation systems, including those powered by artificial intelligence (AI) with speech recognition capability.
-
ScratchEd
ScratchEd is an online community for Scratch educators.
-
Coding in the Classroom
Through this website, educators can explore and share resources and strategies to teach coding.
-
Code Club Australia
Code Club Australia provides project materials and student friendly step-by-step tutorials aligned with the Australian Digital Technologies Curriculum. This site allows teachers and club leaders to connect with a volunteering network that supports the running of in-school and after-school coding courses.
-
Khan Academy: Computer programming
Learn how to program using JavaScript and Processing JS, SQL, or how to create webpages with HTML CSS.
-
Coding bat
This site provides a range of exercises to practice coding and to build coding confidence in Java and Python.
-
code.org
Code.org provides courses for F-12 year levels to increase knowledge in computer science.
-
Computational Thinking – 6 learner guides + 10 class clips
This site offers a range of resources to help teach computational thinking and its components.