0% found this document useful (0 votes)
13 views4 pages

Intro Week 5

This document introduces flowcharts and their notations. It discusses sequential, conditional, and iterative operations and provides examples of algorithms and their corresponding flowcharts for each. Exercises are included to write algorithms and draw flowcharts for tasks like converting temperatures, finding areas and perimeters, determining the largest of two numbers, identifying number types, calculating even numbers between 1 and 24, and analyzing test scores. Students are instructed to submit their assignments through Microsoft Teams.

Uploaded by

ujjhhhiohg
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views4 pages

Intro Week 5

This document introduces flowcharts and their notations. It discusses sequential, conditional, and iterative operations and provides examples of algorithms and their corresponding flowcharts for each. Exercises are included to write algorithms and draw flowcharts for tasks like converting temperatures, finding areas and perimeters, determining the largest of two numbers, identifying number types, calculating even numbers between 1 and 24, and analyzing test scores. Students are instructed to submit their assignments through Microsoft Teams.

Uploaded by

ujjhhhiohg
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

Introduction to Computer

Week 5
Flowcharts
5.1 Introduction
This laboratory session is designed to give you an understanding of the workings of
integrating Algorithms, flowcharts, and C++ programming language.
Here you are going to focus on the following:
 Flowchart Notations
 Algorithmic operations:
o Sequential Operation
o Conditional operation
o Iterative operation
5.2 Flowchart Notations

5.3 Sequential Operation


1) Input and Output
Algorithmic Steps Flowchart

Page 1 of 4
Output

C++

5.4 Conditional Operation


Algorithmic Steps Flowchart

C++ Output

Page 2 of 4
5.5 Iterative Operation
Algorithmic Steps Flowchart

Print b

C++ Output

5.6 Exercises

1 Write down an algorithm steps to convert temperature from Celsius to Fahrenheit, Then Draw its flowchart.
2 Write down an algorithm steps to find Area and Perimeter of Square shape, Then Draw its flowchart.
3 Write down an algorithm steps to find the largest number of two numbers, Then Draw its flowchart.
4 Write down an algorithm steps to find the type of number whether it’s one digit or two digit , Then Draw its
flowchart.
5 Write down an algorithm steps to calculate even numbers between 1 and 24, Then Draw its flowchart.
6 Write down an algorithm steps to input test scores for 10 students, then count the number of students who failed
the test. Then Draw its flowchart.

Page 3 of 4
Note:
Don’t Forget to Send Your Assignment to
Microsoft Teams

Account Name: seifaldin.yasser

Email: [email protected]

Email: [email protected]

Page 4 of 4

You might also like