Monash University Computing & Information Technology Handbook 1995

Copyright © Monash University 1995
Enquiries to publishing@udev.monash.edu.au

CFR1124

Computer programming II

J Han

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

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

Han J Lecture notes Monash U, 1995

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

Recommended texts

Ammeraal L Programs and data structures in C Wiley, 1990

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

Feibel W Using Ansi C in Unix McGraw-Hill, 1990

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

Horspool R N C Programming in the Berkeley UNIX environment Prentice-Hall, 1986

Kay J and Kummerfeld B C Programming in a Unix environment Addison-Wesley, 1989

Kelley A and Pohl I A Book on C 2nd edn, Benjamin-Cummings, 1984

Kelley A and Pohl I C by dissection Benjamin-Cummings, 1987

Lafore R The Waite Group's Turbo C programming for the PC revised edn, Sams, 1988

Miller L H and Quilici A E Programming in C Wiley, 1986


Return to subject list
Return to computing handbook contents
Return to the list of Monash handbooks