Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Learning Outcomes Upon completion of this lab session, learners will be able to: 1. grasp the steps in solving computer programming problem 2. solve a

image text in transcribed

Learning Outcomes Upon completion of this lab session, learners will be able to: 1. grasp the steps in solving computer programming problem 2. solve a given problem that involves sequence, selection and repetition structure by applying pseudocode technique. Activity #1 1. Use IPO table to analyze the problems below. Then, design the pseudocode for each of it: a. Obtain three numbers from the keyboard, compute the sum and average of the numbers. Display the results. b. Prompt the user to enter a number. Then, display its square and cube values. C. A program that should accept 8 integers from user. Out of that 8 integers, the program should be able to identify and count on how many positive and negative integers. It should display the total number of positive and total number of negative integers. If the counting for negative integers is more than 4, inform the user that there are too many negative integers entered. API Status 0-50 51-100 d. An Air Pollutant Index (API) recording system should allow user to enter the name of month to start using the system. If the user entered September, April, June, or November as the month, 30 API readings should be keyed-in by the user into the program. If user entered February, the system will ask the user to choose between leap year or non-leap year. If user choose non leap year, 28 API readings should be keyed-in into the system or else, 29 API readings will be captured. Other than that, 31 readings should be keyed-in by the user. For each API reading entered, the program should be able to analyze the condition and display the API reading with its status as per in Figure 1. 101-200 Good Moderate Unhealthy Very Unhealthy Hazardous 201-300 Figure 1 Learning Outcomes Upon completion of this lab session, learners will be able to: 1. grasp the steps in solving computer programming problem 2. solve a given problem that involves sequence, selection and repetition structure by applying pseudocode technique. Activity #1 1. Use IPO table to analyze the problems below. Then, design the pseudocode for each of it: a. Obtain three numbers from the keyboard, compute the sum and average of the numbers. Display the results. b. Prompt the user to enter a number. Then, display its square and cube values. C. A program that should accept 8 integers from user. Out of that 8 integers, the program should be able to identify and count on how many positive and negative integers. It should display the total number of positive and total number of negative integers. If the counting for negative integers is more than 4, inform the user that there are too many negative integers entered. API Status 0-50 51-100 d. An Air Pollutant Index (API) recording system should allow user to enter the name of month to start using the system. If the user entered September, April, June, or November as the month, 30 API readings should be keyed-in by the user into the program. If user entered February, the system will ask the user to choose between leap year or non-leap year. If user choose non leap year, 28 API readings should be keyed-in into the system or else, 29 API readings will be captured. Other than that, 31 readings should be keyed-in by the user. For each API reading entered, the program should be able to analyze the condition and display the API reading with its status as per in Figure 1. 101-200 Good Moderate Unhealthy Very Unhealthy Hazardous 201-300 Figure 1

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Objects And Databases International Symposium Sophia Antipolis France June 13 2000 Revised Papers Lncs 1944

Authors: Klaus R. Dittrich ,Giovanna Guerrini ,Isabella Merlo ,Marta Oliva ,M. Elena Rodriguez

2001st Edition

ISBN: 3540416641, 978-3540416647

More Books

Students also viewed these Databases questions

Question

calculate the vapor volume (m3) for 6 moles of CS2 (SG=1.26)

Answered: 1 week ago

Question

What qualities do you see as necessary for your line of work?

Answered: 1 week ago