Programming Basics with Python
Wed 15 Jan 2025 10:00 AM - 2:30 PM
The Bridge, Dumfries, DG2 9AW
Description
Summary
Programming is the process of creating instructions for a computer to follow. It allows you to build anything from simple games to complex software applications. Today, we'll explore the basics of a popular general programming language: Python.
Eligibility
You need to be a Dumfries and Galloway region resident at the age of 19 and above, the caveat to that is that you're a school leaver with no positive destination in mind.
Pre-Requisite
This course is designed for beginners with no prior programming experience.
Course Duration
One Day (10am – 2:30pm) with a 30-minute lunch break.
Course Objectives
- Gain a foundational understanding of programming concepts.
- Learn the basic syntax and structure of the Python languages.
- Write simple programs using conditional statements, loops, and functions.
Outline
Introduction to Python (1 hour)
- Basic Python syntax and structure (variables, data types, operators)
- Printing output and user input (print, input)
- Running Python programs (using IDLE or online interpreters)
Control Flow Statements in Python (1 hour)
- Conditional statements (if-else, elif)
- Looping constructs (while, for)
- Using break and continue statements
- Controlling program flow using decision making
Functions in C and Python (1 hour)
- Defining and calling functions
- Passing arguments and returning values
- Modular programming using functions
- Understanding function scope
Hands-on Lab 2 (1 hour)
- Write simple Python programs using control flow statements
- Practice with functions, user input, and string manipulation
Course Wrap-up (30 min)
- Q&A and Discussion
- Introduction to further learning resources
- Course Feedback
Note: This is a flexible outline and may be adjusted depending on the participants' pace. Focus on core concepts and basic syntax instead of in-depth language features. Hands-on labs are essential for solidifying learning. Consider using online interpreters for Python if compiling environments are unavailable.
Location
The Bridge, Dumfries, DG2 9AW