Object-Oriented Design Goals: Software Implementations Should Achieve Robustness, Adaptability, and Reusability

You might also like

Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 8

Object-Oriented Design Goals

 Software implementations should achieve robustness,


adaptability, and reusability.
 robust, that is, capable of handling unexpected inputs that are not
explicitly defined for its application.
 adaptability (also called evolvability) - this concept is portability, which
is the ability of software to run with minimal change on different hardware
and operating system platforms.
Reusability - Going hand in hand with adaptability is the desire that software
be reusable, that is, the same code should be usable as a component of
different systems in various applications.
The Role of Algorithms in Computing

 What are algorithms?


 Why is the study of algorithms worthwhile?
 What is the role
 of algorithms relative to other technologies used in computers?
1.1 Algorithms

 an algorithm is any well-defined computational procedure that takes


some value, or set of values, as input and produces some value, or set of
values, as output. An algorithm is thus a sequence of computational steps that
transform the input into the output.
 an algorithm as a tool for solving a well-specified computa-
tional problem. The statement of the problem specifies in general terms the
desired
input/output relationship. The algorithm describes a specific computational
proce-
dure for achieving that input/output relationship.
For example, we might need to sort a
sequence of numbers into nondecreasing
order.

You might also like