Techniques of problem solving:
When a problem occurs on your computer that describes any issues. A technique problem is a combination of techniques .
It is provide logic for solved any problem.
In the technique problem solving we can solve any problem from multiple ways that are describing in the details given following :
1. Flow charting
2. Decision table
3. Algorithms
4. Structured programming concept
5. Programming methodology
6. Top down and bottom up programming
1. Flow charting:-
A flow chart is a graphical representation of an algorithm. Flow chart uses boxes of different shapes to denote different types of instructions. Mostly programmers use the flowchart for program planning tool for visually organizing a sequence of steps necessary to solve a problem using a computer. The process of drawing a flowchart for an algorithm is known as flowcharting.
Symbols :- symbols that are used to most commonly to draw a flowchart that are following :
Terminal :- The terminal symbol is used for the start and stop of the program. If the program logic has a pause, that is also indicated with a terminal symbol.
Example :
Input/output:- All program instructions to input and output data from any type of I/O devices are indicated with i/o symbol in the flowchart. And it is used also reading input data and display the output data.
Example :
Processing :- this symbol is used for arithmetic calculations and data movement instructions.
Example :
Decision :- this symbol indicates a point, that is a point at which a branch more than one alternative point is possible.
Example :
Flowlines :- this is used for control flow based on direction . It goes into box or comes from the box.
Example :
<- ->
2. Dicision table:-
A decision table is a good way to deal with different combination of input which produce different result . It is also called cross effect table . Dicision table can be used in test design . They help tester to explore the effect of combination of different inputs. A decision table is basically outstanding technique used in both testing and requirement management.
It help to reduce test effort in verifying each and every combination of test data and ensure complete cover age .Example :
3. Algorithm :-
A problem is a step by step method of problem solving . It is commonly used for data processing , calculations and other related computer and mathematical operation . An algorithm is also used to manipulate data in various ways such as
interesting a new date item searching a particular item or sorting on item. It is a non technical approach we use algorithm in every day task.
Example :
Step 1 : start
Step 2 : read a, b, c
Step 3 : input a, b
Step 4 : c=a*b
Step 5 : print "c"
Step 6 : stop
4. Structured programming concept :-
structured programming approach as the word suggest can be design as a programming approach in which the program is made as a single structured. It means that the code will be execute instructions by instructions one after the other. It does not support possible of jumping from one instructions to same other with help of any statement like goto statement. Therefore the instructions
In this approach will be executed in a serial and structure manner. The language that support structured programming approach are : c, c++, Java , j#,c# ,python, etc.Example :
5. Programming methodology:-
when programs are developed to solve real life problems like inventory management payroll processing etc. The programming methodology the approach analyzing such complex problem by planning software development process and controlling development process . We will cover the top down approaches to programming is also called modular programming.
Types of programming methodology :
- Procedural programming
- Object oriented programming
- Functional programming
- Logical programming
- Top down and modular approach
- Bottom up approaches
6. Top down and bottom up programming :-
Top down : top down programming factor focus on the used of methods . It is also known as modular programming. The program is broken into small modules so that it is easy trase to particular segment of code in the software program. The modules at the top level are those that program general task and procede to another modules to program a particular task . Each module is based on functionality of its functional and procedures. In this approach the programming begin from top level of herarichy process words the lower level. The top down programming uses sequence and nested level of command.
Bottom up : button up programming to referred the style of the programming where an application is a constructord with the describe of modules . The button up programming is just opposite of top down programming.