Professional Documents
Culture Documents
Project IN Computer: Submitted By: Submitted To
Project IN Computer: Submitted By: Submitted To
Project IN Computer: Submitted By: Submitted To
IN
COMPUTER
Submitted By:
Hanna Angela A. Rosas
Submitted to:
Mrs. Noriega
2.) Draw a flowchart that compute the Length resolve it and then use the formula
L=W*H
Algorithm
Input : Enter the value of W and H
Process: L=W*H
Output: Print L
Start
Enter the
value of H,W
L=W*H
Print L
End
1.) Draw a flowchart that compute the Perimeter of the Rectangle and use the
formula P=2a+2b.
Algorithm
Input: Enter the value of A and B
Process: P=2a+2b
Output: Print P
Start
Enter the
value of A,B
P=2a+2b
Print P
End
1.) Draw a flowchart that determines if the input time is “AM” or “PM”. The time
is 9 then print if it is AM or PM.
Input: Enter T for (Time)
Process: If T>=9 then print “AM”
Else
Print “PM”
Start
Enter T
Print
T>=9 J
“AM”
“PM”
End
2.)Draw a flowchart that determines if the input Temperature is “Hot” or “Cold”.
The temperature is 100° then print Hot else print Cold.
Input:Enter T for (Temperature)
Process:T>=100° then print “Hot”
Else
Print “Cold”
Start
Enter T
Print
T>=100° J
“Hot”
“Cold”
End
1.] Draw a flowchart that will display the corresponding interest Movies of the
given age. The corresponding age of each interest are given below
Enter I
I>=5 and
Cartoons J
I<=10
I>=11an American
d I<=15 Movies J
Unlisted
Movies
End
2.)Draw a flowchart that will display the corresponding Sizes based on the
Letters .The corresponding sizes of each letters are given below.
Letters Sizes
S or s. Small
M or m. Medium
L or l. Large
Other Letters Unlisted Sizes
Start
Enter S
S=S or
Small J
S=s
S=M or
S=m Medium J
S=L or
Large J
S=l
Unlisted
Sizes
End
2.)Draw a flowchart that will use basic number from 1 to 100 and print each
number counted using the wile-repetition structure. Write its equivalent algorithm.
Algorithm
Step 1:Initialize the value of N to 1
Step 2:Test if N is less than 100
Step 3:C is less than 100 and 1 value then go back to Step 2 However, if C is
grater than 50 ,stop processing
Print "Jethro"
Start
N=1
C<100 End
N=N+1
Print N
1.) The initial value of the side (S) of a triangle is equal to 1 unit and each
succeeding T is 1 unit greater than the value before it. Draw a flowchart to
compute the perimeter of a triangle starting with P=1 to P=3, then print each value
of the side and the corresponding perimeter of the triangle . Write its equivalent
algorithm.
Algorithm.
Step 1:Initialize the value of T to 1 and the value of Perimeter (P=3*S)
Step 2: Compute Perimeter by adding 3 sides
Step 3:Print the value of T and the computer perimeter
Step 4:Increment the value of T by 1
Step 5:Test if S is less than or equal to 3
Step 6:If T is less than or equal to 3 look back and repeat steps 2 to 5 However,If T
is Greater than 3,stop processing.
Start
Perimeter=P=3*S
T=1
Perimeter=3*S
Print T,
Perimeter
T=S+1
S<=3 End