algorithms – Flowchart Problem Sets in Computer Science

Instructions : Give an algorithm for each of the following problems using flowchart. Apply the necessary concepts
and state your assumptions before drawing the flowchart that represents the algorithm.

  1. Break the formula down in several steps as an algorithm for solving for the roots of a quadratic

  2. Give the algorithm that will determine if the given year is a leap year.

  3. Give the algorithm to raise an integrer number to a power by applying the multiplication

  4. Give an algorithm to produce the first 15 numbers of this series: 1, 1, 2, 3, 5, 8, 13, 21, …

  5. Given the table on the right, find the formula that relates variable X with variable Y and
    describe the steps needed to list the X -values with its corresponding Y-values. (See picture attached)
    enter image description here

6. Give an algorithm that will find the largest among the twenty numbers. Note that you will get
the input for each number one at a time.