SlideShare a Scribd company logo
1 of 22
COMPUTER
PROGRAMMING
Lecture 02
Prepared By Mr. V. S. Patil Dept (CSE)/AEC
Unit 1 Problem Solving
Syllabus
Prepared By Mr. V. S. Patil Dept (CSE)/AEC
2
1
 To understand the basics of problem solving
on computers
To solve any real life or program problem
Objectives
• Basic concept of problem on computer…
• For solving problem on computer following steps are required.
(This steps called as Software Life Cycle. )
1) Problem Statement:-
• The Problem statement should be clear and unambiguous.
• If the statement is not precise and clear, the design and
implementation will be erroneous.
2) Problem Analysis and Design:-
• This step is very crucial step in writing a program.
• The problem should analyzed to find the most efficient way in
which it can be solve.
• An algorithm to solve the problem is developed based on the
continue..
3) Analysis of the algorithm:-
The algorithm should be analyzed to check if it is perform the
desired action using a reasonable amount of time and memory.
4) Coding:-
This step involves coding the algorithm using an appropriate
language to form a program.
• The choice of a programming language depends on a several
factor.
5) Documentation:-
• Documentation is essential to make the program easy to
understand.
• It informs the reader about the working of program.
Continue..
6) Testing:-
• The program should be tested thoroughly using all the
possible type of input.
• Testing detects incorrectness of program if any.
7) Maintenance:-
• The program may require changes depends on its
application.
• The changes and updates required are perform during
maintenance.
Problem Solving is easy if you follow these
steps
Understand
the
problem
• Read the problem carefully.
• Find the important information.
• Write down the numbers.
• Identify what the problem wants you to solve.
• Ask if your answer is going to be a larger or smaller
number compared to what you already know.
Step 1 – Understand the problem
Step 1 - Understand the Problem
Read the problem carefully.
•Luis earned 14 Accelerated Reading points the first week
of November. At the end of the following week he had a
total of 31 points. How many points did he earn the
second week?
• Luis earned 14 Accelerated Reading points the first
week of November. At the end of the following week he
had a total of 31 points.
• How many points did he earn the second week?
Step 1 - Understand the Problem
Find the important information.
• Luis earned 14 Accelerated Reading points the first week
of November. At the end of the following week he had a
total of 31 points. How many points did he earn the
second week?
Step 1 - Understand the Problem
Write down the numbers.
Total = 31 1st week =14
Step 1 - Understand the Problem
Identify what the problem wants you to solve
Luis earned 14 Accelerated Reading points the first week of
November. At the end of the following week he had a total of
31 points. How many points did he earn the second week?
Total = 31 1st week =14
2nd week = ?
Step 1 - Understand the Problem
Ask if your answer is going to be a larger or
smaller number compared to what you already
know.
• It will be smaller than the total but may or may not be smaller
than the first week.
Total = 31 1st week =14
2nd week = ?
Problem Solving is easy if you follow these
steps
Decide how
you’re going
to
solve the
problem
Step 2 - Decide how you’re going to solve the
problem
Choose a method
Use a graph Use formulas
Write an equation Make a list
Find a pattern Work backwards
Use reasoning Draw a picture
Make a table Act it out
Step 2 - Decide how you’re going to solve the
problem
Write your equation
• Since I know both weeks total 31 I write
14 + s = 31
• I can use the inverse operation to solve
14 + s = 31 31 – 14 = s
Total =
31 2nd week = ?
1st week =14
Problem Solving is easy if you follow these
steps
Solve
The
Problem
31-14=17
Problem Solving is easy if you follow these
steps
Look
Back &
Check
Step 4 - Look Back & Check
Reread the problem
•Luis earned 14 Accelerated Reading points the first week
of November. At the end of the following week he had a
total of 31 points. How many points did he earn the second
week?
•Total=31 1st
week=14
Step 4 - Look Back & Check
Substitute your new number
•Luis earned 14 Accelerated Reading points the first week
of November. At the end of the following week he had a
total of 31 points. How many points did he earn the second
week?
•Total=31 1st
week=14
2nd
week=17
•14+17=31
Step 4 - Look Back & Check
Did your new number work?
14+17=31 Yes
Question Bank
1.Explain the steps involved in problem solving on
computer
2.Write down the steps to solve following problem.
i) Addition of two numbers.
ii) To calculate Area of circle

More Related Content

What's hot

lesson 5 adding 2 digit numbers
lesson 5 adding 2 digit numberslesson 5 adding 2 digit numbers
lesson 5 adding 2 digit numberssusan70
 
Chapter1.5 alghonors
Chapter1.5 alghonorsChapter1.5 alghonors
Chapter1.5 alghonorsnglaze10
 
Problem sums strategies
Problem sums strategiesProblem sums strategies
Problem sums strategiesayishanicholas
 
How to love and like mathematics by Feljone Ragma
How to love and like mathematics by Feljone RagmaHow to love and like mathematics by Feljone Ragma
How to love and like mathematics by Feljone RagmaFeljone Ragma
 
Finding New Ways ( Innovation) Map
Finding  New  Ways ( Innovation) MapFinding  New  Ways ( Innovation) Map
Finding New Ways ( Innovation) MapPeter Ferreira
 
Math Lesson Plan Oct 7
Math Lesson Plan Oct 7Math Lesson Plan Oct 7
Math Lesson Plan Oct 7daohoanu
 
Persistence in Problem Solving
Persistence in Problem SolvingPersistence in Problem Solving
Persistence in Problem Solvingmpshoe
 
Test Taking Strategies - Triage - By Joey Lehrman
Test Taking Strategies - Triage - By Joey LehrmanTest Taking Strategies - Triage - By Joey Lehrman
Test Taking Strategies - Triage - By Joey LehrmanJoey Lehrman
 
Persistence in Problem Solving with videoclip
Persistence in Problem Solving with videoclipPersistence in Problem Solving with videoclip
Persistence in Problem Solving with videoclipmpshoe
 
Persistence in Problem Solving
Persistence in Problem SolvingPersistence in Problem Solving
Persistence in Problem Solvingmpshoe
 
1 a 15 concept essay workshop
1 a 15 concept essay workshop 1 a 15 concept essay workshop
1 a 15 concept essay workshop jordanlachance
 

What's hot (19)

lesson 5 adding 2 digit numbers
lesson 5 adding 2 digit numberslesson 5 adding 2 digit numbers
lesson 5 adding 2 digit numbers
 
Chapter1.5 alghonors
Chapter1.5 alghonorsChapter1.5 alghonors
Chapter1.5 alghonors
 
A eda 314 361 lesson plan
A eda 314 361 lesson planA eda 314 361 lesson plan
A eda 314 361 lesson plan
 
Problem sums strategies
Problem sums strategiesProblem sums strategies
Problem sums strategies
 
6-29-11
6-29-116-29-11
6-29-11
 
Ed630 keynote
Ed630 keynoteEd630 keynote
Ed630 keynote
 
Unit 4 lesson 15
Unit 4 lesson 15Unit 4 lesson 15
Unit 4 lesson 15
 
How to love and like mathematics by Feljone Ragma
How to love and like mathematics by Feljone RagmaHow to love and like mathematics by Feljone Ragma
How to love and like mathematics by Feljone Ragma
 
Finding New Ways ( Innovation) Map
Finding  New  Ways ( Innovation) MapFinding  New  Ways ( Innovation) Map
Finding New Ways ( Innovation) Map
 
Goal setting caroline
Goal setting carolineGoal setting caroline
Goal setting caroline
 
Solving addition word problem knowing key words
Solving addition word problem knowing key wordsSolving addition word problem knowing key words
Solving addition word problem knowing key words
 
Math Lesson Plan Oct 7
Math Lesson Plan Oct 7Math Lesson Plan Oct 7
Math Lesson Plan Oct 7
 
Persistence in Problem Solving
Persistence in Problem SolvingPersistence in Problem Solving
Persistence in Problem Solving
 
Test Taking Strategies - Triage - By Joey Lehrman
Test Taking Strategies - Triage - By Joey LehrmanTest Taking Strategies - Triage - By Joey Lehrman
Test Taking Strategies - Triage - By Joey Lehrman
 
Persistence in Problem Solving with videoclip
Persistence in Problem Solving with videoclipPersistence in Problem Solving with videoclip
Persistence in Problem Solving with videoclip
 
Persistence in Problem Solving
Persistence in Problem SolvingPersistence in Problem Solving
Persistence in Problem Solving
 
Math
MathMath
Math
 
5th octoberalg2
5th octoberalg25th octoberalg2
5th octoberalg2
 
1 a 15 concept essay workshop
1 a 15 concept essay workshop 1 a 15 concept essay workshop
1 a 15 concept essay workshop
 

Viewers also liked

COMPUTER PROGRAMMING UNIT 1 Lecture 1
COMPUTER PROGRAMMING UNIT 1 Lecture 1COMPUTER PROGRAMMING UNIT 1 Lecture 1
COMPUTER PROGRAMMING UNIT 1 Lecture 1Vishal Patil
 
COMPUTER PROGRAMMING UNIT 1 Lecture 3
COMPUTER PROGRAMMING UNIT 1 Lecture 3COMPUTER PROGRAMMING UNIT 1 Lecture 3
COMPUTER PROGRAMMING UNIT 1 Lecture 3Vishal Patil
 
Computational Spectroscopy in G03
Computational Spectroscopy in G03Computational Spectroscopy in G03
Computational Spectroscopy in G03Inon Sharony
 
COMPUTER PROGRAMMING UNIT 1 Lecture 6
COMPUTER PROGRAMMING UNIT 1 Lecture 6COMPUTER PROGRAMMING UNIT 1 Lecture 6
COMPUTER PROGRAMMING UNIT 1 Lecture 6Vishal Patil
 
COMPUTER PROGRAMMING UNIT 1 Lecture 5
COMPUTER PROGRAMMING UNIT 1 Lecture 5COMPUTER PROGRAMMING UNIT 1 Lecture 5
COMPUTER PROGRAMMING UNIT 1 Lecture 5Vishal Patil
 
COMPUTER PROGRAMMING UNIT 1 Lecture 4
COMPUTER PROGRAMMING UNIT 1 Lecture 4COMPUTER PROGRAMMING UNIT 1 Lecture 4
COMPUTER PROGRAMMING UNIT 1 Lecture 4Vishal Patil
 
Database system by VISHAL PATIL
Database system by VISHAL PATILDatabase system by VISHAL PATIL
Database system by VISHAL PATILVishal Patil
 
Computational Biology, Part 4 Protein Coding Regions
Computational Biology, Part 4 Protein Coding RegionsComputational Biology, Part 4 Protein Coding Regions
Computational Biology, Part 4 Protein Coding Regionsbutest
 
Properties EM
Properties EMProperties EM
Properties EMtejas2019
 
How To Start And Keep Conversations Going With Girls
How To Start And Keep Conversations Going With GirlsHow To Start And Keep Conversations Going With Girls
How To Start And Keep Conversations Going With GirlsGeorge Hutton
 
Important Questions of fourier series with theoretical study Engg. Mathem...
Important Questions  of  fourier series with theoretical study   Engg. Mathem...Important Questions  of  fourier series with theoretical study   Engg. Mathem...
Important Questions of fourier series with theoretical study Engg. Mathem...Mohammad Imran
 
Steps for Developing a 'C' program
 Steps for Developing a 'C' program Steps for Developing a 'C' program
Steps for Developing a 'C' programSahithi Naraparaju
 
Introduction to molecular spectroscopy
Introduction to molecular spectroscopyIntroduction to molecular spectroscopy
Introduction to molecular spectroscopyNeel Kamal Kalita
 
Interpretation of IR
Interpretation of IRInterpretation of IR
Interpretation of IRLokesh Patil
 
Presentation & Pitching tips
Presentation & Pitching tipsPresentation & Pitching tips
Presentation & Pitching tipsABrandNewYou
 

Viewers also liked (20)

COMPUTER PROGRAMMING UNIT 1 Lecture 1
COMPUTER PROGRAMMING UNIT 1 Lecture 1COMPUTER PROGRAMMING UNIT 1 Lecture 1
COMPUTER PROGRAMMING UNIT 1 Lecture 1
 
COMPUTER PROGRAMMING UNIT 1 Lecture 3
COMPUTER PROGRAMMING UNIT 1 Lecture 3COMPUTER PROGRAMMING UNIT 1 Lecture 3
COMPUTER PROGRAMMING UNIT 1 Lecture 3
 
Computational Spectroscopy in G03
Computational Spectroscopy in G03Computational Spectroscopy in G03
Computational Spectroscopy in G03
 
Computer Programming- Lecture 5
Computer Programming- Lecture 5 Computer Programming- Lecture 5
Computer Programming- Lecture 5
 
COMPUTER PROGRAMMING UNIT 1 Lecture 6
COMPUTER PROGRAMMING UNIT 1 Lecture 6COMPUTER PROGRAMMING UNIT 1 Lecture 6
COMPUTER PROGRAMMING UNIT 1 Lecture 6
 
COMPUTER PROGRAMMING UNIT 1 Lecture 5
COMPUTER PROGRAMMING UNIT 1 Lecture 5COMPUTER PROGRAMMING UNIT 1 Lecture 5
COMPUTER PROGRAMMING UNIT 1 Lecture 5
 
COMPUTER PROGRAMMING UNIT 1 Lecture 4
COMPUTER PROGRAMMING UNIT 1 Lecture 4COMPUTER PROGRAMMING UNIT 1 Lecture 4
COMPUTER PROGRAMMING UNIT 1 Lecture 4
 
Database system by VISHAL PATIL
Database system by VISHAL PATILDatabase system by VISHAL PATIL
Database system by VISHAL PATIL
 
Computational Biology, Part 4 Protein Coding Regions
Computational Biology, Part 4 Protein Coding RegionsComputational Biology, Part 4 Protein Coding Regions
Computational Biology, Part 4 Protein Coding Regions
 
Properties EM
Properties EMProperties EM
Properties EM
 
Infrared spectoscopy
Infrared spectoscopyInfrared spectoscopy
Infrared spectoscopy
 
How To Start And Keep Conversations Going With Girls
How To Start And Keep Conversations Going With GirlsHow To Start And Keep Conversations Going With Girls
How To Start And Keep Conversations Going With Girls
 
Infrared spectroscopy
Infrared spectroscopyInfrared spectroscopy
Infrared spectroscopy
 
Important Questions of fourier series with theoretical study Engg. Mathem...
Important Questions  of  fourier series with theoretical study   Engg. Mathem...Important Questions  of  fourier series with theoretical study   Engg. Mathem...
Important Questions of fourier series with theoretical study Engg. Mathem...
 
C program compiler presentation
C program compiler presentationC program compiler presentation
C program compiler presentation
 
Steps for Developing a 'C' program
 Steps for Developing a 'C' program Steps for Developing a 'C' program
Steps for Developing a 'C' program
 
Introduction to molecular spectroscopy
Introduction to molecular spectroscopyIntroduction to molecular spectroscopy
Introduction to molecular spectroscopy
 
Interpretation of IR
Interpretation of IRInterpretation of IR
Interpretation of IR
 
Presentation & Pitching tips
Presentation & Pitching tipsPresentation & Pitching tips
Presentation & Pitching tips
 
Fcp lecture 01
Fcp lecture 01Fcp lecture 01
Fcp lecture 01
 

Similar to COMPUTER PROGRAMMING UNIT 1 Lecture 2

Programming fundamentals lecture 1 0f c
Programming fundamentals lecture 1 0f cProgramming fundamentals lecture 1 0f c
Programming fundamentals lecture 1 0f cRaja Hamid
 
Introduction to Programming
Introduction to ProgrammingIntroduction to Programming
Introduction to ProgrammingALI RAZA
 
Programming fundamentals 2
Programming fundamentals 2Programming fundamentals 2
Programming fundamentals 2Adeem Mirza
 
computational_thinking_gcse.pptx
computational_thinking_gcse.pptxcomputational_thinking_gcse.pptx
computational_thinking_gcse.pptxbirulangit23
 
Vce exam tips
Vce exam tipsVce exam tips
Vce exam tipsrltuition
 
Consolidation-Camp-Math-Lesson-2.pptx
Consolidation-Camp-Math-Lesson-2.pptxConsolidation-Camp-Math-Lesson-2.pptx
Consolidation-Camp-Math-Lesson-2.pptxLiezlAclan2
 
Solves Multi- step Routine and Non-routine Problems involving Division and an...
Solves Multi- step Routine and Non-routine Problems involving Division and an...Solves Multi- step Routine and Non-routine Problems involving Division and an...
Solves Multi- step Routine and Non-routine Problems involving Division and an...Nerisa Herman
 
Top 3 Tips on How to Solve Math Problems
Top 3 Tips on How to Solve Math ProblemsTop 3 Tips on How to Solve Math Problems
Top 3 Tips on How to Solve Math ProblemsStat Analytica
 
Problem solving UNIT - 4 [C PROGRAMMING] (BCA I SEM)
Problem solving UNIT - 4 [C PROGRAMMING] (BCA I SEM)Problem solving UNIT - 4 [C PROGRAMMING] (BCA I SEM)
Problem solving UNIT - 4 [C PROGRAMMING] (BCA I SEM)Mansi Tyagi
 
Today’s Number Daily Math Routine Todays Number is 12.5(This
Today’s Number Daily Math Routine Todays Number is 12.5(This Today’s Number Daily Math Routine Todays Number is 12.5(This
Today’s Number Daily Math Routine Todays Number is 12.5(This TakishaPeck109
 
Y11 Revision Strategies Booklet.pptx
Y11 Revision Strategies Booklet.pptxY11 Revision Strategies Booklet.pptx
Y11 Revision Strategies Booklet.pptxPuneetGoel27
 
Time Management Presentation by Mr. Mastali
Time Management Presentation by Mr. Mastali Time Management Presentation by Mr. Mastali
Time Management Presentation by Mr. Mastali Mahsa Kashkooli
 

Similar to COMPUTER PROGRAMMING UNIT 1 Lecture 2 (20)

Programming fundamentals lecture 1 0f c
Programming fundamentals lecture 1 0f cProgramming fundamentals lecture 1 0f c
Programming fundamentals lecture 1 0f c
 
Problem Solving I.ppt
Problem Solving I.pptProblem Solving I.ppt
Problem Solving I.ppt
 
Introduction to Programming
Introduction to ProgrammingIntroduction to Programming
Introduction to Programming
 
Programming fundamentals 2
Programming fundamentals 2Programming fundamentals 2
Programming fundamentals 2
 
computational_thinking_gcse.pptx
computational_thinking_gcse.pptxcomputational_thinking_gcse.pptx
computational_thinking_gcse.pptx
 
Vce exam tips
Vce exam tipsVce exam tips
Vce exam tips
 
Test prep mania
Test prep maniaTest prep mania
Test prep mania
 
Consolidation-Camp-Math-Lesson-2.pptx
Consolidation-Camp-Math-Lesson-2.pptxConsolidation-Camp-Math-Lesson-2.pptx
Consolidation-Camp-Math-Lesson-2.pptx
 
Do you follow instructions
Do you follow instructionsDo you follow instructions
Do you follow instructions
 
Solves Multi- step Routine and Non-routine Problems involving Division and an...
Solves Multi- step Routine and Non-routine Problems involving Division and an...Solves Multi- step Routine and Non-routine Problems involving Division and an...
Solves Multi- step Routine and Non-routine Problems involving Division and an...
 
Top 3 Tips on How to Solve Math Problems
Top 3 Tips on How to Solve Math ProblemsTop 3 Tips on How to Solve Math Problems
Top 3 Tips on How to Solve Math Problems
 
Problem solving UNIT - 4 [C PROGRAMMING] (BCA I SEM)
Problem solving UNIT - 4 [C PROGRAMMING] (BCA I SEM)Problem solving UNIT - 4 [C PROGRAMMING] (BCA I SEM)
Problem solving UNIT - 4 [C PROGRAMMING] (BCA I SEM)
 
CC-112-Lec.1.ppsx
CC-112-Lec.1.ppsxCC-112-Lec.1.ppsx
CC-112-Lec.1.ppsx
 
Today’s Number Daily Math Routine Todays Number is 12.5(This
Today’s Number Daily Math Routine Todays Number is 12.5(This Today’s Number Daily Math Routine Todays Number is 12.5(This
Today’s Number Daily Math Routine Todays Number is 12.5(This
 
Y11 Revision Strategies Booklet.pptx
Y11 Revision Strategies Booklet.pptxY11 Revision Strategies Booklet.pptx
Y11 Revision Strategies Booklet.pptx
 
Time Management Presentation by Mr. Mastali
Time Management Presentation by Mr. Mastali Time Management Presentation by Mr. Mastali
Time Management Presentation by Mr. Mastali
 
Lp mathematics iii
Lp mathematics iiiLp mathematics iii
Lp mathematics iii
 
Lp mathematics 3
Lp mathematics 3Lp mathematics 3
Lp mathematics 3
 
Unit 2 Problem Solving
Unit 2 Problem SolvingUnit 2 Problem Solving
Unit 2 Problem Solving
 
Unit2 problem solving
Unit2 problem solvingUnit2 problem solving
Unit2 problem solving
 

Recently uploaded

What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxwendy cai
 
chaitra-1.pptx fake news detection using machine learning
chaitra-1.pptx  fake news detection using machine learningchaitra-1.pptx  fake news detection using machine learning
chaitra-1.pptx fake news detection using machine learningmisbanausheenparvam
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations120cr0395
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile servicerehmti665
 
Analog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAnalog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAbhinavSharma374939
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escortsranjana rawat
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...ranjana rawat
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )Tsuyoshi Horigome
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxupamatechverse
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝soniya singh
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Serviceranjana rawat
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Christo Ananth
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...Soham Mondal
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)Suman Mia
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxJoão Esperancinha
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVRajaP95
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130Suhani Kapoor
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 

Recently uploaded (20)

What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptx
 
chaitra-1.pptx fake news detection using machine learning
chaitra-1.pptx  fake news detection using machine learningchaitra-1.pptx  fake news detection using machine learning
chaitra-1.pptx fake news detection using machine learning
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile service
 
Analog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAnalog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog Converter
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptx
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 

COMPUTER PROGRAMMING UNIT 1 Lecture 2

  • 1. COMPUTER PROGRAMMING Lecture 02 Prepared By Mr. V. S. Patil Dept (CSE)/AEC
  • 2. Unit 1 Problem Solving Syllabus Prepared By Mr. V. S. Patil Dept (CSE)/AEC
  • 3. 2 1  To understand the basics of problem solving on computers To solve any real life or program problem Objectives
  • 4. • Basic concept of problem on computer… • For solving problem on computer following steps are required. (This steps called as Software Life Cycle. ) 1) Problem Statement:- • The Problem statement should be clear and unambiguous. • If the statement is not precise and clear, the design and implementation will be erroneous. 2) Problem Analysis and Design:- • This step is very crucial step in writing a program. • The problem should analyzed to find the most efficient way in which it can be solve. • An algorithm to solve the problem is developed based on the
  • 5. continue.. 3) Analysis of the algorithm:- The algorithm should be analyzed to check if it is perform the desired action using a reasonable amount of time and memory. 4) Coding:- This step involves coding the algorithm using an appropriate language to form a program. • The choice of a programming language depends on a several factor. 5) Documentation:- • Documentation is essential to make the program easy to understand. • It informs the reader about the working of program.
  • 6. Continue.. 6) Testing:- • The program should be tested thoroughly using all the possible type of input. • Testing detects incorrectness of program if any. 7) Maintenance:- • The program may require changes depends on its application. • The changes and updates required are perform during maintenance.
  • 7. Problem Solving is easy if you follow these steps Understand the problem
  • 8. • Read the problem carefully. • Find the important information. • Write down the numbers. • Identify what the problem wants you to solve. • Ask if your answer is going to be a larger or smaller number compared to what you already know. Step 1 – Understand the problem
  • 9. Step 1 - Understand the Problem Read the problem carefully. •Luis earned 14 Accelerated Reading points the first week of November. At the end of the following week he had a total of 31 points. How many points did he earn the second week?
  • 10. • Luis earned 14 Accelerated Reading points the first week of November. At the end of the following week he had a total of 31 points. • How many points did he earn the second week? Step 1 - Understand the Problem Find the important information.
  • 11. • Luis earned 14 Accelerated Reading points the first week of November. At the end of the following week he had a total of 31 points. How many points did he earn the second week? Step 1 - Understand the Problem Write down the numbers. Total = 31 1st week =14
  • 12. Step 1 - Understand the Problem Identify what the problem wants you to solve Luis earned 14 Accelerated Reading points the first week of November. At the end of the following week he had a total of 31 points. How many points did he earn the second week? Total = 31 1st week =14 2nd week = ?
  • 13. Step 1 - Understand the Problem Ask if your answer is going to be a larger or smaller number compared to what you already know. • It will be smaller than the total but may or may not be smaller than the first week. Total = 31 1st week =14 2nd week = ?
  • 14. Problem Solving is easy if you follow these steps Decide how you’re going to solve the problem
  • 15. Step 2 - Decide how you’re going to solve the problem Choose a method Use a graph Use formulas Write an equation Make a list Find a pattern Work backwards Use reasoning Draw a picture Make a table Act it out
  • 16. Step 2 - Decide how you’re going to solve the problem Write your equation • Since I know both weeks total 31 I write 14 + s = 31 • I can use the inverse operation to solve 14 + s = 31 31 – 14 = s Total = 31 2nd week = ? 1st week =14
  • 17. Problem Solving is easy if you follow these steps Solve The Problem 31-14=17
  • 18. Problem Solving is easy if you follow these steps Look Back & Check
  • 19. Step 4 - Look Back & Check Reread the problem •Luis earned 14 Accelerated Reading points the first week of November. At the end of the following week he had a total of 31 points. How many points did he earn the second week? •Total=31 1st week=14
  • 20. Step 4 - Look Back & Check Substitute your new number •Luis earned 14 Accelerated Reading points the first week of November. At the end of the following week he had a total of 31 points. How many points did he earn the second week? •Total=31 1st week=14 2nd week=17 •14+17=31
  • 21. Step 4 - Look Back & Check Did your new number work? 14+17=31 Yes
  • 22. Question Bank 1.Explain the steps involved in problem solving on computer 2.Write down the steps to solve following problem. i) Addition of two numbers. ii) To calculate Area of circle