02 CBSC4103 Toc
02 CBSC4103 Toc
02 CBSC4103 Toc
1 1.1
1.2
Software Crisis
Software Development Life Cycle
2
5
1.2.1 Waterfall Model 6
1.2.2 Spiral Model 7
1.3 Phases in Software Development 8
1.4 Requirement Analysis and Specification 11
1.4.1 Characteristics of Specifications 12
1.4.2 Types of Specifications 14
1.4.3 The Structured Approach 17
Summary 20
Key Terms 20
References 20
3 3.1
3.2
Roles of Programming Languages
Introduction to C
41
42
3.2.1 Program Structure in C 43
3.2.2 Functions in C 43
3.2.3 Variable Declaration in C 44
3.2.4 Expressions in C 45
3.2.5 Pointers in C 46
3.3 Introduction to C++ 47
3.3.1 Program Structure in C++ 48
3.3.2 Elements in C++ 50
3.3.3 Inheritance in C++ 52
3.4 Introduction to Java 53
3.4.1 Special Characteristics of Java 54
3.4.2 Program Structure in Java 56
3.5 Introduction to Prolog 58
3.5.1 Program Structure in Prolog 59
3.5.2 Facts and Rules in Prolog 60
Summary 63
Key Terms 63
References 64
7 7.1
7.2
Scanners
Tokens
118
120
7.3 More Regular Expressions and Transition Networks 124
7.3.1 More Regular Expressions 124
7.3.2 Algebraic Identities for Regular Expressions 126
7.3.3 Transition Networks 127
Summary 132
Key Terms 132
References 133