Professional Documents
Culture Documents
NAME ASHIMAKHANNA
SECTION G1003
ROLL NO RG1003B34
PART A
ANS-1 STRUCTURE CHARTS- The design tool that shows the
top down design of a program is a structure chart, it is also
called a hierarchy chart. Each box or module ,in the chart
indicates a task that a program must accomplish. The top
module , called the control module , oversees the transfer of
control to the other modules. Lets have an example below:
Control
module
Calculate Print
commissio salesman
n commission
The manner in which control is transferred between the
modules follows set rules. Each module has exactly one entry
point and one exit point. Entry is from the module one level
above in the structure chart, after all the instructions in the
module have been executed by the computer, exit is back to
the superordinate module. Control may be temporarily
transferred to a module one level down, but must return.
Control may never be passed from one module to another
module on the same level of the structure chart. This orderly
transfer makes it easy for the programmer to follow the logic
of the programs written by someone else. That is very
important because most of the programs are used for a long
time and the original programmer may have moved on to the
another position. Notice that the structure chart does not
provide any detail about the program logic. Programmers
generally select flowcharts or pseudocodes.
FLOWCHARTS: A flowchart is a diagram that shows the logic
of a program. Programmers create flowcharts either by hand
using a flowcharting template or on the computer. Each
flowcharting symbol has a meaning: a diamond , for example
to indicate a condition , a rectangle is used for a process , and
a parallelogram indicates an input or output procedure. A
plastic template is used to assist when drawing a flowchart by
hand. Many programmers consider using programms that can
create flowcharts quicker and easier than drawing the
flowchart by hand.
PSEUDOCODE: Some programmers don’t like flowcharting.
Pseudocode, created in the 1970s as an alternative to
flowcharts, is a stylised form of writing used to describe the
logic of a program. Pseudo means fake , so pseudocode is a
fake code- in this case, code that cannot be understood by
the computer. Pseudocode for the commission problem is
provided in this case. Notice that each module that needs
explanation is shown as separate pseudocode. Notice also
that refer to the program logic constructs are in uppercase.
ANS-1 Over one hundred programming languages exist.
Different languages exist because each was designed for
specific purposes. For example some languages solve typical
business problems; others perform large complex calculations
, and still others create graphics. Example C language is used
by professional programmers and many college and
universities and C++ is used by major software vendors.
ANS-3 MAJOR DIFFERENCES BETWEEN SDLC AND PDLC:
SDLC- It is Software Development Lifecycle, is a structure
imposed on the development of a software product.
Planning: The important task in creating software product is
extracting the requirements or requirements analysis.
Implementation: it is the part of the process where software
engineers actually program the code for the project.
Testing: it is an integral and important part of thr software
development process. This part of the process ensures that
defects are recognized as early as possible.
Documenting: it is the internal design of a software for the
purpose of future maintenance and enhancement is done
throughout development. This may also include the writing of
an API, be it external or internal. It is very important to
document everything in the project.
Deployment and maintenance:
Deployment starts after the code is appropriately tested, is approved for
release and sold or otherwise distributed into a production environment.
Software Training and Support is important and a lot of developers fail to
realize that. It would not matter how much time and planning a development
team puts into creating software if nobody in an organization ends up using it.
People are often resistant to change and avoid venturing into an unfamiliar
area, so as a part of the deployment phase, it is very important to have
training classes for new clients of your software.
Maintaining and enhancing software to cope with newly discovered problems
or new requirements can take far more time than the initial development of
the software. It may be necessary to add code that does not fit the original
design to correct an unforeseen problem or it may be that a customer is
requesting more functionality and code can be added to accommodate their
requests. If the labor cost of the maintenance phase exceeds 25% of the prior-
phases' labor cost, then it is likely that the overall quality of at least one prior
phase is poor. In that case, management should consider the option of
rebuilding the system (or portions) before maintenance cost is out of control.
PDLC- is the succession of strategies used by business
management as a product goes through its life cycle. The
conditions in which a product is sold (advertising, saturation)
changes over time and must be managed as it moves
through its succession of stages.
To say that a product has a life cycle is to assert three things:
Stage Characteristics
1. costs are very high
2. slow sales volumes to start
3. little or no competition
1. Market 4. demand has to be created
introduction stage 5. customers have to be prompted to try the
product