group project question c++
TRANSCRIPT
Group Project
Faculty of Creative Media and Innovative Technology | BTT121 | Page 1 of 4
Description
You have been assigned to develop a system that able to solve the problem in the
construction area Your system must able to show a menu driven program that will give
an option to user to choose the type of problem Consider the following problem
Problem one
A power station is on one side of a river that is one-half mile wide and a factory is eight
miles downstream on the other side of the river It costs RM7 per foot to run power lines
over land and RM9 per foot to run them under water Your objectives is to determine
how long the power line should run under water and how long it should run over land to
achieve the minimum total cost of laying the power line
Your program must able to identify the following
983085 The width of the river
983085 The distance of the factory downstream on the other side of the river
983085 The cost of laying the power line under water
983085 The cost of laying the power line over land
983085 The total cost of constructing the power line
983085 The length of the power line that run under water and the length that run over
land so the cost of constructing the power line is at the minimum
frac12 mile
x miles
8 miles
Power lineover land
Factor
y miles
Group Project
Faculty of Creative Media and Innovative Technology | BTT121 | Page 2 of 4
Problem two
A pipe is to be carried around the right ndashangled corner of two intersecting corridors
Suppose that the widths of the two intersecting corridors are 5 feet and 8 feet Your
objective is to find the length of the longest pipe rounded to the nearest foot that can be
carried level around the right-angled corner
Write a program that able to get the input of width of both the hallways The program
also able to show the length of the longest pipe rounded to the nearest foot that can be
carried level around the right-angled corner
The length of the pipe is given by l = AB + BC = 8 sin + 5 cos where 0 lt lt π 2
Instructions
1 Your program must contain at least TEN (10) functions
2 To include a menu driven program that will show the options of problems3 No array will be used in this program But the techniques used are not limited
l
A
B
C
8
5
Group Project
Faculty of Creative Media and Innovative Technology | BTT121 | Page 3 of 4
Documentation Report
Students are needed to prepare a report with the following guidelines
a) Cover page (will be provided by the lecture and be uploaded on the website)
b) Table of contents
c) Report
i Section A Variables ndash to list all variables created
ii Section B Functions
iii Section C Source code
iv Section D Output
v Section E Difficulties and Personal improvements
d) Group Memberrsquos evaluation (will be provided by the lecturer)
Format for Documentation Report
Format for normal statement
a) Font Times New Roman
b) Font size 12 pt
c) Paragrapah
i before 0 pt
ii after 0 pt
iii Line spacing 15 lines
Format for sourcecode
a) Font Courier new
b) Font size 11 pt
No Line Variables In Functions Descriptions
1 23 int count Total() to represent the total of objects
2 hellip helliphelliphellip helliphelliphelliphellip helliphelliphelliphellip
No Line Functions Descriptions
1 15 average()to receive all values from user calculate the total
and return the average
2 hellip helliphelliphellip helliphelliphelliphellip
Group Project
Faculty of Creative Media and Innovative Technology | BTT121 | Page 4 of 4
Markings
Students are marked based on the following (not limited to)
a) Creativity
b) Format for algorithm
c) C++ Code structure
d) C++ flow of processes
e) Readable issues
f) Correct code (based on question needs)
g) Correct ouput (based on program created and relevant to the questions)
h) Teamwork effort
i) Plagiarism copy outsourcing ( caused for ZERO MARKS) ndash do not ever come
for appeal
Dateline FEBRUARY 17th 2014 (MONDAY) before 5PM
Group Project
Faculty of Creative Media and Innovative Technology | BTT121 | Page 2 of 4
Problem two
A pipe is to be carried around the right ndashangled corner of two intersecting corridors
Suppose that the widths of the two intersecting corridors are 5 feet and 8 feet Your
objective is to find the length of the longest pipe rounded to the nearest foot that can be
carried level around the right-angled corner
Write a program that able to get the input of width of both the hallways The program
also able to show the length of the longest pipe rounded to the nearest foot that can be
carried level around the right-angled corner
The length of the pipe is given by l = AB + BC = 8 sin + 5 cos where 0 lt lt π 2
Instructions
1 Your program must contain at least TEN (10) functions
2 To include a menu driven program that will show the options of problems3 No array will be used in this program But the techniques used are not limited
l
A
B
C
8
5
Group Project
Faculty of Creative Media and Innovative Technology | BTT121 | Page 3 of 4
Documentation Report
Students are needed to prepare a report with the following guidelines
a) Cover page (will be provided by the lecture and be uploaded on the website)
b) Table of contents
c) Report
i Section A Variables ndash to list all variables created
ii Section B Functions
iii Section C Source code
iv Section D Output
v Section E Difficulties and Personal improvements
d) Group Memberrsquos evaluation (will be provided by the lecturer)
Format for Documentation Report
Format for normal statement
a) Font Times New Roman
b) Font size 12 pt
c) Paragrapah
i before 0 pt
ii after 0 pt
iii Line spacing 15 lines
Format for sourcecode
a) Font Courier new
b) Font size 11 pt
No Line Variables In Functions Descriptions
1 23 int count Total() to represent the total of objects
2 hellip helliphelliphellip helliphelliphelliphellip helliphelliphelliphellip
No Line Functions Descriptions
1 15 average()to receive all values from user calculate the total
and return the average
2 hellip helliphelliphellip helliphelliphelliphellip
Group Project
Faculty of Creative Media and Innovative Technology | BTT121 | Page 4 of 4
Markings
Students are marked based on the following (not limited to)
a) Creativity
b) Format for algorithm
c) C++ Code structure
d) C++ flow of processes
e) Readable issues
f) Correct code (based on question needs)
g) Correct ouput (based on program created and relevant to the questions)
h) Teamwork effort
i) Plagiarism copy outsourcing ( caused for ZERO MARKS) ndash do not ever come
for appeal
Dateline FEBRUARY 17th 2014 (MONDAY) before 5PM
Group Project
Faculty of Creative Media and Innovative Technology | BTT121 | Page 3 of 4
Documentation Report
Students are needed to prepare a report with the following guidelines
a) Cover page (will be provided by the lecture and be uploaded on the website)
b) Table of contents
c) Report
i Section A Variables ndash to list all variables created
ii Section B Functions
iii Section C Source code
iv Section D Output
v Section E Difficulties and Personal improvements
d) Group Memberrsquos evaluation (will be provided by the lecturer)
Format for Documentation Report
Format for normal statement
a) Font Times New Roman
b) Font size 12 pt
c) Paragrapah
i before 0 pt
ii after 0 pt
iii Line spacing 15 lines
Format for sourcecode
a) Font Courier new
b) Font size 11 pt
No Line Variables In Functions Descriptions
1 23 int count Total() to represent the total of objects
2 hellip helliphelliphellip helliphelliphelliphellip helliphelliphelliphellip
No Line Functions Descriptions
1 15 average()to receive all values from user calculate the total
and return the average
2 hellip helliphelliphellip helliphelliphelliphellip
Group Project
Faculty of Creative Media and Innovative Technology | BTT121 | Page 4 of 4
Markings
Students are marked based on the following (not limited to)
a) Creativity
b) Format for algorithm
c) C++ Code structure
d) C++ flow of processes
e) Readable issues
f) Correct code (based on question needs)
g) Correct ouput (based on program created and relevant to the questions)
h) Teamwork effort
i) Plagiarism copy outsourcing ( caused for ZERO MARKS) ndash do not ever come
for appeal
Dateline FEBRUARY 17th 2014 (MONDAY) before 5PM
Group Project
Faculty of Creative Media and Innovative Technology | BTT121 | Page 4 of 4
Markings
Students are marked based on the following (not limited to)
a) Creativity
b) Format for algorithm
c) C++ Code structure
d) C++ flow of processes
e) Readable issues
f) Correct code (based on question needs)
g) Correct ouput (based on program created and relevant to the questions)
h) Teamwork effort
i) Plagiarism copy outsourcing ( caused for ZERO MARKS) ndash do not ever come
for appeal
Dateline FEBRUARY 17th 2014 (MONDAY) before 5PM