Discrete mathematics (also referred to as discrete analysis or finite mathematics) is a section of modern mathematics in which the properties of mathematical objects of discrete nature are studied. The manual is intended to facilitate solving discrete mathematics problems. It contains theoretical and practical information from the traditional sections of discrete mathematics - Boolean algebra, algebra of sets, relation theory, combinatorics, graph theory. The tutorial may be useful for readers who want to study modelling of discrete mathematics problems in C, C ++ languages.