<< >> ^

CFR1124

Computer programming II

A Ellis

6 points
* 4 hours per week
* First, second, summer semester
* Peninsula
* Prerequisites: CFR1121
* Prohibitions: BUS2011, BUS4611, CFR1122, CFR2121, GCO1812, SFT1102, SFT1122

Objectives At the completion of this subject students should know and understand programming principles, including sequence of control mechanisms, modularity, parameter passing, file handling techniques, indirect addressing and use of variable scoping; know about data structures, understand how to select them appropriately, and be able to use them as part of programming solutions to client information systems problems; and be able to implement the programming principles through C programming in a UNIX environment.

Synopsis Features of C programming: the pre-processor, scope, lifetime and storage class of variables, advanced use of pointers, uses of recursion, command line arguments, memory allocation, bit operators. Data structures: arrays, alternative array notations, initialising arrays, pointer arithmetic with arrays, arrays and functions. Strings: storing strings, pointers to char, terminating strings, string functions, arrays of strings, arrays of pointers to char, pointer to array of pointers to char, recursion and strings. Structures and unions. Linked lists. Stacks and queues. Binary trees. File handling: character, line, formatted and record input/output, random access. Programming in a UNIX environment: using the UNIX operating system; logging on/off, directories, creating, copying, removing files, file access, use of editors, multifile programs, screen handling in C programs. Redirecting program input/output to/from files and/or other programs. System calls from within programs, making screen output available to programs, creating parallel processes.

Assessment Examination: 40%
* Unit test: 20%
* Practical work: 40%

Prescribed texts

Kruse R L and others Data structures and program design in C Prentice-Hall, 1991

Recommended texts

Deitel H M and Deitel P J C: How to program 2nd edn, Prentice-Hall, 1994

Hanley J R and others Problem solving and program design in C Addison-Wesley, 1993


<< >> ^
Handbook Contents | Faculty Handbooks | Monash University
Published by Monash University, Clayton, Victoria 3168
Copyright © Monash University 1996 - All Rights Reserved - Caution
Authorised by the Academic Registrar December 1996