PROBLEM SOLVING SKILLS : PROBSOL Application
[
Log In
]
Home
Algorithm
Question 1a
Question 1b
Question 1c
Question 1d
Question 1e
Basics
Question 2a
Question 2b
Question 2c
Question 2d
Question 2e
Input/Output
Question 3a
Question 3b
Question 3c
Question 3d
Question 3e
Selection
Question 4a
Question 4b
Question 4c
Question 4d
Question 4e
Repetition
Question 5a
Question 5b
Question 5c
Question 5d
Functions
Question 6a
Question 6b
Question 6c
Question 6d
Arrays
Question 7a
Question 7b
Question 7c
OOP
Object Oriented ProSol
Game
ProSolve Game
Help
Steps to use ProbSol
Steps to use ProSolve Game
Steps to use ChatBot
ProbSol Skills of MServes.COM
Mobile App for Android
Mobile App for iPhone
Feedback: ChatBot 'ProbSol Master'
Feedback: PAAM Model
Feedback: M-ProbSol,E-ProbSol,ProSolve
Feedback: PROBSOL
Problem Analysis Algorithemic Model (PAAM)
Algorithms and Pseudocode : 5/5
Problem is to design an algorithm for a program that will read 5 numbers. The program then calculates the sum and displays the average of those 5 numbers.
INPUT
PROCESS
OUTPUT
Enter Number 1, N1
Enter Number 2, N2
Enter Number 3, N3
Enter Number 4, N4
Enter Number 5, N5
N1
N2
N3
N4
N5
Sum
Average
Average
PSEUDO-CODE
Given Steps :
Answer :
Start
incremet Count by 1, Enter S (Exam Score), Sum=Sum + S
While (Count <=5) then
End While
Set Average, Count to zero
Write Average=Sum/Count
Stop
(
Instruction:
Select any line/step from the first List Box and move it to the second List Box and make all its lines into correct steps of sequential order, using the Arrow Keys.)