Formal Methods, Informally

How to Write Programs That Work

Carroll Morgan author

Format:Paperback

Publisher:Cambridge University Press

Publishing:31st Jan '26

£40.00

This title is due to be published on 31st January, and will be despatched as soon as possible.

Formal Methods, Informally cover

An undergraduate textbook showing how to use formal methods informally, without formal logic, to write and maintain computer programs.

Both beginning- and experienced programmers can improve the quality of their programming with this informal textbook. The author draws on decades of teaching and industrial experience to explain how to write correct, concise programs - without formal logic. Examples focus on small, understandable programs; and over 200 exercises are included.Learn to program more effectively, faster, with better results… and enjoy both the learning experience and the benefits it ultimately brings. This undergraduate-level textbook is motivated by Formal Methods, encouraging habits that lead to correct and concise computer programs; but its informal approach sidesteps reliance on Formal Logic that programmers are sometimes led to believe is required. Instead, a straightforward and intuitive use of simple 'What's true here' comments encourages precision of thought without prescription of notation. Drawing on decades of the author's experience in teaching/industry, the text's careful presentation concentrates on key principles of structuring and reasoning about programs, applying them first to small, understandable algorithms. Then students can concentrate on turning those reliably into their corresponding –and correct– program source-codes. The text includes over 200 exercises, with full solutions available online for instructors' use, plus mini-projects and automated quizzes to support instructors in building their own courses.

ISBN: 9781009421027

Dimensions: unknown

Weight: 250g

382 pages