MA117-10 Programming for Scientists
Introductory description
Aspects of software specification, design, implementation and testing will be introduced in the context of the Python language. The description of basic elements of Python will include data types, expressions, program flow, recursion, functions, exception handling, object orientation, and unit tests. This enables the development of software that performs computations in a wide variety of contexts. The importance of Python in data science and machine learning will be described. The majority of examples will be standard applications.
Module aims
To provide an understanding of the process of scientific software development and an appreciation of the importance of data vetting, sound algorithms and informative presentation of results.
Outline syllabus
This is an indicative module outline only to give an indication of the sort of topics that may be covered. Actual sessions held may differ.
Aspects of software specification, design, implementation and testing will be introduced in the context of the Python language. The description of basic elements of Python will include data types, expressions, program flow, recursion, functions, exception handling, object orientation, and unit tests. This enables the development of software that performs computations in a wide variety of contexts. The importance of Python in data science and machine learning will be described. The majority of examples will be standard applications.
Learning outcomes
By the end of the module, students should be able to:
- understand the programming process, from the definition of the problem and the design of a solution at an abstract level, to the coding itself with an integrated approach to testing for correctness,
- develop programs in a high-level programming language using the imperative paradigm,
- structure complex software using principles of encapsulation and abstraction in the object-oriented programming abstractions,
- apply informal reasoning techniques to justify the correctness of methods and programs, and justify desired properties such as termination.
Indicative reading list
Reading lists can be found in Talis
Subject specific skills
Experience with the Python programming language, Understanding of Data Types, Iterative Statements, Conditional Statements, Imperative Programming, Object Oriented Programming, Inheritance, Error Handling. Learning to thinking programmatically and algorithmically and how to take a specification and turn it into a plan for a program.
Transferable skills
Students will acquire key programming and computer skills which will empower them to address software development and new computer languages with confidence.
Study time
| Type | Required |
|---|---|
| Lectures | 10 sessions of 1 hour (10%) |
| Tutorials | 9 sessions of 2 hours (18%) |
| Online learning (independent) | (0%) |
| Private study | 72 hours (72%) |
| Total | 100 hours |
Private study description
Lab sessions, review lectured material and work on set exercises.
Costs
No further costs have been identified for this module.
You do not need to pass all assessment components to pass the module.
Assessment group C
| Weighting | Study time | Eligible for self-certification | |
|---|---|---|---|
| Programming Assignments | 50% | No | |
|
Several programming assignments throughout the term |
|||
| Centrally-timetabled exam | 50% | No | |
Assessment group R1
| Weighting | Study time | Eligible for self-certification | |
|---|---|---|---|
| Centrally-timetabled examination (on-campus) | 100% | No |
Feedback on assessment
Marked homework (both assessed and formative) is returned and discussed in smaller classes.
Courses
This module is Optional for:
- Year 1 of USTA-G300 Undergraduate Master of Mathematics,Operational Research,Statistics and Economics
- Year 1 of USTA-G1G3 Undergraduate Mathematics and Statistics (BSc MMathStat)
- Year 1 of USTA-GG14 Undergraduate Mathematics and Statistics (BSc)
- Year 1 of USTA-Y602 Undergraduate Mathematics,Operational Research,Statistics and Economics
This module is Option list A for:
- Year 2 of USTA-G1G3 Undergraduate Mathematics and Statistics (BSc MMathStat)
- Year 2 of USTA-GG14 Undergraduate Mathematics and Statistics (BSc)
This module is Option list B for:
-
UMAA-G105 Undergraduate Master of Mathematics (with Intercalated Year)
- Year 1 of G105 Mathematics (MMath) with Intercalated Year
- Year 2 of G105 Mathematics (MMath) with Intercalated Year
-
UMAA-G100 Undergraduate Mathematics (BSc)
- Year 1 of G100 Mathematics
- Year 2 of G100 Mathematics
-
UMAA-G103 Undergraduate Mathematics (MMath)
- Year 1 of G100 Mathematics
- Year 1 of G103 Mathematics (MMath)
- Year 2 of G100 Mathematics
- Year 2 of G103 Mathematics (MMath)
-
UMAA-G106 Undergraduate Mathematics (MMath) with Study in Europe
- Year 1 of G106 Mathematics (MMath) with Study in Europe
- Year 2 of G106 Mathematics (MMath) with Study in Europe
-
UMAA-G1NC Undergraduate Mathematics and Business Studies
- Year 1 of G1NC Mathematics and Business Studies
- Year 2 of G1NC Mathematics and Business Studies
-
UMAA-G1N2 Undergraduate Mathematics and Business Studies (with Intercalated Year)
- Year 1 of G1N2 Mathematics and Business Studies (Intercalated yr)
- Year 2 of G1N2 Mathematics and Business Studies (Intercalated yr)
-
UMAA-GL11 Undergraduate Mathematics and Economics
- Year 1 of GL11 Mathematics and Economics
- Year 2 of GL11 Mathematics and Economics
-
UECA-GL12 Undergraduate Mathematics and Economics (with Intercalated Year)
- Year 1 of GL12 Mathematics and Economics (with intercalated year)
- Year 2 of GL12 Mathematics and Economics (with intercalated year)
-
UMAA-G101 Undergraduate Mathematics with Intercalated Year
- Year 1 of G101 Mathematics with Intercalated Year
- Year 2 of G101 Mathematics with Intercalated Year
This module is Option list C for:
- Year 2 of USTA-G300 Undergraduate Master of Mathematics,Operational Research,Statistics and Economics
- Year 1 of UMAA-GV17 Undergraduate Mathematics and Philosophy
- Year 2 of USTA-Y602 Undergraduate Mathematics,Operational Research,Statistics and Economics