As suggested by the TIOBE Index, Python and C stand out as the two most popular programming languages.
Python, introduced in COMP9021, provides a higher-level abstraction (e.g., garbage collection). Known for its simplicity and versatility, Python has gained widespread adoption in various domains, from web development and software security to AI.
On the other hand, C, renowned for its efficiency and control over hardware, remains a cornerstone in system programming (e.g., Linux Kernel and Python Interpreter) and embedded systems.
Interestingly, the official Python interpreter, CPython, is written in C.
COMP9024 is a 2-in-1 course. It consists of two parts:
-
The C Programming Language
-
Data Structures and Algorithms
Together, we have Data Structures and Algorithms in C.
Data structures are about how data is stored inside a computer for effective and efficient use.
An algorithm is a step-by-step process for solving a problem within a finite amount of space and time.
Examples | In C | |
---|---|---|
Data Structures (data) | arrays, stacks, queues, linked lists, trees, graphs, ... | pointer, array, struct, ... |
Algorithms (code) | tree traversal, sorting, searching, graph traversal, ... | expression, statement, function |
Our First Project
COMP9024/Graphs/UndirectedGraph
COMP9024/Graphs/DepthFirstSearch
COMP9024/Graphs/CycleDetection
COMP9024/Graphs/BreadthFirstSearch
COMP9024/Trees/BinarySearchTree