In this tutorial we will learn about the programmming.
Problem solving is the main moto of any program. so let's learn how we can solve any problem in computer science world.
Following are the steps which are basically used in problem solving
1.Problem Analysis.
2.Algorithm design
3.Flowchar design
4.Coding
5.Compilation and execution
6.Debugging and Testing
7.Deployment and Documentation
Lets's Learn about it detailly:
1.problem Analysis
Before start to solve any problem , you must have the clear idea about the problem. What is problem,what need to be solve, what are the requirements,what are pre-requisistes and many more.so first steps towards problem solve is the problem analysis. Any deep as you can analysis the problems , it can help you to solve problem more precisely.
2.Algorithms Design
It is the step by step(sequential steps) process to accomplish a certain tasks.
Example:Algorithm to find the medium value amomg three
Step1:start
Step2:Declare variables a,b,c
Step3:Read value for a,b,c
Step4: if(((a>b) && (a<c) )|| ((a>c) && (a<b)))
Display a is medium
else if (((b>c) && (b<a) ) || ((b>a) && (b<c)))
Dispaly b is medium
else
Display c is medium
3.Flowchart Design
The diagrammatic representation of algorithm is known as flowchart.
4.Coding
Coding is the transfering the program logic into a computer language formate. This stage translates the program design into a computer instructions using programming langauage like c,c++ , java, python and so on. it can be said that coding is the process of transfering the operations in each box of the flowchart interms of statement of the programming.
The code written using programming language is also known as source code. During coding, the programmer should eliminate all syntax and format errors from the program and all logical errors are detected and resolved during this process.
The task of code is only 20-30% of total task to be done to solve problem using computer.
5.Compilation and Execution
The process of changing high-level language into machine level language is known as compilation. it is done by special software , known as compiler. The compilation process tests the program whether it contains syntax error or not. if systex errro occurs , compiler can not compiler the code.
One the complation(conversion into object program) is complete the program is linked with other object program and then the program is loaded in the binary program nad finally the program is loaded in the memory for the process of execution and it is executed .
6.Debugging and Testing
Debugging is the discovery and Correction of programmimg errors. Even after taking full care of program design adn coding , some errors may remain in th eprogram because the desingner/programmer might have never thought about a particular cases.
this error may appears during the compilation or execution. so when the error is appeared the debugging is necessary.
Testing ensure that program debugging performs correctly the required task. Programming theoriests often refer to program debugging and testing as verificaion adn validation respectively.
Verification ensures that program does the what the programmer intends to do. validation ensures that program produce the correct results for the set of the test data Thus programming testing and debugging are closely related.
7.Deployment and Documentation
Deployment is the process of adding the project to the server so that any one can access it . If you have not deployed project then other people cannot use it. so Deployment is the important part of the project.
Similary, Program Documentation is the description of the program
Amanda Martines 5 days ago
Exercitation photo booth stumptown tote bag Banksy, elit small batch freegan sed. Craft beer elit seitan exercitation, photo booth et 8-bit kale chips proident chillwave deep v laborum. Aliquip veniam delectus, Marfa eiusmod Pinterest in do umami readymade swag. Selfies iPhone Kickstarter, drinking vinegar jean.
ReplyBaltej Singh 5 days ago
Drinking vinegar stumptown yr pop-up artisan sunt. Deep v cliche lomo biodiesel Neutra selfies. Shorts fixie consequat flexitarian four loko tempor duis single-origin coffee. Banksy, elit small.
ReplyMarie Johnson 5 days ago
Kickstarter seitan retro. Drinking vinegar stumptown yr pop-up artisan sunt. Deep v cliche lomo biodiesel Neutra selfies. Shorts fixie consequat flexitarian four loko tempor duis single-origin coffee. Banksy, elit small.
Reply