CS2AO17-Algorithms and Operating Systems
Module Provider: Computer Science
Number of credits: 20 [10 ECTS credits]
Level:5
Terms in which taught: Autumn / Spring / Summer module
Pre-requisites: CS1FC16 Fundamentals of Computer Science and CS1PC20 Programming in C/C++
Non-modular pre-requisites:
Co-requisites:
Modules excluded:
Current from: 2023/4
Module Convenor: Prof Xia Hong
Email: x.hong@reading.ac.uk
Type of module:
Summary module description:
Algorithms and Operating Systems are fundamental concepts in Computer Science discipline. The module gives an introduction to fundamental algorithm design strategies that are common to many concrete applications. It also provides a general understanding of the structure and the main functionalities of modern operating systems.
Aims:
The module consists two parts. The first part, Algorithms, is one of the cornerstones of computer science and the aim of this part is to provide an appreciation of the concepts involved in the design and analysis of algorithms.
The second part, Operating Systems, aims to provide an overview of operating systems which include: a brief history of operating systems and their development. Furthermore, it covers the main functionalities and components and their associated algorithms.
This module also encourages students to develop a set of professional, skills such as problem solving, logic thinking, creativity and numeracy
Assessable learning outcomes:
On completion of the module a student should be able to:
- Identify the fundamental strategies in algorithmic design;
- Distinguish which strategy is appropriate to solve a given problem; Classify different algorithmic strategies;
- Analyze a given algorithm and assess its efficiency;
- Apply techniques of proof by induction to verify certain properties of algorithms;
- Describethe general structure and purpose of an operating system;
- Explain the concepts of process, address space, and file;
- Compare and contrast various CPU scheduling algorithms;
- Understand the differences between segmented and paged memories, and be able to describe the advantages and disadvantages of each;
- Compare and contrast polled, interrupt-driven and DMA-based access to I/O devices.
Additional outcomes:
Students will have seen a number of useful case studies illustrating the techniques which can be transported to other areas of the course. Through practical work students will gain deeper insights into concurrent and multi-threading implementations of programs.
Outline content:
Algorithms:
- Additional Data structures (Heaps, Graphs)
- Divide and Conquer (General method, Analysis, examples - Sorting, Convex Hull, Matrix Multiplication)
- The Greedy method (General method, Analysis, examples - Shortest Paths, Spanning Trees)
- Dynamic Programming (General method, Analysis, Travelling salesperson, Transitive Closure)
Operating Systems:
- Introduction to operating systems Structure
Processes:
- Process concepts, lifecycle, process management, inter-process communication
Scheduling:
- Scheduling fundamentals, CPU-I/O interleaving, (non-)preemption, context switching
- Scheduling algorithms: FCFS, SJF, SRTF, priority scheduling, round robin
Memory Management:
- Segmentation
- Paging
- Limits of multi-programming
File System:
- File management
- Directory and storage
- Hierarchies and access control
Input and Output:
- General structure
- Application I/O interface
- Block and character devices
- Buffering
- Blocking versus non-blocking I/O
Security and Protection:
- Protection domain,
- Authentication
Brief description of teaching and learning methods:
Lectures and self-study (Algorithm)
Lectures and practical sessions (Operating Systems)
Autumn | Spring | Summer | |
Lectures | 20 | 10 | 2 |
Seminars | 4 | ||
Practicals classes and workshops | 6 | ||
Guided independent study: | 79 | 79 | |
Total hours by term | 99 | 99 | 2 |
Total hours for module | 200 |
Method | Percentage |
Written exam | 70 |
Set exercise | 30 |
Summative assessment- Examinations:
One 3-hour examination paper in May/June.
Summative assessment- Coursework and in-class tests:
- 15% of Algorithms (one timed online test)
- 15% of Operating Systems (one piece of coursework)
Formative assessment methods:
Penalties for late submission:
The Support Centres will apply the following penalties for work submitted late:
- where the piece of work is submitted after the original deadline (or any formally agreed extension to the deadline): 10% of the total marks available for that piece of work will be deducted from the mark for each working day (or part thereof) following the deadline up to a total of five working days;
- where the piece of work is submitted more than five working days after the original deadline (or any formally agreed extension to the deadline): a mark of zero will be recorded.
You are strongly advised to ensure that coursework is submitted by the relevant deadline. You should note that it is advisable to submit work in an unfinished state rather than to fail to submit any work.
Assessment requirements for a pass:
A mark of 40% overall.
Reassessment arrangements:
One 3-hour examination paper in August/September. Note that the resit module mark will be the higher of (a) the mark from this resit exam and (b) an average of this resit exam mark and previous coursework marks, weighted as per the first attempt (70% exam, 30% coursework).
Additional Costs (specified where applicable):
1) Required text books:
2) Specialist equipment or materials:
3) Specialist clothing, footwear or headgear:
4) Printing and binding:
5) Computers and devices with a particular specification:
6) Travel, accommodation and subsistence:
Last updated: 30 March 2023
THE INFORMATION CONTAINED IN THIS MODULE DESCRIPTION DOES NOT FORM ANY PART OF A STUDENT'S CONTRACT.