CE5442: Advanced Python Programming

School Continuing and Professional Education
Department Code LEARN
Module Code CE5442
External Subject Code 100956
Number of Credits 10
Level L5
Language of Delivery English
Module Leader Dr Edward Evans
Semester Spring Semester
Academic Year 2022/3

Outline Description of Module

By and large, Python has been developed to raise the quality of programming in the scripting world. This module assumes a knowledge of the topics covered in the module Python Programming and is designed to cover more advanced topics such as Object Oriented Programming and Graphical User Interfaces (GUI). This module will allow the student to develop more advanced applications. Students will learn these more advanced topics through formal lectures and weekly programming exercises.This course extends the basic concepts learnt in Java I and is taught along similar lines. Topics covered include exception handlers using try, catch and finally blocks, introduction to inheritance, interfaces, abstract and final classes, introduction to event handling, the MouseListener interface and the MouseAdapter class, use of the FlowLayout, BorderLayout, GridLayout and GridBagLayout layout managers with both the Abstract Windowing Toolkit (AWT) and the Swing Toolkit, using dialog windows with applications with more than one frame, adding components to the graphical frame. Assessed work will include the creation of a number of applications with a graphical user interface (GUI).

On completion of the module a student should be able to

  • Use a Python script to analyse a Microsoft spreadsheet.
  • Create a Python class.
  • Use Python to create a subclass from a superclass.
  • Create a Graphical User Interface (GUI) to allow input through a form.
  • Write a Python script to enable systems programming.
  • Write Python client and server scripts to enable network programming.

 

 

 

How the module will be delivered

This module includes a mix of traditional lectures and laboratory sessions. There will be 11 meetings of 3 hrs giving a total of 33 contact hours.  Each meeting starts with a lecture and finishes with a laboratory session.

 

Skills that will be practised and developed

Whilst studying this module, students will practise

 

  • creating a Python class.
  • using Python to create a subclass from a superclass.
  • creating a Graphical User Interface.
  • using Python to enable systems programming.
  • analysing a programming problem and write a well-structured Python script.
  • using Python client and server scripts to enable network programming.

 

How the module will be assessed

Coursework 40%

Class test 60%  2 hours last meeting

Assessment Breakdown

Type % Title Duration(hrs)
Written Assessment 100 Coursework N/A

Copyright Cardiff University. Registered charity no. 1136855