Computer Science, asked by ppankaj338, 6 months ago

the first component in algorithms is?

a. repetition
b. character structure
c. selection
d. sequence

Answers

Answered by probrainsme101
0

Answer:

The correct answer is option d. sequence.

The first component in an algorithm is sequence.

Explanation:

An algorithm is defined as a process or procedure for solving problems.

The main components of an algorithm are as follows:

a) Sequence - This is the main structure of an algorithm. It is a series of instructions which are executed one after the other.

b) Selection - According to this, a program proceeds further only and only if a condition is met. In other words, it is the selection of the program.

c) Iteration or repetition - Iteration is the repetition of a set of instructions of a sequence until a condition becomes true.

Clearly, the first and main component of an algorithm is sequence.

Hence, the correct answer is option d. sequence.

#SPJ2

Similar questions