Uploaded by Eng: Ahmed elgamel

2020-05-08 10-32-40

advertisement
Integrated Thebes Institution
Thebes Higher Institution for Computer and Management Science
Structured Programming Course
-------------------------------------------------------------------------------------------------------------------------------
“Structured Programming Research Guidelines”
Objective of this research is to show your familiarity with structured programming
concepts studied in this course. Your research should emphasis the understanding of
Software Development Life Cycle and your professional acquired problem-solving skills
learned out through this semester, your work should cover all the below steps after
choosing one of the following case studies:
Case Study #1:
There are 100 million people in our country whose population increases by 5 % each year.
a) Write a program that displays the annual population and determines how many years
(count Years) it will take for the population to pass 150 million.
b) Modify the previous program, if the population decreases by 2% each year due to the
Coronavirus (COVID-19). Determine the number of populations after 5 years.
Case Study #2:
Write a program to process a collection of daily high temperatures, and it should display the
category of each temperature. Your program should count and print the following:
a)
b)
c)
d)
the number of hot days (high temperature 85 or higher),
the number of pleasant days (high temperature 60–84),
the number of cold days (high temperature less than 60).
Test your program on the following data: 55 62 68 74 59 45 41 58 60 67 65 78 82 88 91
92 90 93 87 80 78 79 72 68 61 59
e) Modify your program to display the average temperature (a real number) at the end of
the run.
Case Study #3:
A farmer wants to build a wooden fence around a rectangular field. He measures the length
and the width of the field. He decided the fence height to be 1.5 meters tall and each board
of the fence is 10 cm wide. He has to decide how wide the space between each board of the
fence should be. Help him with a program that calculates:
a) the length of all boards required to be bought.
b) The total length of boards given that the amount of board waste (10%) at cutting the
boards to suitable length.
c) the total price of the boards by providing the price per meter.
---------------------------------------------------------------------------------------------------------------------------------------------
Structured Programming Research Guidelines | Dr. Mohamed Sameh
Page 1 of 3
Integrated Thebes Institution
Thebes Higher Institution for Computer and Management Science
Structured Programming Course
-------------------------------------------------------------------------------------------------------------------------------
Research Document Sections: 1. Abstract
An abstract summarizes, usually in one paragraph, the major aspects of the entire
research topic in a sequence conducted throughout your work.
2. Introduction
Write more than 500 words, explaining Software Development Life Cycle phases
in details where you can use diagrams in your illustration.
3. Problem Analysis
• Identify data objects.
• Determine Input / Output data.
• Constraints on the problem.
4. Design
• Decompose into smaller problems
• Top-down design (divide and conquer)
• Develop a Flowchart
5. Implementation
Converting the Flowchart into programming language (C++)
6. Testing
• Verify the program meets requirements
• System and Unit test
7. Conclusion
A conclusion is about restate the research findings and summarize the main
points of evidence that is usually done in one paragraph.
8. Reference
Student must reference all resources used during the programming research at the
end. Case not referencing resources may be investigated as malpractice.
---------------------------------------------------------------------------------------------------------------------------------------------
Structured Programming Research Guidelines | Dr. Mohamed Sameh
Page 2 of 3
Integrated Thebes Institution
Thebes Higher Institution for Computer and Management Science
Structured Programming Course
-------------------------------------------------------------------------------------------------------------------------------
Resources and support
• Download link C++ Compiler application Microsoft Visual Studio 2019 using
the following link: https://visualstudio.microsoft.com/vs/ then select:
community version.
• Watch video(s) that explain(s) research outlines, videos are uploaded on ELS
as follows:
a) Research Guidelines
b) Flowchart
c) Research Topic(s)
• Student can contact course lecturer via ELS Inbox.
Programming research presenting criteria
Students should submit a single research document (PDF) for the Programming
Research.
To help ensure that the research is clearly laid out, students should:
• No group work is allowed, Research must be submitted individually
• If any part of the research is identical in two or more student research work, it
will result in their failure
• Save the file name with your student ID, example (2019XXXX.pdf)
• First page is the cover-page containing your details, example (Name, Student ID, etc...)
• Use footers for page numbering, example (Page 1 of X)
• Use headers for the titles of research, example (Abstract, Introduction, etc.…)
• Use appropriate headings with font size 16, subheadings with font size 14, and
paragraphs with font size 12.
• Your code must be commented (// for one line & /* for multi-line*/)
• Include the code from Microsoft Visual Studio Project by copying and pasting in
your research document.
---------------------------------------------------------------------------------------------------------------------------------------------
Structured Programming Research Guidelines | Dr. Mohamed Sameh
Page 3 of 3
Download