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

Basic Algorithm and Flowchart Questions

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

Basic Algorithm and Flowchart Questions

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

25 Basic Algorithm and Flowchart Questions

1. Write an algorithm to add two numbers.


2. Create a flowchart to find the area of a rectangle.
3. Write an algorithm to find the sum of the first N natural numbers.
4. Draw a flowchart to check if a given number is even or odd.
5. Write an algorithm to find the maximum of two numbers.
6. Create a flowchart to calculate the average of three numbers.
7. Write an algorithm to convert temperature from Fahrenheit to
Celsius.
8. Draw a flowchart to display the first 10 multiples of a given number.
9. Write an algorithm to calculate the simple interest.
10. Create a flowchart to check if a number is positive, negative, or
zero.
11. Write an algorithm to find the perimeter of a square.
12. Draw a flowchart to find the largest of three numbers.
13. Write an algorithm to swap two numbers without using a third
variable.
14. Create a flowchart to count the number of digits in a given
number.
15. Write an algorithm to find the sum of even numbers between 1
and 50.
16. Draw a flowchart to determine if a character is an alphabet.
17. Write an algorithm to print the first N terms of the Fibonacci
series.
18. Create a flowchart to check if a number is divisible by 5 and 11.
19. Write an algorithm to find the smallest element in an array.
20. Draw a flowchart to calculate the product of two matrices.
21. Write an algorithm to find the square root of a number.
22. Create a flowchart to print the reverse of a given number.
23. Write an algorithm to determine if a given year is a leap year.
24. Draw a flowchart to find the sum of the digits of a number.
25. Write an algorithm to check if a given string is a palindrome.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy