EGI 00105 Algorithm & Developed Source Codes Lab Report


3 attachmentsSlide 1 of 3attachment_1attachment_1attachment_2attachment_2attachment_3attachment_3

Unformatted Attachment Preview

Name of the programme
Name of Module with Code
BEng (Hons) Degree in Chemical, Mechanical Engineering
and Process Operation and Maintenance
Introduction to Computer Programming – EGI00105
The aim of the coursework is to demonstrate the problemsolving skills through C++ programming language /
MATLAB environment.
On completion, student should be able to:
• Explain the operation of a digital computer and its
Learning Outcomes
• Develop algorithms and flowcharts for solving
engineering problems.
• Develop programs involving various control
statements, loops, arrays, string and functions.
List of Experiments:
S.NO Experiment name
Control statements in C++
• To write a C++ program, algorithm and
draw a flowchart for the following:
• Ask the user to enter the number of
students and get the students marks scored
in ICP and display how many students
have scored above 60.
Two dimensional array
• To write a C++ program to create A
matrix and find the largest number in the
matrix A.
Familiarizing with string
operations & functions
• To write algorithm, C++ program & draw
a flowchart to arrange the employee names
in alphabetical order.
• To write the C++ program to display
Familiarizing with
between the predecessor and successor of
a number using function.
Item component
Algorithm & developed source code
Logical sequence of the program, input,
output , result & discussion
Conclusion & citation
1. Plagiarism is a serious offence. In case of any plagiarism detected, penalty will be
imposed leading to zero mark. Policy and guidelines for dealing with plagiarism and
malpractice in the examination can be viewed by clicking:
2. Reports are due one week after performing the lab exercise or as per the schedule
indicated by the course leader.
3. Course work should be submitted with an appropriate cover page with all details
clearly and legibly filled.
4. For online submission of course work, a pdf file with appropriate cover page mentioning
the name of student, student number and title of the course work should be uploaded
using the submission link created and made available by the module leader.
Introduction to Computer Programming – EGI00105
Laboratory exercise
By (Name)
Instructor’s name
City and State
The aim of the laboratory exercise is to write algorithms using the C++ programming language.
The end result is programs that automate tasks for arbitrary inputs.
Control Statements
The algorithm takes as input the number of scores to be entered and in a for loop each score in
ICP. If the score is higher than 60 a counter variable previously initialized at 0 is incremented.
The number of scores higher than 60 is the value of the counter variable after the loop ends.
Two-Dimensional Array
The algorithm iterates over every entry of the two-dimensional array full of integers and for each
number, if the number is greater than the greatest number already encountered, the variable that
holds the greatest number is updated. When the iteration is over, the greatest number is the value
of the variable that was being updated every time a greater number was found.
String Operation and Functions
The algorithm iterates n times where n is the length of the array. In every iteration i, the
alphabetically smallest string after the i-th position is found and placed at the i-th position. When
the iteration is over, the array is sorted alphabetically.
A function with parameter an integer n is used to print the predecessor (n-1) and the successor
(n+1) of that integer.
Making use of the C++ programming language and the constructs of loops, conditional
statements and functions allows for the development of programs that automate tasks with
arbitrary inputs.

Purchase answer to see full

User generated content is uploaded by users for the purposes of learning and should be used following Studypool’s honor code & terms of service.

Looking for this assignment?

do my essay homework

Reviews, comments, and love from our customers and community

Article Writing

Great service so far. Keep doing what you do, I am really impressed by the work done.



PowerPoint Presentation

I am speechless…WoW! Thank you so much! Definitely, the writer is talented person. She provided me with an essay a day early before the due date!

Stacy V.

Part-time student

Dissertation & Thesis

This was a very well-written paper. Great work fast. I was in pretty desperate need for help to finish this paper before the due date, which was in nine hours.

M.H.H. Tony


Annotated Bibliography

I love working with this company. You always go above and beyond and exceed my expectations every time. Kate did a WONDERFUL job. I would highly recommend her.

Francisca N.


Book Report / Review

I received my order wayyyyyyy sooner than I expected. Couldn’t ask for more. Very good at communicating & fast at replying. And change & corrections she put in the effort to go back and change it!

Mary J.


Essay (Any Type)

On time, perfect paper. All concerns & matters I had Tom was able to answer them! I will definitely provide him with more orders!

Prof. Kate (Ph.D)


Case Study

Awesome! Great papers, and early! Thank you so much once again! Definitely recommend to trust James with your assignments! He won’t disappoint!

Kaylin Green


Proofreading & Editing

Thank you Dr. Rebecca for editing my essays! She completed my task literally in 3 hours. For sure will work with her again, she is great and follows all instructions

Rebecca L.


Critical Thinking / Review

Extremely thorough summary, understanding and examples found for social science readings, with edits made as needed and on time. It’s like having a tutoring service available (:

Arnold W.



Perfect!I only paid about $80, which i think was a good price considering what my paper entailed. My paper was done early and it was well written!

Joshua W.


Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>