Course Description
Programming languages, variables and data types, sequence, selection and iteration, functions, data structures, files, testing and debugging, ending in a small project.
Course Objectives
To introduce programming concepts and the ability to design, write, test and debug simple programs in Python.
Key Topics
- LO1: Understand programming languages and basic syntax.
- LO2: Understand basics of programming.
- LO3: Be able to write a basic computer program.
- LO4: Understand basic data structures.
- LO5: Be able to test and debug a program.
Course Outline
Learning Outcomes
- LO1 Understand programming languages and basic syntax.
- 1.1 Differentiate between high-level and low-level languages.
- 1.2 Write and run a simple Python script.
- LO2 Understand basics of programming.
- 2.1 Use variables, data types and constants.
- 2.2 Implement sequence, selection, and iteration structures.
- LO3 Be able to write a basic computer program.
- 3.1 Define and call functions to modularise code.
- 3.2 Handle user input and output effectively.
- LO4 Understand basic data structures.
- 4.1 Use lists, tuples and dictionaries.
- 4.2 Iterate over data structures to solve a problem.
- LO5 Be able to test and debug a program.
- 5.1 Identify and fix syntax and logic errors.
- 5.2 Use print statements/debugger to trace a program.