Ask your own question, for FREE!
Computer Science 7 Online
Gucchi:

Write pseudocode for making a bowl of cereal using at least five steps.

Gucchi:

this is kinda easy, i just have to write a peusodcode

SmokeyBrown:

Nice. Looking forward to seeing what you come up with :)

Gucchi:

question tho, for this, i would have an Input:, and an Output: right?

SmokeyBrown:

I guess that's one way to think of it, sure. In this case, the output would probably be the bowl of cereal. So I guess the inputs could be the things you take in order to put that bowl of cereal together?

Gucchi:

okay, ill be quick with this

SmokeyBrown:

Sounds good. You can take your time. And whether you choose to put the milk before the cereal or the cereal before the milk, it's all good. This is a judgement-free zone :)

Gucchi:

how long does it have to be? it says 5 but i can go way more right?

SmokeyBrown:

Oh yeah for sure, it sounds like you can use as many steps as you want, as long as it's five or more

Gucchi:

Input: Grab the cereal box out of the pantry Place the cereal box on the table. Take a bowl out of the cabinet Place the bowl on the table. Pour the cereal into the bowl. Grab the milk from the fridge. Pour milk into the cereal bowl. Grab a spoon from the hanging caddy Place a spoon in the bowl. Output: Bowl of cereal

Gucchi:

is this good?

Gucchi:

btw a hanging caddy is what people hang spoons on apparently

Gucchi:

didnt even know that

SmokeyBrown:

Huh, that's a pretty neat piece of trivia. I didn't know that either. Your pseudocode looks pretty good! It's well formatted, and the steps make sense. I could definitely follow those steps myself if I wanted to make a bowl of cereal. Nicely done!

Gucchi:

Thank you!

Gucchi:

for helping with every one of these

SmokeyBrown:

Sure thing! I think you did most of the work, but I'm glad I was able to check and act as an extra set of eyes :) Congratulations on finishing your questions

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!