Please enable JavaScript to use CodeHS

AP Computer Science A (Cortado)

Magpie Lab

Students learn how to use String methods and pattern matching to create a chatbot that they can have a conversation with.

Students can complete this assignment after finishing Unit 3: Class Creation in Cortado, Unit 5: Writing Classes in AP CS A (Nitro) and Unit 4: Classes and Objects in AP CS A (Mocha).

Lessons

15.1 Magpie Lab

  • Magpie Student Guide
  • Activity 1: Chatbots
  • Activity 2: Introduction to Magpie
  • Activity 2: Modifying Magpie
  • Activity 2: Questions
  • +2 more

Courses that include this module