DCU Home | Our Courses | Loop | Registry | Library | Search DCU
<< Back to Module List

Latest Module Specifications

Current Academic Year 2025 - 2026

Module Title Computer Programming II
Module Code CSC1004 (ITS: CA117)
Faculty Computing School Engineering & Computing
NFQ level 8 Credit Rating 10
Description

This module introduces the student to more advanced programming concepts including object-oriented programming through designing and employing classes; it enhances familiarity with built-in libraries and data structures; it equips students with techniques for designing and analyzing elementary algorithms. It further develops students’ programming and problem-solving abilities and fosters good programming practices. Students are expected to attend lectures, participate in tutorials, carry out practical exercises in a programming laboratory, and engage in extensive self-study and hands-on programming practice.

Learning Outcomes

1. Select and appropriately apply the basic programming language constructs and built-in data types (e.g. strings, integers, floats, booleans) required to write a program.
2. Write programs that make effective use of fundamental built-in data structures and their associated methods e.g. lists, tuples, dictionaries and sets.
3. Write programs that read and write text files.
4. Employ exception handling to produce code robust to runtime errors.
5. Define classes that make effective use of instance methods/attributes and class methods/attributes, and make appropriate use of those classes in writing programs of small to moderate size.
6. Design and implement simple algorithms for searching, sorting, and text handling, and assess their time complexity.
7. Implement both iterative and recursive solutions to particular problems (e.g. searching and sorting).
8. Proceed from informal descriptions of problems to design and implementation of programming solutions.
9. Comply with good software engineering principles when writing programs, such as readability, maintainability, information hiding, and levels of abstraction.
10. Implement and apply in problem-solving some fundamental abstract data types and data structures (e.g. stack, queue, tree, graph) including associated operations.


WorkloadFull time hours per semester
TypeHoursDescription
Lecture48Course lectures
Laboratory48Lab work - supervised learning
Laboratory36Completion of programming exercises
Independent Study118Review of lecture material, background reading and independent practice
Total Workload: 250
Section Breakdown
CRN20123Part of TermSemester 2
Coursework0%Examination Weight0%
Grade Scale40PASSPass Both ElementsY
Resit CategoryRC1Best MarkN
Module Co-ordinatorDarragh O'BrienModule TeacherStephen Blott
Assessment Breakdown
TypeDescription% of totalAssessment Date
In Class TestLab exam 120%As required
In Class TestLab exam 225%As required
Laboratory PortfolioCompletion of lab exercises5%As required
Formal ExaminationEnd-of-Semester Final Examination50%End-of-Semester
Reassessment Requirement Type
Resit arrangements are explained by the following categories;
RC1: A resit is available for both* components of the module.
RC2: No resit is available for a 100% coursework module.
RC3: No resit is available for the coursework component where there is a coursework and summative examination element.

* ‘Both’ is used in the context of the module having a coursework/summative examination split; where the module is 100% coursework, there will also be a resit of the assessment

Pre-requisite None
Co-requisite None
Compatibles None
Incompatibles None

All module information is indicative and subject to change. For further information,students are advised to refer to the University's Marks and Standards and Programme Specific Regulations at: http://www.dcu.ie/registry/examinations/index.shtml

Indicative Content and Learning Activities

Built-in types
Strings, integers, floats, lists, dictionaries, sets, tuples.

Files
Reading, writing and processing text files.

Exception handling
Using exceptions to write code robust to runtime errors.

Algorithms
Recursion. Binary and linear search. Elementary sorting. Elementary complexity theory. Introduction to Big-O notation. Introduction to regular expressions. Introduction to graph search.

Design
Modelling with objects. Information hiding and object composition. Case studies in designing with classes. Problem solving techniques, problem decomposition and modular design.

Object-oriented programming
Designing classes and objects. Instance methods and attributes. Class methods and attributes. Operator overloading. Inheritance. Composition. Encapsulation.

Abstract data types and data structures
Stack, queue, list, tree, graph and associated operations.

Indicative Reading List

Books:
  • Gaddis, Tony: 2015, Starting out with Python, 9780133582734
  • Smallshire, Robert & Bingham, Austin.: 2017, The Python Apprentice, 1788293185
  • Punch, William F.: 2014, The Practice of Computing Using Python, 9780132805575
  • Lambert, Kenneth: 2014, Fundamentals of Python: Data Structures, 9781285752013


Articles:
None
Other Resources

  • Website: Think Python: How to Think Like a Computer Scientist, http://www.greenteapress.com/thinkpython/html/index.html
  • Website: The Python Standard Library, https://docs.python.org/3/library/index.html
  • Website: Online Python Programming, https://www.jdoodle.com/python-programming-online
  • Website: A Byte of Python, https://python.swaroopch.com/
  • Website: Learn Python The Hard Way, https://learnpythonthehardway.org/book/

<< Back to Module List View 2024/25 Module Record for CA117