Question: 1 6 2 0 2 4 , 0 8 : 5 6 Assignment I Eduvos 3 . 1 . Question 1 Question 1 3 0

162024,08:56
Assignment I Eduvos
3.1. Question 1
Question 1
30 Marks
1.1 There are 12 children in a class at a private college. An array called childrenAges is used to store the ages of children in the class:
13,12,15,18,15,11,19,12,17,14,10,18
Create an algorithm to find and display the position (index) and value of the highest age in childrenAges array.
(10 Marks)
1.2 Sandile is managing her monthly savings and wants to ensure she meets her financial goals. She lives with her parents and as such, contributes a sum of R1200 monthly to her parents as a form of housing support. Of the remainder, she plans her savings allocation as follows: 30% for general expenses, 20% into a savings account, 15% into an emergency fund, 20% for investments, and the remaining percent is assigned for a vacation fund due to her love for adventure at National parks. Enter her monthly salary on the keyboard and then calculate and display how much money she has available for the various savings categories. Write an algorithm in form of pseudocode to solve this scenario.
(10 Marks)
1.3 Evaluate the following expressions:
a.D(E-7) OR G AND (A**C)(D-E**C)
where A=3,C=7,D=-8,E=-6,G= TRUE
(5 Marks)
b.C**4B3-18??5 AND F OR AD-5
where A=5,B=2,C=12,D=-4,E=FALSE and F= TRUE.
 162024,08:56 Assignment I Eduvos 3.1. Question 1 Question 1 30 Marks

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!