Skip to main content\(\newcommand{\N}{\mathbb N}
\newcommand{\Z}{\mathbb Z}
\newcommand{\Q}{\mathbb Q}
\newcommand{\R}{\mathbb R}
\newcommand{\lt}{<}
\newcommand{\gt}{>}
\newcommand{\amp}{&}
\definecolor{fillinmathshade}{gray}{0.9}
\newcommand{\fillinmath}[1]{\mathchoice{\colorbox{fillinmathshade}{$\displaystyle \phantom{\,#1\,}$}}{\colorbox{fillinmathshade}{$\textstyle \phantom{\,#1\,}$}}{\colorbox{fillinmathshade}{$\scriptstyle \phantom{\,#1\,}$}}{\colorbox{fillinmathshade}{$\scriptscriptstyle\phantom{\,#1\,}$}}}
\)
Exercises 2.1 Exercises
1.
Are you feeling ready to continue?
Yes, I’m ready!
Yay! Let’s continue.
No, I don’t feel ready.
Oh no! Take some time to reread this chapter.
2.
Why might pseudocode be helpful?
To help humans understand the application before programming it
Correct! pseudocode is used to help humans understand the code first.
To help machines create a set of instructions.
Programmers create a set of instructions. Machines execute it.
To help the CPU understand Low-level languages.
Pseudocode is not programmed into the machine. Try again
For humans to easily understand logic and convert to a regular programming language
Yes, Correct.
Hint.Think: Why are flowcharts and pseudocode used before programming using regular programming language?
You have attempted
of
activities on this page.