Python Computer Science
Beginner
40 mins
Teacher/Student led
+105 XP
What you need:
Chromebook/Laptop/PC

What is Computer Science?

In this lesson, you will explore what computer science is, why it is important, and how it impacts the world around us. You will also get hands-on experience with a simple Python coding demonstration.
Learning Goals Learning Outcomes Teacher Notes

Live Class Feed

This is a live feed of the latest activity by your students on this lesson. It will update in real-time as they work on the lesson.
Load previous activity

    1 - What is Computer Science All About?

    Welcome to your first lesson in Computer Science. This subject studies computers and computational systems, focusing on how they process information and solve problems through algorithms—step-by-step instructions that computers follow. It underpins technologies you use daily, such as smartphone apps, online banking, and navigation systems.

    Computer Science extends beyond programming to include designing efficient solutions, managing data, and understanding hardware. It’s a field that drives innovation across industries, and in this lesson, you’ll begin exploring it by writing a simple program.


    2 - Exploring Key Areas and Careers in CS

    Computer Science is a broad discipline with several key areas, each offering distinct career opportunities. Here are some core fields:

    • Programming: Writing code to create software, websites, or games—like the coding you’ll do today.
    • Data Science: Analysing data to uncover trends, used in fields like weather forecasting or marketing.
    • Cybersecurity: Protecting systems from threats, critical for businesses and governments.
    • Artificial Intelligence (AI): Developing systems that mimic human thinking, such as chatbots or autonomous vehicles.
    • Networking: Building and maintaining communication systems, like the internet or corporate networks.

    Career paths include software developers who build applications, cybersecurity analysts who safeguard data, AI researchers who advance technology, and network engineers who connect the world. These roles shape the future, and this course is your starting point.


    3 - Meeting the Microbit—Your Coding Buddy

    The microbit is a compact programmable device used in this course to learn Computer Science concepts. It features a 5x5 LED grid for displaying text or patterns, two buttons (A and B) for input, and sensors to detect motion or temperature. You’ll program it to perform tasks, starting with displaying a message. If you have a physical microbit, examine its components. If not, you’ll use an online simulator. This tool bridges code and hardware, giving you practical experience in how computers execute instructions.


    4 - Starting Up the Microbit Python Editor

    To begin coding, open a web browser and navigate to python.microbit.org/v/3. This is the microbit Python editor, an online platform for writing and testing Python code.

    The left side provides a text area for coding, while the right side displays a simulator mimicking a microbit. Below the simulator, locate the “Run” button to execute code and the “Send to microbit” button to transfer it to a physical device. Spend a moment exploring the interface—find the “Run” button and observe the blank simulator—before proceeding.


    5 - Coding “Hello, World!”—Your First Program

    You’ll now write your first program to display “Hello, World!” on the microbit. Enter the following code into the editor:

    from microbit import *
    display.scroll("Hello, World!")

    Click “Run” to test it. The simulator’s LED grid will scroll “Hello, World!” across its 5x5 display, as it’s too small to show the full message at once. If you have a microbit connected via USB, click “Send to microbit,” download the file as prompted, and drag it to the device to see it in action. This demonstrates how code controls hardware—a fundamental aspect of Computer Science.

    Success! You’ve just programmed a device to follow your instructions.

    Unlock the Full Learning Experience

    Get ready to embark on an incredible learning journey! Get access to this lesson and hundreds more in our Digital Skills Curriculum.

    Copyright Notice
    This lesson is copyright of Coding Ireland. Unauthorised use, copying or distribution is not allowed.
    🍪 Our website uses cookies to make your browsing experience better. By using our website you agree to our use of cookies. Learn more