Invitation to Computer Science 8th Edition

Published by Cengage Learning
ISBN 10: 1337561916
ISBN 13: 978-1-33756-191-4

Chapter 1 - Exercises - Page 39: 4a

Answer

\begin{equation} \begin{array}{l}{\text { a) Sequential operation }} \\ {\text { b) Conditional operation }} \\ {\text { c) Sequential operation }} \\ {\text { d) Iterative operation }}\end{array} \end{equation}

Work Step by Step

The types of algorithmic operations to choose from are: sequential, conditional, and iterative. a) This is a sequential operation since it is a single task. b) This one mentions two distinct actions out of which only one will be performed, based on the condition. It is a conditional operation. c) A simple, well-defined task is a sequential operation. d) There is a sequence of 3 steps mentioned which have to be performed more than one time in the same order. It is an iterative operation.
Update this answer!

You can help us out by revising, improving and updating this answer.

Update this answer

After you claim an answer you’ll have 24 hours to send in a draft. An editor will review the submission and either publish your submission or provide feedback.