Introduction to Software Engineering
BIO 441 Christopher Siu, Theresa Migler-Von Dollen
1 / 26
Introduction to Software Engineering BIO 441 Christopher Siu, - - PowerPoint PPT Presentation
Introduction to Software Engineering BIO 441 Christopher Siu, Theresa Migler-Von Dollen 1 / 26 What is software? . . . software is a part of a computer system that consists of data and computer instructions . . . [including] computer
1 / 26
2 / 26
3 / 26
4 / 26
5 / 26
6 / 26
7 / 26
1 Requirements
2 Design
3 Implementation
4 Verification
5 Validation
8 / 26
9 / 26
10 / 26
11 / 26
12 / 26
13 / 26
1To be complete, we should also define the “reverse complement”. 14 / 26
15 / 26
16 / 26
17 / 26
18 / 26
1 Start with the most trivial untested input cases. 2 Describe the expected output for each input. 3 Note which requirements have been tested.
4 Repeat until all requirements are tested.
19 / 26
20 / 26
1 Run the program. 2 When prompted, type “GGG ”, then hit “Enter”. 3 Expect that the program displays “1 ”.
1 Run the program. 2 When prompted, type “AAA ”, then hit “Enter”. 3 Expect that the program displays “0 ”.
21 / 26
1 Run the program. 2 When prompted, type “ACC ”, then hit “Enter”. 3 Expect that the program displays “1 ”.
1 Run the program. 2 When prompted, type “GGGACC ”, then hit “Enter”. 3 Expect that the program displays “3 ”.
22 / 26
1 Run the program. 2 When prompted, type 1,000,000 ‘A’s 2, then hit “Enter”. 3 Expect that the program displays “0 ”.
1 Run the program. 2 When prompted, type “G ”, then hit “Enter”. 3 Expect that the program displays “0 ”.
2There are ways to automate this. 23 / 26
24 / 26
25 / 26
26 / 26