Basic course theoretical computer science with exercises and test questions.

From MaRDI portal





This is a rather succinct book on theoretical computer science, compared with other standard volumes about this topic. Yet it contains all the main contents usually taught during one-semester courses. It emphasises the impact of theory for practical applications. To cope with the difficulties students have with grasping formal proofs, the first chapter is devoted entirely to proof techniques, propositional logic and an introduction to graph theory already with applications like sorting, searching and even zero-knowledge protocols. The second chapter treats the different types of automata: finite, non-deterministic, push-down, Turing, as well as formal languages and grammars: Chomsky hierarchy, parsing, lexical analysis, regular expressions, with spam filters as an interesting application. Of course the pumping lemmas are discussed in detail. Computability and decidability is the topic of Chapter 3, which is clearly more formal than the former chapters. It is restricted to time complexity and does not mention, e.g., space complexity. Nevertheless, it contains on only 50 pages all the main material: halting problem, loop programs, reducibility, \textbf{P} and \textbf{NP} and, quite impressive, reducibility chains for SAT, 3SAT, CLIQUE, (directed) Hamilton path/cycle, KNAPSACK, PARTITION and (as exercise) integer linear programming, all with proofs. The most important feature of the book is the wealth of exercises. Each chapter also gives about twenty questions which are suitable for oral examinations, arranged in an order which might actually arise during an exam. The forth chapter (and 25\% of the book) contains the solutions to all of them. The range is from very easy to very difficult. (An example of an exercise rated ``very difficult is the proof of the uncomputability of the busy beaver function.) All in all the reader will get a compact, affordable volume containing all the core material, the exposition being supported by many well-chosen diagrams.





Describes a project that uses

Uses Software






This page was built for publication: Basic course theoretical computer science with exercises and test questions.

Report a bug (only for logged in users!)Click here to report a bug for this page (MaRDI item Q5423564)