F27SP - Introduction to Programming 1

To be announced

Course leader(s):

Aims

This course is introduces computer programming language fundamentals suitable for a data scientist using a relevant programming language, e.g., python.

Syllabus

1. Introduction to computer science, algorithms, computer architecture and operating system

2. Concepts of variables, data types, assignments, arithmetic operators, expressions

3. Conditions, boolean logic, logical operators, ranges

4. Control statements: if/else, loops (for, while)

5. String manipulation: indexing, subscript operator, slicing, concatenating, converting strings to numbers and vice versa

6. Running, Sharing, Reading, commenting and documenting programmes

7. Functions: reducing redundancy and complexity; formal/actual arguments, named argument; program structure and design; recursive functions

8. Sequences: Lists, tuples, byte sequences, byte arrays; iteration; basic list operators, replacing, inserting, removing, searching items

9. Manipulating files; text files: reading/writing; formatted text files (9.1 os and sys modules)

Learning outcomes

By the end of the course, students should be able to do the following:

Further details

Curriculum explorer: Click here

SCQF Level: 7

Credits: 15