x

Choose Country Code

x

Direction

x

Ask a Question

  • Ask a Question
  • Scan a Question
  • Post MCQ
  • Note: File extension must be of jpg, jpeg, png, bmp format and file size must not exceed 5 MB
x

Ask a Question

x

x
x
x
Hire a Tutor

Answers and Solutions

What's Your Question?
Answer

An algorithm is a set of instructions given to a computer to solve a problem.  It requires an input which is then processed to produce the desired output. 

For eg:-

Step 1:-  Start

Step 2:- define x,y,z , 2,3 = input, z = output

Step 3:- multiply x and y , 6.

Step 4:- print z

Step 5:-  result = z= 6

Answer

An algorithm is defined as a  set of well-defined instructions to solve a particular problem.

It takes a set of input(s) and produces the desired output. 

For Example

Algorithm to add two numbers:

1) Take first input from user which is suppose a

2)  Take second input from user  which is suppose b

3) Add first and second number and store the result in third variable (e.g. c) Like c=a+b

4) Print the result which is c here

Post Answer and Earn Credit Points

Get 5 credit points for each correct answer. The best one gets 25 in all.

Post Answer