Question

Give the pseudo code for the flowchart shown below using the convention we covered in class. Not using all proper conventions

0 0
Add a comment Improve this question Transcribed image text
Answer #1

In flow chart rectangle is used for process.Diamond box is used for some comdition.

PSEUDOCODE:

  1. Perform Task1.
  2. check Test1
  3. If true check test2
  4. else perform task 2 and end.
  5. if test 2 is true then do task B and end
  6. else perform task A and update task
  7. again check test2.
Add a comment
Know the answer?
Add Answer to:
Give the pseudo code for the flowchart shown below using the convention we covered in class....
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • What will be left in a and b after the execution of the pseudo code below? Draw a flowchart for the code. a=4 b=10 while (a is less than b) do if (b is less than 12) then b=b+3 else a a +1 b b+2 e...

    What will be left in a and b after the execution of the pseudo code below? Draw a flowchart for the code. a=4 b=10 while (a is less than b) do if (b is less than 12) then b=b+3 else a a +1 b b+2 endif a=a+1 while (b is greater than or equal to 14) do b=b-1 endwhile endwhile b=b+ 100 What will be left in a and b after the execution of the pseudo code below? Draw a...

  • Create a complete pseudo-code program in C++ to do the following using the PseudoCode language developed...

    Create a complete pseudo-code program in C++ to do the following using the PseudoCode language developed in class using Absolute Addressing. There is 1 deliverable: 1. You should include the input cards shown below as a test. THE PROGRAM: First you will read in a value N which holds the number of values to be read in. (so if N is 20 then there will be 20 more cards to read in.) Read in N values into an array. Bubble-Sort...

  • Using loops with the String and Character classes. You can also use the StringBuilder class to...

    Using loops with the String and Character classes. You can also use the StringBuilder class to concatenate all the error messages. Floating point literals can be expressed as digits with one decimal point or using scientific notation. 1 The only valid characters are digits (0 through 9) At most one decimal point. At most one occurrence of the letter 'E' At most two positive or negative signs. examples of valid expressions: 3.14159 -2.54 2.453E3 I 66.3E-5 Write a class definition...

  • write code in c++, run/load & provide output NOTE: you need to do either a flowchart...

    write code in c++, run/load & provide output NOTE: you need to do either a flowchart or some sort of pseudo code for this. It is recommended that you do this BEFORE you start to write your code. Ifyou have some idea of exactly what you want to do you will have a better chance of success. You can bring your flowchart/pseudo code to me for checking before you begin coding QUANTUM CORP LESS THAN TEN REPORT You own four...

  • Title Algorithms Functional Requirements and Marks using c++ Write a pseudo-code algorithm for the following problems:...

    Title Algorithms Functional Requirements and Marks using c++ Write a pseudo-code algorithm for the following problems: Detect if three angles can make a triangle.    (1) Hint: In a triangle, the sum of all angles is 180. Switch the value of two numbers     (1) If a=2 and b=5, we want to have a=5 and b=2 at the end. Remember that a=b will result in the old value to of a to get lost. Receive a set of numbers and find...

  • Using the code below, we need to implement the median-of-three method for selecting a pivot. If...

    Using the code below, we need to implement the median-of-three method for selecting a pivot. If it is possible to add the code needed and any pseudo code as comments, that would be helpful. Thank you Code: def quickSort(alist): quickSortHelper(alist,0,len(alist)-1) def quickSortHelper(alist,first,last): if first<last: splitpoint = partition(alist,first,last) quickSortHelper(alist,first,splitpoint-1) quickSortHelper(alist,splitpoint+1,last) def partition(alist,first,last): pivotvalue = alist[first] leftmark = first+1 rightmark = last done = False while not done: while leftmark <= rightmark and \ alist[leftmark] <= pivotvalue: leftmark = leftmark + 1...

  • questions are based from above handout CODE LISTING 1 public Interface Calculator ( public double getCurrentValue) public Class Simplecalculator implements Calculator t) public Class Financial...

    questions are based from above handout CODE LISTING 1 public Interface Calculator ( public double getCurrentValue) public Class Simplecalculator implements Calculator t) public Class FinancialCalculator extends Simplecalculator t public class Scientificcalculator extends SimpleCalculator [UML DIAGRAM) FIGURE 1 Tradalla FinancialSecany +gell ast TradaTine: Date Debt Asset Bond ETF Stock ConvertabloBond 05/21/2019 FinalExam Clas (20 points) ses. Interfaces and their Documentation: The following section of exercises is based on Final Exam Handout Number 2 ( Code). 16. Examine the four entities defined...

  • Since we haven't yet covered this in class, your class textbook may be a valuable source...

    Since we haven't yet covered this in class, your class textbook may be a valuable source of information in helping to answer these questions. 1. Using the generic chemical species below (E = eletrophile/substrate, LG = leaving group, and Nu nucleophile), show the mechanism (adding curvy arrows/showing electron movement) for both an S, 2 and an S, 1 reaction. Be careful with charges as bonds are broken and created. Also notice that the nucleophile for the S.2 reaction has a...

  • Using python beginner code see example code of what to use for this assignment we have...

    Using python beginner code see example code of what to use for this assignment we have gathered together some interesting data into a file called harvardLightning.txt The file contains all recorded lightning strikes in the harvard area Parsing Review alist = str.split()                  # alist will contain the elements of str - split using whitespace Specifying a delimiter Examples: delimiter = ',' delimiter = '-', delimiter = ';' Stripping specified characters Example: astring.strip('\n') Avoid blank lines: if len(line) == 0:                                             ...

  • In class, we discussed the priority queue (PQ) ADT implemented using min-heap. In a min-heap, the...

    In class, we discussed the priority queue (PQ) ADT implemented using min-heap. In a min-heap, the element of the heap with the smallest key is the root of the binary tree. On the other hand, a max-heap has as root the element with the biggest key, and the relationship between the keys of a node and its parent is reversed of that of a min-heap. We also discussed an array-based implementation of heaps. In this assignment, your task is to...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT