0% found this document useful (0 votes)
70 views

Assignment 2 For B.tech I (Me)

The document contains an assignment for a Programming for Problem Solving course involving writing algorithms and drawing flowcharts for 16 problems related to mathematical calculations. The problems include finding the area and perimeter of shapes like circles and triangles, calculating simple interest, finding the smallest of two numbers, computing factorials, solving quadratic equations, and calculating sums of series. Students are asked to write step-by-step algorithms and provide visual representations using flowcharts for each problem.

Uploaded by

Suraj Yadav
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
70 views

Assignment 2 For B.tech I (Me)

The document contains an assignment for a Programming for Problem Solving course involving writing algorithms and drawing flowcharts for 16 problems related to mathematical calculations. The problems include finding the area and perimeter of shapes like circles and triangles, calculating simple interest, finding the smallest of two numbers, computing factorials, solving quadratic equations, and calculating sums of series. Students are asked to write step-by-step algorithms and provide visual representations using flowcharts for each problem.

Uploaded by

Suraj Yadav
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

COURSE : B.

TECH 1ST YEAR MANUFACTURING ENGINEERING

SUBJECT : PROGRAMMING FOR PROBLEM SOLVING

ASSIGNMENT ON ALGORITHM & FOWCHART

PROBLEM 1: Write the algorithm & draw the flowchart to find Area and
Perimeter of circle.

PROBLEM 2: Write the algorithm & flowchart to compute the area and
perimeter of Triangle (when three sides are given)

PROBLEM 3: Write the algorithm & flowchart to find Simple Interest .

PROBLEM 4: Write the algorithm & draw the flowchart to find the smallest
of two numbers.

PROBLEM 5: Write the algorithm & draw the flowchart to find the sum of the
first 50 natural numbers.

PROBLEM 6: : Write the algorithm & draw the flowchart to find sum of
series 1+3+5+…..+N, Where N is positive odd Integer.

PROBLEM 7: Write the algorithm & draw the flowchart for computing
factorial N ( N! ) where N!=1× 2× 3 ×… … … … × N .
PROBLEM 8: The ABC construction company plans to give a 5% per year-
end bonus to each of its employees earning Rs. 5,00,000 or more per year, and
a fixed bonus of Rs. 10,000 to all other employees. Write the algorithm & draw
the flowchart for printing the bonus of any employee.

PROBLEM 9: Write the algorithm & draw the flowchart to find the roots of a
quadratic equation.

PROBLEM 10: Draw a flowchart to read a number N and print all its
divisors.

PROBLEM 11: Draw a flowchart to compute the sum of squares of integers


from 1 to 50.

PROBLEM 12: Write an algorithm and draw a flow chart to calculate 24

PROBLEM 13: Write an algorithm and draw a flow chart to find compound
interest.

PROBLEM 14: Write an algorithm & draw a flowchart to swap two numbers
using temporary Variable.

PROBLEM 15: Write an algorithm & draw a flowchart to swap two numbers
without using temporary Variable.

PROBLEM 16: Write an algorithm & draw a flowchart to find sum of series
1 – X + X2 –X3 ….XN

You might also like