Laboratory works
Step-by-step solutions: truth tables, laws of logic, predicates, sets, relations, functions, Boolean functions and the Hamming code
Propositional and predicate logic
Computer representation of sets
Properties of relations and functions Coming soon
- 3.1Properties and type of a relationMatrix, properties, equivalence, order, tolerance
- 3.2Operations on relationsInverse, complement, set operations, composition
- 3.3Properties of a functionInjective, surjective, bijective; fixing a function
Boolean algebra Coming soon
- 4.1Truth table, PDNF and PCNFA function given by the numbers of its assignments
- 4.2Karnaugh mapsMinimal DNF and CNF
- 4.3The McCluskey methodPrime implicants and the reduced DNF
- 4.4The implicant tableDead-end and minimal DNFs: exhaustive search and Petrick's method
- 4.5The Hamming codeEncoding, correcting one error, detecting more
Graph theory Coming soon
- 5.1Traversals, connectivity, Euler cyclesDFS and BFS, vertex and edge connectivity, an Euler cycle or walk
- 5.2The nearest-neighbour algorithmA Hamiltonian cycle in a weighted graph
- 5.3A digraphMatrices and lists, connectivity, Euler and Hamilton contours and paths
- 5.4The reachability matrixPowers of the adjacency matrix and Warshall's algorithm
- 5.5Dijkstra's algorithmShortest paths and the shortest-path tree
Applications of trees Coming soon
- 6.1Kruskal's algorithmA minimum spanning tree of a weighted graph
- 6.2A tree from its Pruefer codeDecoding a Pruefer code step by step
- 6.3An expression treeThe binary tree of an expression, Polish and reverse Polish notation, evaluation
- 6.4BacktrackingHamiltonian cycles and walks, a colouring with the fewest colours, search trees