Algorithms and Flowcharts

15 pts.
Tags:
Visual Basic
My personal studies (Research Questions) Question 1. Write an algorithm and draw a flowchart to find the average of the set of ten random numbers. Question 2.Write an algorithm and draw a flowchart to find the sum of all odd numbers between 0 and 50. Question 3. Write an algorithm and draw a flowchart for the following scenario ; a. Determine a student's grade obtained base on the examination mark score. b. Find the least common multiple (L.C.M.) and the Highest Common Factor (H.C.F.) . 3. Write an algorithm and draw a flowchart for binary search and merge sort.Using the word "ALGORITHMS". Apply the binary search algorithm on it to find the letter H.Apply the merge sort to merge the letters of the word increases alphabetic order. 4. Write an algorithm and draw a flowchart to find a square root of a number.

Software/Hardware used:
Pseudocode and Visual Basic.

Answer Wiki

Thanks. We'll let you know when a new response is added.

write an algorithm to exchange values of P,Q,R and S in such way that will take the value of P, value of Q, Q will take the value of R, R will take the value of S and S will take the value of P.

Discuss This Question: 6  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.
  • TomLiotta
    Looks good. Is there a problem with them? -- Tom
    125,585 pointsBadges:
    report
  • Ben Rubenstein
    Welcome to ITKE, Tannoh. Can you tell us what you'd like to know about the information you posted? Then we might be able to help. 

    Be sure to check out our FAQ for more on how the community works. 
    11,255 pointsBadges:
    report
  • ToddN2000
    Sounds like a homework issue. We can help but you have to show us what code to have written to help you fix the problems you are having. We will not do it for you because you will not be able to understand the concepts and logic if we do the work. Practice is the only thing that will strengthen your skills.
    87,725 pointsBadges:
    report
  • Garima126
    Write an algorithm to test whether given number is divisible by 5 or not
    10 pointsBadges:
    report
  • Subhendu Sen
    @Garima126, assuming this your assignment or something like that. Have you written something regarding your question? For solving this one, there is an easy way, you must have some good materials for the same and from there first you follow the examples/class work and try to understand them. Of course some good time you have to invest for this purpose. When you understood the examples, you can solve this question by your own efforts.
    91,860 pointsBadges:
    report
  • ToddN2000
    @Garima126: Simple math test divide by 5 and if the result is not an integer then it is not evenly divisible by 5. Post your code and we will take a look at your logic.
    87,725 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: