answersLogoWhite

0


Best Answer

A) Here's an example of a flowchart and pseudocode that could be used to display the prime numbers between 1 and 10000:

Flowchart:
START

Set up an array of numbers from 1 to 10000

Set an empty array to store the prime numbers

Set i = 2, the first Prime number

For each number in the array, check if it is divisible by i

If it is divisible by i, it is not a prime number and move to the next number in the array

If it is not divisible by i, it is a prime number and add it to the prime numbers array

Increase i by 1 and go back to step 4

Repeat steps 4 through 7 until i is greater than the square root of 10000

Display the prime numbers array

END

User Avatar

Holiocare1

Lvl 4
1y ago
This answer is:
User Avatar
More answers
User Avatar

Seymour Buttocks

Lvl 6
1y ago

Uhmm, there currently isn't a found sequence between the prime numbers, if that's what you mean.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Consider prime numbers between 1 and 10000. Draw a flowchart to display the prime numbers.Write a pseudo code associated with the flowchart in a)?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the difference between a hierarchy of modules and a flowchart?

What is the difference between a hierarchy of modules and a flowchart.


What will the beginners prefer to choose between flowchart and algorithm?

Flowchart.


Difference between macor flowchart and micro flowchart?

1. Macro flowchart shows less information whereas micro flowchart shows more information. 2. Macro flowchart is easy to design as comparative to micro flowchart. 3. Macro flowchart is difficult to study and understand as comparative to micro flowchart.


Draw a flowchart to generate odd numbers between 100?

Draw a flowchart to generate odd numbers between 100?


What is the Difference between program and flowchart?

Flowchart it is diagrammatic Program it is coding. A flowchart is drawn out on paper, and shows the logic of an if/then/else statement. The programming actually is the if/then/else, not just the logic.


What is Difference between document and data?

A document is the result of a process in a flowchart. Data can be used as an input and output in a flowchart. Also data is more specific(e.g. ordernumber) and a document is more an overview of data.


Difference between pseudocode and flowchart?

Pseudo code is a sentence-like representation of an piece of code.A flowchart is a symbolic representation of code, using box shapes and arrows. http://wiki.answers.com/What_is_the_differences_between_Pseudocode_and_Flowchart#ixzz16xbjczkm


How do you draw a flowchart to find maximum and minimum of given 3 input numbers?

You draw a flowchart to find maximum and minimum of given 3 input numbers by using all three numbers. You take the low, high and input the middle number between them. You can see the rise, or decline of the chart that way.


Advantages of system flowchart over program flowchart?

The difference between a program flow chart and a system flowchart is that a program flowchart is for a single program. A system flowchart is designed for an entire system with each box representing a process.


What tool would a programmer use to visualize the relationship between modules?

D. hierarchy chartPage 83Tony Gaddis


What is difference between links and association?

links are associated with objects and associations are associated with classes.


What is a program a person can use to make a flowchart?

One may use several programs to create a flowchart which include Word and Powerpoint. There is a difference between the two as Word is a word processing program which has in its portfolio drawing tools where as Powerpoint is primarily geared to those who wish to present slide presentations and also drawing and making charts. Both programs have some unique features which may help one to create the flowchart of their choice and one can view the comparisons and choose what programs is best for one's needs.