Skip to main content

RaspberryPiFoundation: Teach teens computing: Object-oriented Programming in Python

Learn object-oriented programming principles by creating your own text-based adventure game in Python.

Teach teens computing: Object-oriented Programming in Python
4 weeks
2–4 hours per week
Self-paced
Progress at your own speed
Free
Optional upgrade available

There is one session available:

After a course session ends, it will be archivedOpens in a new tab.
Starts Apr 26
Ends Sep 5

About this course

Skip About this course

Object-oriented programming is a programming paradigm based on objects and data rather than actions and logic.

This online course will introduce you to the principles of object-oriented programming in Python, showing you how to create objects, functions, methods, and classes.

You'll use what you learn to create your own text-based adventure game. You will have the chance to share your code with other learners, and see theirs.

If you're an educator, you'll also be able to develop ideas for using object-oriented programming in your classroom.

At a glance

  • Language: English
  • Video Transcript: English
  • Associated skills:Object-Oriented Programming (OOP), Python (Programming Language)

What you'll learn

Skip What you'll learn

Over the following four weeks, you will:

  • Explore using objects in programming, and understand the difference between a function and an object.
  • Develop your understanding of how writing your own class allows you to combine functions and data.
  • Demonstrate extending other people's classes, including inheritance and polymorphism.
  • Produce a module to apply your learning of object oriented programming.
  • Collaborate by sharing your code with other people.

You will cover:

  • Introduce the principles of object-oriented programming in Python.
  • Understand the difference between a function and an object.
  • Create objects, functions, methods, and classes.
  • Write a text-based adventure game.
  • Extending other people's classes, including inheritance and polymorphism.
  • Share your code with other learners, and see theirs.
  • Develop ideas for using object-oriented programming in the classroom.

Frequently Asked Questions

Skip Frequently Asked Questions

Who is this course for?

This course is designed for people who are already familiar with Python programming and want to learn a different programming paradigm, understand and use existing libraries more effectively, or create code which is useful to other people.

It will be particularly useful for educators and students of a post-16 qualification.

Interested in this course for your business or team?

Train your employees in the most in-demand topics, with edX For Business.