WK6: Programming Workshop (Session 2)

Welcome to Week 6 (2)
 Programming Workshop
Module Lecturer: Dr Raghav Kovvuri
Email: raghav.kovvuri@ieg.ac.uk

1 / 5
next
Slide 1: Slide
ProgrammingHigher Education (degree)

This lesson contains 5 slide, with text slide.

Items in this lesson

Welcome to Week 6 (2)
 Programming Workshop
Module Lecturer: Dr Raghav Kovvuri
Email: raghav.kovvuri@ieg.ac.uk

Slide 1 - Slide

Introduction
Scenario - Smart City Traffic Light System
  • Develop a simple traffic light system for a smart city intersection:
  • Manage traffic flow at a four-way intersection
  • Implement different states (Red, Yellow, Green)
  • Consider pedestrian crossings
  • Optional: Implement emergency vehicle priority

Slide 2 - Slide

Tasks
  • Design an algorithm for the traffic light system
  • Create a flowchart based on your algorithm
  • Implement the traffic light system based on your algorithm and flowchart (Download Trafficlight.py for starter code)
  • Write a brief README file explaining your traffic light system
  • Create a Git repository and push your work
  • Submit the Git repository at Canvas discussion section

Slide 3 - Slide

 Wrap-up and Discussion
  • What did you learn from this workshop?
  • How does this relate to your final assessment?
  • Any challenges?

Slide 4 - Slide

Slide 5 - Slide