Outline
Outline
Objectives
The objectives of this subject are to:
(1) provide students with knowledge on the fundamental elements in computer programming;
and
(2) equip introduce students to the application of computer programming in solving practical
problems in different application domains.
Indicative Syllabus
1. Fundamentals of computing
Basic concepts of computers and computing, elementary programming constructs,
elementary data types.
2. I/O and flow control
Sending output to screen, getting input from keyboard, basic flow control: selection,
repetition and function.
3. Data collection
Sequences, lists, tuples, sets, strings and dictionaries.
4. File operation
Creating and opening files, reading from file, writing to file.
5. Program design
Modular program design using functions, testing and debugging.
6. Applications
Sorting and searching: programming vs built-in Python functions, elementary data
manipulation, NumPy arrays and matrices, problems in different application domains.
7. Other programming languages
Elementary data manipulation in R, interfacing to Python.
Teaching/Learning Methodology
This subject emphasises both the conceptual elements in computer programming and practical
experiences. Teaching includes both lectures and hands-on Lab exercises reinforcing taught
concepts. Students should attend both lectures and laboratory sessions.
Continuous assessment helps to reinforce the programming concepts and skills learned in
developing applications. Individual assignments provide additional practices to programming.
Project(s) allow students to work in group to solve more practical problems. Quizzes mandate
students to recap their knowledge and skill sets acquired through other assessment forms.
Final examination provides a summative assessment of overall student performance in applying
programming skills in solving problems in various applications.
References
1. David J. Pine. Introduction to Python for Science and Engineering, CRC Press, 2019.
2. Claus Führer, Jan Erik Solem and Olivier Verdier. Computing with Python: An
Introduction to Python for Science and Engineering. Pearson, 2014.
3. William F. Punch and Richard Enbody. The Practice of Computing Using Python. 3rd
Edition, Addison Wesley, 2017.
4. Jaynal Abedin and Kishor Kumar Das. Data Manipulation with R, 2nd Edition, Packt
Publishing, 2015.
5. J.D. Long and Paul Teetor. R Cookbook: Proven Recipes for Data Analysis, Statistics, and
Graphics. 2nd Edition, O'Reilly, 2019.