Unit7 Software Programming Bba
Unit7 Software Programming Bba
Unit# 7
BY: Qudsia Jamil
• Creating Computer Programs
• Hardware and Software Interaction
• How Program Solve Problems
• Programming Languages
• World Wide Web Development Languages
• Programming Processes
Creating Computer Programs
• Programs are the building blocks of information systems. When they create
software products, programmers follow a processor life cycle—that is similar to
the life cycle for entire information systems.
• Phase 1: Needs Analysis.
– Needs analysis is the stage when a need or problem is identified and understood
– programmer looks at the program design to see what the user needs for an interface
and starting point and what the user needs the program to do.
– Typically, the end-user should have a lot of input in the needs analysis stage.
• Phase 2: Program Design.
– Program design is the stage at which programmers begin roughing out the logic they
will use when the actual coding begins.
– Many tools are used in the program design process, although programmers often rely
on whiteboards and the backs of napkins.
– Three of these design tools are IPO charts (for structured programming), circles and
message pipes (object-oriented programming), and pseudocode
• Artificial intelligence (AI) can be defined as a program or machine that can
solve problems or recognize patterns. A more ''pure” definition of AI might be
a computer or program that can fool a human into thinking he or she is dealing
with another human. Even applications such as word processors and e- mail
make use of AI concepts. Regardless of the actual task, artificial intelligence is
used in two basic areas:
– Problem Solving. In problem solving, the artificial intelligence program must look at a
problem or collection of data and determine what to do next. For example, a bank may
use an artificial intelligence system to look at your credit history and lifestyle before
deciding whether
– Pattern Recognition. In pattern recognition, the artificial intelligence program must look
for repeated or known occurrences of data. Examples include artificial vision and
speech recognition. Of course, many artificial intelligence programs combine elements
of both areas to solve a problem. For example, a data compression utility must look for
repeated patterns in the data and then decide how to rewrite the data to eliminate the
duplications.
• Phase 3: Development.
– Development (also called coding) involves writing
and testing source code.
– The software development phase is similar to the
system life cycle's development phase, but instead
of determining the system’s overall layout, the
programmer writes the code that implements the
user’s requirements.
– The programmer write source code in a text editor
• Phase 4: Implementation.
– Implementation involves installing software and allowing users to test it.
– This step often includes a lot of documenting, both inside the codc and in the
form of manuals for the users.
– Certainly the implementation stage is when any misconceptions the programmer
had about the codc arc found and fixed.
• Phase 5: Maintenance.
– Maintenance starts as soon as the program is installed.
– Work continues on products for several reasons.
– Some minor bugs may not have been fixed at the time the program was released.
– The programmers also may add major new functioning, in response to either
market demands or user requests.
– This is the longest phase of the program development life cycle, sometimes
spanning many years.