1 av 69
Fakta og dokumentar
This book describes how to think about computer programs, and how to use mathematics as part of that thinking. Many books and on-line tutorials teach the basics of coding: the syntax of the language, and how to translate an algorithm into code. But how do you come up with that algorithm? And how can you be confident that the algorithm is correct?
The first part of the book considers small programs that use a loop, and how to demonstrate their correctness using loop invariants. It also covers some algorithms and algorithmic techniques that every programmer should know. The second half of the book considers slightly larger programs. It teaches the basics of modularisation, splitting up a program into manageable chunks. It teaches about abstract datatypes, values within a program that can be treated as mathematical values: how to specify their behaviours formally; and how to treat them as abstract mathematical objects when programming. It also teaches how to use data structures to represent abstract datatypes, and what it means for such a representation to be correct. And it presents some abstract datatypes and data structures that every programmer should know.
The book is aimed at those who want to obtain a better understanding of programs they work on, and so become better programmers. The target audience ranges from those who are just starting out, to professional programmers. The book aims to be pragmatic: the philosophy is to include enough formality to be convincing and to guide the programmer towards correct code, without getting bogged down in the mathematics.
© 2025 ACM Books (E-bok): 9798400731600
Utgivelsesdato
E-bok: 1. august 2025
Tagger
Over 900 000 lydbøker og e-bøker
Eksklusive nyheter hver uke
Lytt og les offline
Kids Mode (barnevennlig visning)
Avslutt når du vil
For deg som vil lytte og lese ubegrenset.
219 kr /måned
Lytt så mye du vil
Over 900 000 bøker
Nye eksklusive bøker hver uke
Avslutt når du vil
For deg som lytter og leser ofte.
189 kr /måned
Lytt opptil 50 timer per måned
Over 900 000 bøker
Nye eksklusive bøker hver uke
Avslutt når du vil
For deg som ønsker å dele historier med familien.
Fra 289 kr /måned
Lytt så mye du vil
Over 900 000 bøker
Nye eksklusive bøker hver uke
Avslutt når du vil
289 kr /måned
For deg som lytter og leser av og til.
149 kr /måned
Lytt opp til 20 timer per måned
Over 900 000 bøker
Nye eksklusive bøker hver uke
Avslutt når du vil
Kos deg med ubegrenset tilgang til mer enn 900 000 titler.
Norsk
Norge
