The Basics Global Academy COMPUTER SCIENCE
Assignment -Pseudocode
Selection statements
[Link] a pseudocode to enter percentage mark. Check if the value entered is
valid or not.
2. Write a pseudocde to accept two numbers and the user will enter a choice
also. Evaluate the choice to calculate sum, difference, product and division.
3. Write a pseudocode to compare entered golf score with the highest score
and lowest score. Change the highest and lowest score accordingly.
4. Write an algorithm, using pseudocode, to input a number between 0 and
100 inclusive. The algorithm should prompt for the input and output an error
message if the number is outside this range.
5. Write a pseudocode inputs a temperature in degrees Fahrenheit. As each
temperature is input, it is compared with the previous highest temperature. If
it is higher than the current highest, it replaces the previous highest
temperature and then it is converted to degrees Celsius. For ease of
calculation, the final step of the Fahrenheit to Celsius conversion has been
approximated as division by 2. When –1 is entered, the input process stops and
the highest temperature (in both Fahrenheit and Celsius) is output.
1
The Basics Global Academy COMPUTER SCIENCE
Note: You can attempt this problem without procedure for now.