[SOLVED] Algorithm Assignment 2

30.00 $

Programming resource
Digital learning resource
Category:
Practical programming resource
Suitable for guided study and reference
Tutor guidance available when needed

Description

Rate this product

 

  1. Write an algorithm and draw a flowchart that will read the two sides of a

rectangle and calculate its area and perimeter.

  1. Draw a flowchart to find all the roots of a quadratic equation ax2+bx+c=0.
  2. Print Hello World 10 times
  3. Draw a flowchart to find the sum of the first 50 natural numbers.
  4. Write an algorithm and draw a flowchart to calculate 24.
  5. Draw a flow chart to find LCM of two numbers.
  6. Draw a flow chart to print all Prime numbers between 1 to n.
  7. Draw a flow chart to find sum of all prime numbers between 1 to n.
  8. Draw a flow chart to check whether a number is Armstrong number or not.

10.Draw a flow chart to print all Armstrong numbers between 1 to n.

11.Draw a flow chart to check whether a number is Perfect number or not.

12.Draw a flow chart to print all Perfect numbers between 1 to n.

13.Draw a flow chart to check whether a number is Strong number or not.

14.Draw a flow chart to print all Strong numbers between 1 to n.

15.Draw a flow chart to check Whether a Number is Palindrome or Not

16.Draw a flow chart to find the sum of the series [ 1-X^2/2!+X^4/4!- ………].

17.Draw a flow chart to display the n terms of harmonic series and their sum. (1

+ 1/2 + 1/3 + 1/4 + 1/5 … 1/n terms)

18.Draw a flow chart to print the Floyd’s Triangle.

1

01

101

0101

10101

19.Draw a flow chart to display the sum of the series [ 1+x+x^2/2!+x^3/3!+….].

20.Draw a flow chart to find the sum of the series [ x – x^3 + x^5 + ……].

21.Draw a flow chart to find the sum of the series 1 +11 + 111 + 1111 + .. n terms

22.Draw a flow chart to find the number and sum of all integer between 100 and

200 which are divisible by 9.

23.Draw a flow chart to convert a decimal number into binary without using an

array.

24.Draw a flow chart to convert a binary number into a decimal number without

using array, function and while loop.

25.Draw a flow chart to print Pascal triangle upto n rows.

Resource details

Understand the Task Before You Use the Resource

Review the requirements, identify the programming concepts involved, study the implementation and test your understanding with your own examples and modifications.