Hi I am new to programming and I need your Help to solve this Problem.
Thanks!
draw your draft of the corresponding flowchart.
On a new paper following your flowchart, write its equivalent using pseudocodes.
Questions:
1. You are left in charge of taking care of your baby brother. Your mother asked you to prepare the milk by 9:00 AM. Your father asked you to cook lunch by 11:00 AM. You need bathe your brother by 3:00 PM. Lastly, at 5:00 PM, you have your scheduled game with your team. Remember that each activity is time-specific. For the time outside the specified hours, you are to do nothing but wait.
2. You were given five cubes and you were tasked by your Physics course instructor to determine the one cube that weighs greater than the rest. Four of the cubes have the same weight. You are only given to chances to weigh a set of cubes. After the second weigh, you need to accurately discern the one cube that weighs more.
[Hint]
o To weigh the five cubes only up to two times to determine which one weighs more, you will need to weigh for the 1st round four cubes by twos and leave one cube aside.
o If the two parts of weighed cubes are equal, then the cube we need to determine is the fifth cube - the one we set aside.
o If not, then one of the four cubes we weighed is the one we need. To do this, we will disregard the pair that weighs lesser and focus on the pair that weighs more. We will weigh that pair for our 2nd round, and the cube that weighs more than the other is the cube that we need.
3. You are to travel for a beach escapade. Since you are going, you need a set of materials for the trip. List down all the items you need, create a checklist beforehand, determine whether you already have each of the items, and buy the items you do not yet have. Indicate at least 5 items.
1 answer