Identify four PLC members who should ensure that there is good financial accountability and governance in schools. Discuss their roles and responsibilities.
Concept of Mathematical induction to find out “Five” real world scenarios implementing the concept. Describe the details of those scenarios with respect to induction. Also give the mathematical proof of each described scenario.
real life instances where Indian employee related laws have ensured protection of welfare of employees.
Include the for loop below in a small program and complete the program. The loop should execute 10vtimes. Do not change the for loop below. Compile and run your program to see for yourself that it works.You do not have to submit this program and output.
for (int i = 1; i <= n;
i++) cout << i * i;
Now convert the for loop into a while loop and add any variable initialisations that you think are necessary. Compile and run your program and submit only the program containing the while loop and its output.
Demonstrate how the concept of sequences discussed can be applied to the following situations.
a) Metro buses scenario.
b) Diet plan for a diabetic patient.
c) Timetable followed by students in university.
The Computer Science Department follows certain criteria when a student learns to program. A
number of programming exercises must be worked through. To proceed to the next exercise a student has
to obtain a mark of 50% or more and must have completed 5 or more program runs. You are requested
to write a program to validate if a student can proceed to the next program.
Your program should have the following structure:
• Declare two integer variables programsDone and result.
• Validate the data captured for the two variables using a while loop.
• The loop should be repeated until the value of result is greater than or equal to 50 and the value of
programsDone is greater than or equal to 5.
• Display a message like "Good! You can now proceed to the next exercise"
Submit both your program and output.
You are requested to write a very simple calculator. Your calculator should be able to handle the five
basic mathematic operations – add, subtract, multiply, divide and modulus – on two input values.
Your program should have the following structure:
• Ask the user to enter two float variables named var1 and var2
• Ask the user to enter a character variable named operation to represent the operation to be
performed on the two variables.
• Perform the appropriate operation by using if-statements
• The output must be given in fixed-point notation with two digits after the decimal point.
A typical run is displayed below:
Please enter the first float value:
35.6 Please enter the second value:
24.12 Please enter the operation
required : + The sum of 35.6 and
24.12 is 59.72
Submit both your program and
output
John had 5 cookies and ate 2 how much more cookies does he have left?
Jennifer Yardley is the owner of Golf Pro, a U.S. company that sells golf equipment both domestically and abroad.
She wants a program that displays the amount of a salesperson’s commission. A commission is a percentage of
the sales made by the salesperson. Some companies use a fixed rate to calculate the commission, while others (like
Golf Pro) use a rate that varies with the amount of sales.
Golf Pro’s commission schedule is shown below, along with examples of using the schedule to calculate the
commission on three different sales amounts. Notice that the commission for each range in the schedule is
calculated differently.
Sales range
Commission
0 - 100,000 2%
100,001 – 400,000 5% over 100,000 and then add 2000
400,001 and over 10% over 400,000 and then add 17000
If the sales is less than zero, the program should display the message “The sales cannot be less than 0.”
In late 1990’s, the Department of Education started to get concern about the health of every public school students.
According to their research, a child performs well if he/she is getting the right nutrition their body needs. In order
solve this, they started a feeding program and monitors each student health records. Adapt the method of monitoring
the students’ Body Mass Index (BMi) helps the department to solve this concern . The body mass index (BMi) is
used to estimate the risk of weight-related problems based on a student’s height and mass. it was designed by the
mathematician Adolphe Quetelet in the 1800s and is sometimes referred to as the Quetelet index. The BMI is
computed as
In this formula, mass is in kilograms and height is in meters. The health risk associated with a BMI value are
• Underweight < 18.5
• Normal weight ≥ 18.5 and < 25
• Overweight ≥ 25 and < 30
• Obese ≥ 30