Problem Solving Methodology and Techniques
What is Algorithm ?
The algorithm is defined as the step-by-step solving of a problem in the user's language.
It is considered an effective procedure for solving a problem with an infinite number of steps. The characteristics of the algorithm are,
Precise
Unambiguous
Finite termination
Unique solution
Once the algorithm is written, it can be coded into a problem using any programming language. The algorithm uses 3 different constructs
Sequence: sequence says that instructions are to be executed in what order or sequence.
Branching or decision making: Branching involves testing or condition and based on the outcome of the condition testing different instruments are executed.
Repetition: Repetition means one or more instructions shall be repeated several times. This is otherwise called a loop. There are different types of loops such as,
do-while, for
What is Pseudocode ?
It is a concise description algorithm in the English language that uses programming language constructs.
The flowchart can be considered as an alternative to pseudo-code.
Several constructs/keywords of programming language can be used in the algorithm to write the pseudo-code. Some of them are
If............Endif
Do while.......and
While.......endwhile
Repeat.........until
For......endfor
Case.......endcase
Call
Return
What are Programming Language ?
Programming language is a tool to express the logic or instructions for the understanding of the computer.
Any programming language has two components.
Syntax
Semantic
Syntax: syntax refers to the rules to be followed for writing valid program statements. The compiler can detect an error in syntax while compiling the program.
Semantic: semantic is associated with the logic of the program. The compiler can not detect the semantic error. The user of the programmer can diagnose the semantic error.
There is a good number of high-level languages, each meant for a specific area of data processing.
Commonly known languages are BASIC, FORTRAN, COBOL, Pascal, C, C++, etc.
While FORTRAN, is good for numerical and scientific calculation, COBOL is good for business applications involving a large amount of data handling.
Generation of Programming Language
The programming language can be classified into 4 generations.
1st Generation: Machine Language
2nd Generation: Assembly Language
3rd Generation: High Level Languages
4th Generation: Very High-Level Languages
Structured of programming language
Structured programming language is also known as modular programming. In this type of programming technique, the program shall be broken into several modules.
This helps in managing memory efficiently as the required module of the program will be loaded into the memory only and not the entire program.
This will also enhance code reuse. Writing, understanding debugging, and modifying the individual module of the program is also easier.
Properties of problem-solving methodology
This method is completely scientific, in this method the children gain knowledge only scientifically. And whatever the education system is, it is all done scientifically.
The problem-solving methodology can easily solve any problem, and students can also learn a lot from it and can develop their skills and skills.
This method motivates the students to take action. In this method, there is more contact between student and teacher. The problem-solving methodology is a technique by which you can easily solve any problem. The problem-solving methodology can be used to solve the problem, be it programming or any physical.
Problem Solving Methodology You can do it in all types of programming, it is such a method by which you can solve your problem by taking a few steps very easily.
It is mostly used in coding, as if there is a big problem in your programming, then there you can use this technique to solve that problem. As you must be knowing from its name that problem-solving methodology means the method or step which is followed to solve the problem and can solve the big problem easily, it is called problem-solving methodology.
We also need it in our lives and in coding also, if there is some problem with a big complex program in coding then we can use this technique on our own. And if anything happens in our life, then we solve it, then we can also call it problem-solving methodology. It simply means that the technique you use to solve a problem and whatever steps you use with it is the problem-solving methodology.
So friends, how did we like this post? I hope you all must have liked this post of ours and through this post of ours, we have been able to convey some information to you. If you like to read more posts like this, then you must mail us or tell us by commenting in the comment box. We will bring you more such good and informative posts. And do not forget to share this post of ours with your friends and on social media platforms so that more people can read this and get some information. And also follow our social media pages so that you can get our play post or any update soon. We will wait for your question and suggestion.
Comments
Post a Comment