Play audio slide show -- Keyboard shortcut: 'x'  Lecture overview -- Keyboard shortcut: 'u'  Previous page: Korrekthed -- Keyboard shortcut: 'p'  Next page: Specifikation med pre- og postbetingelser [Section] -- Keyboard shortcut: 'n'  Lecture notes - all slides and notes together  Annotated slide -- Keyboard shortcut: 't'  Alphabetic index  Help page about these notes  Course home  Play sound for this slide -- Keyboard shortcut: 'y'    Designkontrakter og ansvarsfordeling - slide 4 : 31

Specifikation 

En program specifikation er en eksakt forskrift som skal opfyldes af program implementationen

En specifikation besvarer 'hvad spørgsmål' i modsætning til 'hvordan spørgsmål'

 

 

stack-specificationEt eksempel på en algebraisk specifikation af en stak.
 

kvadratrods-specificationEt eksempel på en axiomatisk specifikation af en kvadratrodsfunktion.