This course gives an introduction to mathematical logic and its use within computer science, including logic programming.