CS118-15 Programming for Computer Scientists
This module is a first course in computer programming.
The principal aim of this module is to introduce students to problem solving and structured and object oriented programming.
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.
Fundamentals of programming
Introduction to programming: Programming paradigms; From Specification through Algorithms to Implementation; Program compilation and testing.
Building Elements: Preconditions and postconditions; Basic data types; Variables, identifiers and scope.
Control structures: Conditionals; Case statements and loops; Correctness issues when programming with loops.
Methods: Comparison between iteration and recursion.
Object oriented programming
Programming with objects and classes: Complex data types; Parameter passing by reference and by value; Encapsulation.
Arrays and strings
Class inheritance: Dynamic binding; Multiple inheritance; Interfaces and abstract classes.
Design, construction and testing
Methods of testing
By the end of the module, students should be able to:
- 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.
- Student should be able to develop programs in a high-level programming language using the imperative paradigm.
- Students should be able to structure complex software using principles of encapsulation and abstraction in the object-oriented programming abstractions.
- Students should be able to apply informal reasoning techniques to justify the correctness of methods and programs, and justify desired properties such as termination.
- Students should be able to use different strategies for testing programs and managing run-time errors using exception handling.
Indicative reading list
Please see Talis Aspire link for most up to date list.
Subject specific skills
Experience with the Java programming language
Understanding of Data Types
Object Oriented Programming
Passing by value vs passing by reference.
Learning to thinking programatically and algorithmically and how to take a specification and turn it into a plan for a program.
Communication skills (verbal)
|Lectures||20 sessions of 1 hour (13%)|
|Practical classes||10 sessions of 1 hour (7%)|
|Private study||120 hours (80%)|
Private study description
A significant proportion of independent study should be spent with the coursework assignments, and also completing the problems sheets. The rest should be revision of the material and practising the concepts discussed.
No further costs have been identified for this module.
You do not need to pass all assessment components to pass the module.
Students can register for this module without taking any assessment.
Assessment group D3
|Programming assignment 1||20%|
|Programming assignment 2||20%|
~Platforms - AEP
Assessment group R1
~Platforms - AEP
Feedback on assessment
Written feedback via Tabula.
If you pass this module, you can take:
- CS126-15 Design of Information Structures
This module is Core for:
- Year 1 of UCSA-G400 BSc Computing Systems
- Year 1 of UCSA-G402 MEng Computing Systems
- Year 1 of UCSA-G500 Undergraduate Computer Science
- Year 1 of UCSA-G503 Undergraduate Computer Science MEng
- Year 1 of UCSA-I1N1 Undergraduate Computer Science with Business Studies
- Year 1 of UCSA-G406 Undergraduate Computer Systems Engineering
- Year 1 of UCSA-G408 Undergraduate Computer Systems Engineering
- Year 1 of UCSA-GN51 Undergraduate Computer and Business Studies
- Year 1 of USTA-G302 Undergraduate Data Science
- Year 1 of USTA-G304 Undergraduate Data Science (MSci)
- Year 1 of UCSA-G4G1 Undergraduate Discrete Mathematics
- Year 1 of UCSA-G4G3 Undergraduate Discrete Mathematics