SlideShare a Scribd company logo
1 of 1
Download to read offline
Develop a modular Python program for your unit conversion problem, i.e., the problem you
worked on for Homeworks #2, #3, #4, and #8.
Here is a modular Python program that converts galactic standard weeks to minutes. Use this
example to guide you in developing your Homework #9 solution.
You will learn the basics of developing modular programs in Unit #6. When we develop a
program or software system to address a complex problem, we can break down the problem into
subtasks and write code modules, each of which focuses on one of the subtasks.
The modular unit conversion program is functionality decomposed as shown in the structure
chart below
Four modules are used, one of which is the main
The main controls and coordinates the activities of the modules written for the major subtasks
Modules communicate with each other by using proper parameter passing and explicit function
return values

More Related Content

Similar to Develop a modular Python program for your unit conversion problem, i.pdf

Problem Solving Techniques
Problem Solving TechniquesProblem Solving Techniques
Problem Solving Techniques
Ashesh R
 
Week 4 Assignment - Software Development PlanScenario-Your team has be.docx
Week 4 Assignment - Software Development PlanScenario-Your team has be.docxWeek 4 Assignment - Software Development PlanScenario-Your team has be.docx
Week 4 Assignment - Software Development PlanScenario-Your team has be.docx
estefana2345678
 
Introduction To C++ programming and its basic concepts
Introduction To C++ programming and its basic conceptsIntroduction To C++ programming and its basic concepts
Introduction To C++ programming and its basic concepts
ssuserf86fba
 
Coupling based structural metrics for measuring the quality of a software (sy...
Coupling based structural metrics for measuring the quality of a software (sy...Coupling based structural metrics for measuring the quality of a software (sy...
Coupling based structural metrics for measuring the quality of a software (sy...
Mumbai Academisc
 
Required is a project that seeks to develop a program that check.pdf
Required is a project that seeks to develop a program that check.pdfRequired is a project that seeks to develop a program that check.pdf
Required is a project that seeks to develop a program that check.pdf
climatecontrolsv
 
Introduction to object oriented language
Introduction to object oriented languageIntroduction to object oriented language
Introduction to object oriented language
farhan amjad
 
Composite applications tutorial
Composite applications tutorialComposite applications tutorial
Composite applications tutorial
dominion
 
Introduction to Computer Programming
Introduction to Computer ProgrammingIntroduction to Computer Programming
Introduction to Computer Programming
Prof. Erwin Globio
 
1.1 Project 2 Palindrome Mini-Project [55] Required is a project t.pdf
1.1 Project 2 Palindrome Mini-Project [55] Required is a project t.pdf1.1 Project 2 Palindrome Mini-Project [55] Required is a project t.pdf
1.1 Project 2 Palindrome Mini-Project [55] Required is a project t.pdf
kannanelectronite
 

Similar to Develop a modular Python program for your unit conversion problem, i.pdf (20)

C tutorials
C tutorialsC tutorials
C tutorials
 
Problem Solving Techniques
Problem Solving TechniquesProblem Solving Techniques
Problem Solving Techniques
 
Week 4 Assignment - Software Development PlanScenario-Your team has be.docx
Week 4 Assignment - Software Development PlanScenario-Your team has be.docxWeek 4 Assignment - Software Development PlanScenario-Your team has be.docx
Week 4 Assignment - Software Development PlanScenario-Your team has be.docx
 
Introduction To C++ programming and its basic concepts
Introduction To C++ programming and its basic conceptsIntroduction To C++ programming and its basic concepts
Introduction To C++ programming and its basic concepts
 
Coupling based structural metrics for measuring the quality of a software (sy...
Coupling based structural metrics for measuring the quality of a software (sy...Coupling based structural metrics for measuring the quality of a software (sy...
Coupling based structural metrics for measuring the quality of a software (sy...
 
Introduction to vb.net
Introduction to vb.netIntroduction to vb.net
Introduction to vb.net
 
Software design
Software designSoftware design
Software design
 
Chapter 2(1)
Chapter 2(1)Chapter 2(1)
Chapter 2(1)
 
Hm system programming class 1
Hm system programming class 1Hm system programming class 1
Hm system programming class 1
 
Required is a project that seeks to develop a program that check.pdf
Required is a project that seeks to develop a program that check.pdfRequired is a project that seeks to develop a program that check.pdf
Required is a project that seeks to develop a program that check.pdf
 
Introduction to object oriented language
Introduction to object oriented languageIntroduction to object oriented language
Introduction to object oriented language
 
Composite applications tutorial
Composite applications tutorialComposite applications tutorial
Composite applications tutorial
 
Linking in MS-Dos System
Linking in MS-Dos SystemLinking in MS-Dos System
Linking in MS-Dos System
 
Programming
ProgrammingProgramming
Programming
 
06 fse design
06 fse design06 fse design
06 fse design
 
Introduction to Computer Programming
Introduction to Computer ProgrammingIntroduction to Computer Programming
Introduction to Computer Programming
 
Programming in Java: Getting Started
Programming in Java: Getting StartedProgramming in Java: Getting Started
Programming in Java: Getting Started
 
Ex11 mini project
Ex11 mini projectEx11 mini project
Ex11 mini project
 
Embedded c lab and keil c manual
Embedded  c  lab  and keil c  manualEmbedded  c  lab  and keil c  manual
Embedded c lab and keil c manual
 
1.1 Project 2 Palindrome Mini-Project [55] Required is a project t.pdf
1.1 Project 2 Palindrome Mini-Project [55] Required is a project t.pdf1.1 Project 2 Palindrome Mini-Project [55] Required is a project t.pdf
1.1 Project 2 Palindrome Mini-Project [55] Required is a project t.pdf
 

More from ameershoe

Diana and Ryan Workman were married on January 1 of last year. Rya.pdf
Diana and Ryan Workman were married on January 1 of last year. Rya.pdfDiana and Ryan Workman were married on January 1 of last year. Rya.pdf
Diana and Ryan Workman were married on January 1 of last year. Rya.pdf
ameershoe
 
Develop a bulleted list of 5-7 issues or best practices that you ide.pdf
Develop a bulleted list of 5-7 issues or best practices that you ide.pdfDevelop a bulleted list of 5-7 issues or best practices that you ide.pdf
Develop a bulleted list of 5-7 issues or best practices that you ide.pdf
ameershoe
 

More from ameershoe (20)

Discuss strategic Management Process and benefits of portfolio manag.pdf
Discuss strategic Management Process and benefits of portfolio manag.pdfDiscuss strategic Management Process and benefits of portfolio manag.pdf
Discuss strategic Management Process and benefits of portfolio manag.pdf
 
Directions Be sure to save an electronic copy of your answer before.pdf
Directions Be sure to save an electronic copy of your answer before.pdfDirections Be sure to save an electronic copy of your answer before.pdf
Directions Be sure to save an electronic copy of your answer before.pdf
 
Dinoland Manufacturing shipped consignment inventory of $250,000 to .pdf
Dinoland Manufacturing shipped consignment inventory of $250,000 to .pdfDinoland Manufacturing shipped consignment inventory of $250,000 to .pdf
Dinoland Manufacturing shipped consignment inventory of $250,000 to .pdf
 
Diagnosis The absence of adequate peripheral blood circulation, as .pdf
Diagnosis The absence of adequate peripheral blood circulation, as .pdfDiagnosis The absence of adequate peripheral blood circulation, as .pdf
Diagnosis The absence of adequate peripheral blood circulation, as .pdf
 
Discrimination by employeesA. is a situation in which all groups .pdf
Discrimination by employeesA. is a situation in which all groups .pdfDiscrimination by employeesA. is a situation in which all groups .pdf
Discrimination by employeesA. is a situation in which all groups .pdf
 
Diana and Ryan Workman were married on January 1 of last year. Rya.pdf
Diana and Ryan Workman were married on January 1 of last year. Rya.pdfDiana and Ryan Workman were married on January 1 of last year. Rya.pdf
Diana and Ryan Workman were married on January 1 of last year. Rya.pdf
 
Devise a C program that determines whether a 1D array of char (strin.pdf
Devise a C program that determines whether a 1D array of char (strin.pdfDevise a C program that determines whether a 1D array of char (strin.pdf
Devise a C program that determines whether a 1D array of char (strin.pdf
 
Detroit is a hub for the airline carrier Delta. Because Delta servic.pdf
Detroit is a hub for the airline carrier Delta. Because Delta servic.pdfDetroit is a hub for the airline carrier Delta. Because Delta servic.pdf
Detroit is a hub for the airline carrier Delta. Because Delta servic.pdf
 
Devise a C program that reads a number of X integer numbers from an .pdf
Devise a C program that reads a number of X integer numbers from an .pdfDevise a C program that reads a number of X integer numbers from an .pdf
Devise a C program that reads a number of X integer numbers from an .pdf
 
Develop a simple consoletext-based database application to manage d.pdf
Develop a simple consoletext-based database application to manage d.pdfDevelop a simple consoletext-based database application to manage d.pdf
Develop a simple consoletext-based database application to manage d.pdf
 
Develop a bulleted list of 5-7 issues or best practices that you ide.pdf
Develop a bulleted list of 5-7 issues or best practices that you ide.pdfDevelop a bulleted list of 5-7 issues or best practices that you ide.pdf
Develop a bulleted list of 5-7 issues or best practices that you ide.pdf
 
Develop a comprehensive logistics plan, including a detailed descripti.pdf
Develop a comprehensive logistics plan, including a detailed descripti.pdfDevelop a comprehensive logistics plan, including a detailed descripti.pdf
Develop a comprehensive logistics plan, including a detailed descripti.pdf
 
Develop a comprehensive logistics plan using it elements( storage ha.pdf
Develop a comprehensive logistics plan using it elements( storage ha.pdfDevelop a comprehensive logistics plan using it elements( storage ha.pdf
Develop a comprehensive logistics plan using it elements( storage ha.pdf
 
Determining Selected Amounts for Cash Flows from (Used for) Operatin.pdf
Determining Selected Amounts for Cash Flows from (Used for) Operatin.pdfDetermining Selected Amounts for Cash Flows from (Used for) Operatin.pdf
Determining Selected Amounts for Cash Flows from (Used for) Operatin.pdf
 
DISCHARGE PLAN ( write most Prioritize according to your patient�s n.pdf
DISCHARGE PLAN ( write most Prioritize according to your patient�s n.pdfDISCHARGE PLAN ( write most Prioritize according to your patient�s n.pdf
DISCHARGE PLAN ( write most Prioritize according to your patient�s n.pdf
 
Differences in signal strength are produced during action potential .pdf
Differences in signal strength are produced during action potential .pdfDifferences in signal strength are produced during action potential .pdf
Differences in signal strength are produced during action potential .pdf
 
Devon est� acusado de robar una joyer�a y es encarcelado sumariament.pdf
Devon est� acusado de robar una joyer�a y es encarcelado sumariament.pdfDevon est� acusado de robar una joyer�a y es encarcelado sumariament.pdf
Devon est� acusado de robar una joyer�a y es encarcelado sumariament.pdf
 
discuss anatomy of fish b) Discuss the homeostasis of body temp.pdf
discuss  anatomy  of fish  b) Discuss the homeostasis of body temp.pdfdiscuss  anatomy  of fish  b) Discuss the homeostasis of body temp.pdf
discuss anatomy of fish b) Discuss the homeostasis of body temp.pdf
 
Discuss epigenetics and how it explains gene expression specifically.pdf
Discuss epigenetics and how it explains gene expression specifically.pdfDiscuss epigenetics and how it explains gene expression specifically.pdf
Discuss epigenetics and how it explains gene expression specifically.pdf
 
DireccionesLea atentamente y responda cada pregunta. Complete sus.pdf
DireccionesLea atentamente y responda cada pregunta. Complete sus.pdfDireccionesLea atentamente y responda cada pregunta. Complete sus.pdf
DireccionesLea atentamente y responda cada pregunta. Complete sus.pdf
 

Recently uploaded

Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
kauryashika82
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
AnaAcapella
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
QucHHunhnh
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
 

Recently uploaded (20)

Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptx
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 

Develop a modular Python program for your unit conversion problem, i.pdf

  • 1. Develop a modular Python program for your unit conversion problem, i.e., the problem you worked on for Homeworks #2, #3, #4, and #8. Here is a modular Python program that converts galactic standard weeks to minutes. Use this example to guide you in developing your Homework #9 solution. You will learn the basics of developing modular programs in Unit #6. When we develop a program or software system to address a complex problem, we can break down the problem into subtasks and write code modules, each of which focuses on one of the subtasks. The modular unit conversion program is functionality decomposed as shown in the structure chart below Four modules are used, one of which is the main The main controls and coordinates the activities of the modules written for the major subtasks Modules communicate with each other by using proper parameter passing and explicit function return values