Full Question
1. Correct the following code and
2. Convert the do while loop the following code to a while loop
declare integer product
declare integer number
product = 0
do while product < 100
display ""Type your number""
input number
product = number * 10
loop
display product
End While
Answer:
1. Code Correction
The errors in the code segment are:
a. The use of do while on line 4
You either use do or while product < 100
b. The use of double "" as open and end quotes for the string literal on line 5
c. The use of "loop" statement on line 7
The correction of the code segment is as follows:
declare integer product
declare integer number
product = 0
while product < 100
display "Type your number"
input number
product = number * 10
display product
End While
2. The same code segment using a do-while statement
declare integer product
declare integer number
product = 0
Do
display "Type your number"
input number
product = number * 10
display product
while product < 100
Answer:
B. operator error or misuse
Explanation:
A product is a failure if it is not able to achieve the anticipated life cycle as expected by the organization.
In such a case, there is a withdrawal of the product from the market as a result of its ultimate failure of a product to achieve profitability.
Four common causes of product failure are poor design, poor construction, poorly communicated operating instructions, and <u>operator error or misuse</u>
Answer:
1.1451 x 104 (11451.13)mg/m3
Explanation:
1 ppmv is defined as one volume of a contaminant or solid(CO)(mL) in 1 x 106 volume of solvent/water.
1ppmv = 1mL/m3
Concentration in mg/m3 = volume in ppm x molecular weight x pressure(kPa)/( gas constant x temperature(K)
Molecular weight of CO = 12 + 16
= 28g/mol
Temperature = 273.15 + 25
= 298.15K
Pressure = 1 x 101.325kPa
= 101.325kPa
Ppmv = 1 x 10-4ppmv
Gas constant, R = 8.3144 L.kPa/mol.K
Concentration in mg/m3 = (1 x 104 * 28 * 101.325)/(8.3144 * 298)
= 1.1451 x 104mg/m3
= 11451.13 mg/m3
Answer:
El crecimiento es un concepto que se refiere al aumento de tamaño, cantidad o intensidad de algo. La palabra, como tal, deriva del verbo crecer, que a su vez proviene del verbo latino crescĕre. ... Sinónimos de crecimiento son aumento, incremento, ampliación, expansión. Antónimo de crecimiento es decrecimiento
Explanation: