Question: Which pseudocode option will give the same output as the given flow diagram? This flow diagram determines the average estimated proportion of children ( 0

Which pseudocode option will give the same output as the given flow diagram?
This flow diagram determines the average estimated proportion of children (0 Age 18) living in multidimensional poverty in South Africa due to orphanhood and age as per a UNICEF (United Nations International Children's Emergency Fund) report of 2020.
count =0
if mother alive == true then count = count +1
if father alive == true then count = count +1
if count ==2 then
if age >12 then national estimate =0.6-0.69 else national estimate =0.5-0.59
else if age 4, then national estimate =0.6-0.69 else national estimate =0.7-0.79
count =0
If mother allive == true then count = count +1
If father alive =+- true then - count = count +1
If count ==2 then - if age 4 OR age >12 then . national estimate =0.5*0.59 else national estimate =0.6-0.69 else If age 4 then national ostimato =0.6-0.69 else nationalestimate =0.7:0.79
count =0
if mother alive == true then - count = count +1
if father alive == true then - count = count +1
if count =2 then
-if age 4 OR age >12 then national estimate =0.5-0.59 else national estimate =0.6-0.69 else
if age 4 then
Mytional estimate =0.6-0.69 else national estimate =0.7-0.79
Only iii Only i
None of the above Only ii
 Which pseudocode option will give the same output as the given

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!