SlideShare a Scribd company logo
ACTIVITIES ON SOFTWARE
DEVELOPMENT
A C++ program is required to calculate the value of
distance, in miles, given this relationship:
distance = average - speed × time
a. For this programming problem, how many outputs are
required?
b. How many inputs does this problem have?
c. Write an algorithm for converting the input items into
output items.
d. Test the algorithm written for Exercise 2c using the
following sample data: speed is 55 miles per hour and time
is 2.5 hours.
e. How must the algorithm you wrote in Exercise 2c be
modified if the elapsed time is given in minutes instead of
hours?
The equation describing exponential growth is as
follows:
y = ex
Using this equation, a C++ program is required to
calculate the value of y.
a. For this programming problem, how many outputs
are required?
b. How many inputs does this problem have?
c. Write an algorithm for converting the input items
into output items.
d. Test the algorithm written for Exercise 9c, assuming
e is 2.718 and x is 10.
A C++ program is required to display the following
name and address:
Mr. S. Hazlet 63 Seminole Way Dumont, NJ 07030
a. For this programming problem, how many lines of
output are required?
b. How many inputs does this problem have?
c. Write an algorithm for converting the input items
into output items.
A C++ program is required to determine the value of
Ergies, given this relationship:
Ergies = Fergies × Lergies
a. For this programming problem, how many outputs
are required?
b. How many inputs does this problem have?
c. Determine an algorithm for converting the input
items into output items.
d. Test the algorithm written for Exercise 3c using the
following sample data: Fergies = 14.65 and Lergies =
4.

More Related Content

What's hot (20)

PDF
A02
lksoo
 
DOCX
Task python
Anil raj Annu
 
PDF
Rethinking metrics: metrics 2.0 @ Lisa 2014
Dieter Plaetinck
 
PPSX
CS106 Lab 7 - For loop
Nada Kamel
 
PPTX
Passing stuctures to function
ALI RAZA
 
PPSX
CS106 Lab 4 - If statement
Nada Kamel
 
DOCX
LAB 2 Report.docx
AhamedMusharaf1
 
PDF
Hw5 2017-spring
奕安 陳
 
PPTX
Programming in c
CS_GDRCST
 
DOCX
Practical no 4
Kshitija Dalvi
 
DOCX
Cosc 2425 project 2 part 1 implement the following c++ code
AISHA232980
 
DOCX
Practical no 3
Kshitija Dalvi
 
PPT
Production
Ginish Dahal
 
PPTX
Labreportofai
ilias ahmed
 
PPTX
Functions in c++
Padma Kannan
 
DOCX
Mettl prg
RajSingh734307
 
PPTX
Learning curve
ShafiulArefinPial
 
PPTX
Space complexity
Bhanusree Koduru
 
PPTX
Onto Functions
2IIM
 
PDF
Dependency Resolution with SAT [Symfony Live 2011 Paris]
Nils Adermann
 
A02
lksoo
 
Task python
Anil raj Annu
 
Rethinking metrics: metrics 2.0 @ Lisa 2014
Dieter Plaetinck
 
CS106 Lab 7 - For loop
Nada Kamel
 
Passing stuctures to function
ALI RAZA
 
CS106 Lab 4 - If statement
Nada Kamel
 
LAB 2 Report.docx
AhamedMusharaf1
 
Hw5 2017-spring
奕安 陳
 
Programming in c
CS_GDRCST
 
Practical no 4
Kshitija Dalvi
 
Cosc 2425 project 2 part 1 implement the following c++ code
AISHA232980
 
Practical no 3
Kshitija Dalvi
 
Production
Ginish Dahal
 
Labreportofai
ilias ahmed
 
Functions in c++
Padma Kannan
 
Mettl prg
RajSingh734307
 
Learning curve
ShafiulArefinPial
 
Space complexity
Bhanusree Koduru
 
Onto Functions
2IIM
 
Dependency Resolution with SAT [Symfony Live 2011 Paris]
Nils Adermann
 

Similar to Activities on Software Development (20)

PDF
Basic Concepts of Programming - Practical Exercises
ChereLemma2
 
PPT
Apclass
geishaannealagos
 
PPTX
Programming For Engineers Functions - Part #1.pptx
NoorAntakia
 
PPT
Apclass (2)
geishaannealagos
 
PPT
Apclass (2)
geishaannealagos
 
PPT
chap2_Variables_In_Proraming_Introduction.ppt
GordanaJovanoska1
 
PDF
Introduction to Basic C++ Program Examples .pdf
simegnew Ataley
 
ODT
(4) cpp automatic arrays_pointers_c-strings_exercises
Nico Ludwig
 
PPTX
lab-8 (1).pptx
ShimoFcis
 
PDF
Cs8261 cp lab syllabus
Palani Chamy
 
ODT
(6) cpp numeric representation_exercises
Nico Ludwig
 
PPT
Lab 1
emailharmeet
 
PPTX
Lecture # 1 - Introduction Revision - 1 OOPS.pptx
SanaullahAttariQadri
 
PPTX
Basic Programming concepts - Programming with C++
Mohamed El Desouki
 
PDF
Acm aleppo cpc training introduction 1
Ahmad Bashar Eter
 
DOC
Labsheet2
rohassanie
 
DOC
Sp 1418794917
lakshmi r
 
PDF
Basic Elements of C++
Jason J Pulikkottil
 
Basic Concepts of Programming - Practical Exercises
ChereLemma2
 
Programming For Engineers Functions - Part #1.pptx
NoorAntakia
 
Apclass (2)
geishaannealagos
 
Apclass (2)
geishaannealagos
 
chap2_Variables_In_Proraming_Introduction.ppt
GordanaJovanoska1
 
Introduction to Basic C++ Program Examples .pdf
simegnew Ataley
 
(4) cpp automatic arrays_pointers_c-strings_exercises
Nico Ludwig
 
lab-8 (1).pptx
ShimoFcis
 
Cs8261 cp lab syllabus
Palani Chamy
 
(6) cpp numeric representation_exercises
Nico Ludwig
 
Lecture # 1 - Introduction Revision - 1 OOPS.pptx
SanaullahAttariQadri
 
Basic Programming concepts - Programming with C++
Mohamed El Desouki
 
Acm aleppo cpc training introduction 1
Ahmad Bashar Eter
 
Labsheet2
rohassanie
 
Sp 1418794917
lakshmi r
 
Basic Elements of C++
Jason J Pulikkottil
 
Ad

More from Nicole Ynne Estabillo (15)

PPT
Sound and Waves
Nicole Ynne Estabillo
 
PPT
Mirrors and Reflections
Nicole Ynne Estabillo
 
PPT
Electromagnetic Spectrum
Nicole Ynne Estabillo
 
PPTX
Mathematics 10 (Quarter Two)
Nicole Ynne Estabillo
 
PDF
Ekonomiks 10 (Unit Two)
Nicole Ynne Estabillo
 
PPT
Electromagnetic Waves
Nicole Ynne Estabillo
 
PPTX
Software Development
Nicole Ynne Estabillo
 
PPTX
Operator Precedence and Associativity
Nicole Ynne Estabillo
 
PPTX
Operands (Modulo)
Nicole Ynne Estabillo
 
PPTX
More on Data Types (Exponential and Scientific Notations)
Nicole Ynne Estabillo
 
PPTX
Data Types
Nicole Ynne Estabillo
 
PPTX
Common Programming Errors
Nicole Ynne Estabillo
 
PPTX
Activities on Operator Precedence and Associativity
Nicole Ynne Estabillo
 
PPTX
Activities on Exponential and Scientific Expressions
Nicole Ynne Estabillo
 
PPTX
Activities on Operands
Nicole Ynne Estabillo
 
Sound and Waves
Nicole Ynne Estabillo
 
Mirrors and Reflections
Nicole Ynne Estabillo
 
Electromagnetic Spectrum
Nicole Ynne Estabillo
 
Mathematics 10 (Quarter Two)
Nicole Ynne Estabillo
 
Ekonomiks 10 (Unit Two)
Nicole Ynne Estabillo
 
Electromagnetic Waves
Nicole Ynne Estabillo
 
Software Development
Nicole Ynne Estabillo
 
Operator Precedence and Associativity
Nicole Ynne Estabillo
 
Operands (Modulo)
Nicole Ynne Estabillo
 
More on Data Types (Exponential and Scientific Notations)
Nicole Ynne Estabillo
 
Common Programming Errors
Nicole Ynne Estabillo
 
Activities on Operator Precedence and Associativity
Nicole Ynne Estabillo
 
Activities on Exponential and Scientific Expressions
Nicole Ynne Estabillo
 
Activities on Operands
Nicole Ynne Estabillo
 
Ad

Recently uploaded (20)

PDF
Horarios de distribución de agua en julio
pegazohn1978
 
PPTX
ENG8_Q1_WEEK2_LESSON1. Presentation pptx
marawehsvinetshe
 
PPTX
How to Manage Allocation Report for Manufacturing Orders in Odoo 18
Celine George
 
PDF
Is Assignment Help Legal in Australia_.pdf
thomas19williams83
 
PDF
IMPORTANT GUIDELINES FOR M.Sc.ZOOLOGY DISSERTATION
raviralanaresh2
 
PDF
Governor Josh Stein letter to NC delegation of U.S. House
Mebane Rash
 
PPTX
HUMAN RESOURCE MANAGEMENT: RECRUITMENT, SELECTION, PLACEMENT, DEPLOYMENT, TRA...
PRADEEP ABOTHU
 
PPTX
Identifying elements in the story. Arrange the events in the story
geraldineamahido2
 
PPTX
infertility, types,causes, impact, and management
Ritu480198
 
PPTX
How to Create a Customer From Website in Odoo 18.pptx
Celine George
 
PPTX
SD_GMRC5_Session 6AB_Dulog Pedagohikal at Pagtataya (1).pptx
NickeyArguelles
 
PDF
Lesson 1 - Nature of Inquiry and Research.pdf
marvinnbustamante1
 
PPT
Indian Contract Act 1872, Business Law #MBA #BBA #BCOM
priyasinghy107
 
PPTX
Marketing Management PPT Unit 1 and Unit 2.pptx
Sri Ramakrishna College of Arts and science
 
PPTX
Lesson 1 Cell (Structures, Functions, and Theory).pptx
marvinnbustamante1
 
PDF
Week 2 - Irish Natural Heritage Powerpoint.pdf
swainealan
 
PPTX
Ward Management: Patient Care, Personnel, Equipment, and Environment.pptx
PRADEEP ABOTHU
 
PPTX
Building Powerful Agentic AI with Google ADK, MCP, RAG, and Ollama.pptx
Tamanna36
 
PPTX
care of patient with elimination needs.pptx
Rekhanjali Gupta
 
PDF
Vietnam Street Food & QSR Market 2025-1.pdf
ssuserec8cd0
 
Horarios de distribución de agua en julio
pegazohn1978
 
ENG8_Q1_WEEK2_LESSON1. Presentation pptx
marawehsvinetshe
 
How to Manage Allocation Report for Manufacturing Orders in Odoo 18
Celine George
 
Is Assignment Help Legal in Australia_.pdf
thomas19williams83
 
IMPORTANT GUIDELINES FOR M.Sc.ZOOLOGY DISSERTATION
raviralanaresh2
 
Governor Josh Stein letter to NC delegation of U.S. House
Mebane Rash
 
HUMAN RESOURCE MANAGEMENT: RECRUITMENT, SELECTION, PLACEMENT, DEPLOYMENT, TRA...
PRADEEP ABOTHU
 
Identifying elements in the story. Arrange the events in the story
geraldineamahido2
 
infertility, types,causes, impact, and management
Ritu480198
 
How to Create a Customer From Website in Odoo 18.pptx
Celine George
 
SD_GMRC5_Session 6AB_Dulog Pedagohikal at Pagtataya (1).pptx
NickeyArguelles
 
Lesson 1 - Nature of Inquiry and Research.pdf
marvinnbustamante1
 
Indian Contract Act 1872, Business Law #MBA #BBA #BCOM
priyasinghy107
 
Marketing Management PPT Unit 1 and Unit 2.pptx
Sri Ramakrishna College of Arts and science
 
Lesson 1 Cell (Structures, Functions, and Theory).pptx
marvinnbustamante1
 
Week 2 - Irish Natural Heritage Powerpoint.pdf
swainealan
 
Ward Management: Patient Care, Personnel, Equipment, and Environment.pptx
PRADEEP ABOTHU
 
Building Powerful Agentic AI with Google ADK, MCP, RAG, and Ollama.pptx
Tamanna36
 
care of patient with elimination needs.pptx
Rekhanjali Gupta
 
Vietnam Street Food & QSR Market 2025-1.pdf
ssuserec8cd0
 

Activities on Software Development

  • 2. A C++ program is required to calculate the value of distance, in miles, given this relationship: distance = average - speed × time a. For this programming problem, how many outputs are required? b. How many inputs does this problem have? c. Write an algorithm for converting the input items into output items. d. Test the algorithm written for Exercise 2c using the following sample data: speed is 55 miles per hour and time is 2.5 hours. e. How must the algorithm you wrote in Exercise 2c be modified if the elapsed time is given in minutes instead of hours?
  • 3. The equation describing exponential growth is as follows: y = ex Using this equation, a C++ program is required to calculate the value of y. a. For this programming problem, how many outputs are required? b. How many inputs does this problem have? c. Write an algorithm for converting the input items into output items. d. Test the algorithm written for Exercise 9c, assuming e is 2.718 and x is 10.
  • 4. A C++ program is required to display the following name and address: Mr. S. Hazlet 63 Seminole Way Dumont, NJ 07030 a. For this programming problem, how many lines of output are required? b. How many inputs does this problem have? c. Write an algorithm for converting the input items into output items.
  • 5. A C++ program is required to determine the value of Ergies, given this relationship: Ergies = Fergies × Lergies a. For this programming problem, how many outputs are required? b. How many inputs does this problem have? c. Determine an algorithm for converting the input items into output items. d. Test the algorithm written for Exercise 3c using the following sample data: Fergies = 14.65 and Lergies = 4.