Study-Unit Description

Study-Unit Description


CODE CCE1111

 
TITLE Computer Programming

 
UM LEVEL 01 - Year 1 in Modular Undergraduate Course

 
MQF LEVEL Not Applicable

 
ECTS CREDITS 8

 
DEPARTMENT Computer Information Systems

 
DESCRIPTION An introduction to high level language programming using the C language.

The topics include:
- Structured Programming
    Algorithms
    Top-down approach

- Flow Control
    Sequence
    Selection (if-else)
    Repetition (loops)

- Functions
    Standard library & programmer-defined functions
    Recursion
    Call-by-value

- Random numbers
    Use of random numbers in simulation work

- Arrays
    Single- & double-subscripted arrays
    Common array manipulation
    Introduction to sorting & searching

- Characters & strings

- Formatted I/O

- Pointers
    Call by reference
    Pointer operators, expressions & arithmetic

- Structures, Unions & Enumerations

- File Processing
    Sequential & random access

- Introduction to data structures
    Dynamic memory allocation
    Linked lists, queues, stacks & tree structures
    Indirection & double indirection

- The Pre-processor

- Other topics
    I/O redirection
    Variable-length argument lists in functions
    Command-line arguments
    Multiple-file program construction
    Forced program termination
    Functions to be performed at end of execution
    Type qualifiers

- Trapping unexpected events

Study-unit Aims:

The study-unit aims to teach students functional programming constructs using the 'C' language and to be able to adapt to the similar constructs of other scientific languages.

Learning Outcomes:

1. Knowledge & Understanding:

By the end of the study-unit the student will be able to:
- Write computer programs in 'C'.
- Work in both a command prompt and a GUI type interface with the operating system.

2. Skills:

By the end of the study-unit the student will be able to use the theoretical knowledge of constructs in the 'C' language to program in other functional languages, as well as to relate programming skills to the development of applications specific software.

Main Text/s and any supplementary readings:
(availability at the Library or otherwise is indicated against each entry)

- P.J. Deitel & H.M. Deitel. "C How to Program", 5th edition, Prentice Hall, 2007. (Available)

References:

- Deitel & Deitel. "C Student Solutions Manual to Accompany C How to Program", 5th edition, Prentice Hall, 2007.
- Brian W. Kernighan, Dennis M. Ritchie, "The C Programming Language", 2nd edition, Prentice Hall, 1988. (Available)

 
ADDITIONAL NOTES Co-requisite Study-unit: CCE2111

 
STUDY-UNIT TYPE Lecture and Practical

 
METHOD OF ASSESSMENT
Assessment Component/s Sept. Asst Session Weighting
Assignment Yes 40%
Examination (2 Hours) Yes 60%

 
LECTURER/S Matthew Xuereb

 

 
The University makes every effort to ensure that the published Courses Plans, Programmes of Study and Study-Unit information are complete and up-to-date at the time of publication. The University reserves the right to make changes in case errors are detected after publication.
The availability of optional units may be subject to timetabling constraints.
Units not attracting a sufficient number of registrations may be withdrawn without notice.
It should be noted that all the information in the description above applies to study-units available during the academic year 2023/4. It may be subject to change in subsequent years.

https://www.um.edu.mt/course/studyunit