There are 42 male employees and 33 females employees in a company. Find the ratio of
(a) the number of male employees to the number of female employees,
(b) the number of female employees to the total number of employees.
Give at least three examples that show different features of string slices. Describe the feature illustrated by each example. Invent your own examples. Do not copy them for the textbook or any other source.
Write a while loop that calculates the sum of the cubes of numbers starting from 1 to 40 (inclusive). That is, the loop prints the foloowing value 1 + 23 +33 + ... +403. Make sure to define any variables you may need.
a) Learner says:
“405 is smaller than 450” Concept(s)/aspect(s) involved (1)
Is the answer right or wrong? Give reasons/explanation (1)
Determine if the formula T=2π√(m/f/x ) is dimensionally correct
What is the Volume of the water vapour if 3.2 grams of water vapour is observed at 22 C
and 125 kPa. ? R = 8.31 L kPa/ K mol
If you had a stock solution of 15 M sulfuric acid, what should you do if you wanted to make1.0 litre of 5.0 M sulfuric acid from this stock solution?
I need to make 300 mL a 0.123 mol/L solution of HCl. The only solution of HCl I have in the cupboard is 12.0 mol/L. How can I make the solution I want?
Explain how you would make 250 mL of a 0.200 mol/L solution of copper sulfate from the
solid compound. (3 marks)
You need to submit the code and program output.
Q1. you will write a C++ program that uses a for statement to calculate and display the sum of all even numbers between 5 and 24 inclusive on the screen.
Q2. Write statements that assign random integers to the variable n in the following ranges: Use the random function to generate the numbers. Put the statements in a C++ Program and run it.
a) 1 ≤ n ≤ 87
b) 1 ≤ n ≤ 925
c) 0 ≤ n ≤ 424
d) 2000 ≤ n ≤ 3138
e) –16 ≤ n ≤ 65