Docsity

Pseudocode Implementation Assignment, Assignments of Computer science

Toggle sidebar
bg1
Assignment 1
Let the Software be a system to sum 15 different numbers.
the pseudocode for the development is as follows,
Step 1: Initialize sum=0 and count=0.
Step 2: Allow the user to enter just a number (n).
Step 3: Find sum + n and assign it to sum and then increment count by 1.
Step 4: is count less than 15 (Decision), If Yes go to step 2, else print Sum as the output.
Assignment 2
The flowchart that align to a software specifications to Compute sum of 15 numbers from be as
follows
No
Yes
Assignment 1
Start
Sum=0
Count=0
Enter a number(n)
is count less
than 15
Print Sum
Sum=sum+n
count=count+1
Stop
pf2

Partial preview of the text

Download Pseudocode Implementation Assignment and more Assignments Computer science in PDF only on Docsity!

Assignment 1 Let the Software be a system to sum 15 different numbers. the pseudocode for the development is as follows,  Step 1: Initialize sum=0 and count=0.  Step 2: Allow the user to enter just a number (n).  Step 3: Find sum + n and assign it to sum and then increment count by 1.  Step 4: is count less than 15 (Decision), If Yes go to step 2, else print Sum as the output. Assignment 2 The flowchart that align to a software specifications to Compute sum of 15 numbers from be as follows No Yes Assignment 1 Start Sum= Count= Enter a number(n) is count less than 15 Print Sum Sum=sum+n count=count+ Stop

Wntes Pseudocode that outiines a plan for developing a method and aligns to software specification. ASSIgnment 2 Creates a fiowchart that aligns to software specifications, including appropriate decision branching and start and end points.