Algorithm: Flowchart and Trailer Record

Number Group

Q1. How does a flowchart help a programmer in program development? Ans. Flowcharts provide the visual representation of a concept and make it clear. A flow chart serves as a blueprint of the program. Flowcharts help a programmer organize his/her thoughts in a logical order and their presentation. Program development without graphics may be less effective. In big projects, it gets difficult to keep things together. Flowcharts provide flexibility so that you can make changes and restructure the project as you move further and, according to requirement. Flowcharts act as a guide during the analysis and program development phase. Moreover, they are also helpful in the debugging process.

Q2. Draw a flowchart of the logical steps needed to produce a printed listing of all students over the age of 20 in a class. The input records contain the name and age of the students. Assume a sentinel value of 99 for the age field of the trailer record. Sol.

Q3. The first 20 records in a data set are to be read and printed. Draw a flowchart for the algorithm to do this job. Make sure that the processing stops after the twentieth record. Sol.

Q4. For the employees’ problem of Question 40 ( even group Q3), we want to count and print the number of only male employees in the age group of 25 to 30. Assume that the input records contain SexCode and Age fields to provide this information. Draw a flowchart for the algorithm to perform this job. Sol.

Q5. A set of examination papers, which have been graded with scores from 0 to 100 is to be searched to find how many of them are above 90. The total has to be printed. Prepare a flowchart to do this job. Assume a suitable sentinel value for the trailer record. Sol.

Q6. A shopkeeper wants to have a general program for his personal computer, which will prepare bills for each customer as and when he sells goods to them. His idea is that as soon as the customer purchases some goods from his shop, he will supply the description, unit price, and quantity purchased for each item. s input to the computer. He wants that with this information, the computer should print each item along with its unit price, quantity purchased, and the total price. Finally, the computer should also print the total cost of all the items purchased by the customer. Assuming a sentinel value of zero for the quantity purchased the field in the trailer record, draw a flowchart for the logic to do this job.

Q7. Each employee’s pay record includes the hours worked and the pay rate. The gross pay is to be determined as hours worked times pay rate, and is to be printed for each employee. For all hours worked in excess of 40, the overtime rate, which is 1. 5 times the regular rate, is to be paid. Draw a flowchart for the problem logic to do this. Assume a suitable sentinel value for any of the input fields of the trailer record.

Q8. The data file of Question 48 (even group Q7) is expanded to include several sets of data, each requiring calculation of its average. Each data set is followed by a trailer record with a value of -1; however, the last data is followed by a trailer record with a value of -2. Draw a flowchart for the logic to perform this task. Solution.

Q9. Draw a flow chart to add up all the even numbers between 0 and 100. Before ending, print the result of the calculation. Solution.

Q10. Draw a flowchart for the logic to find out whether a given triangle ABC is a right-angled triangle. Assume that the sides are supplied as input and data. Print the answer as yes or no. Solution.

Q11. Draw a flowchart for the logic to convert a number from base 10 to a new base using a division remainder technique. Solution.

Calculate the price
Pages (550 words)
\$0.00
*Price with a welcome 15% discount applied.
Pro tip: If you want to save more money and pay the lowest price, you need to set a more extended deadline.
We know how difficult it is to be a student these days. That's why our prices are one of the most affordable on the market, and there are no hidden fees.

Instead, we offer bonuses, discounts, and free services to make your experience outstanding.
How it works
Receive a 100% original paper that will pass Turnitin from a top essay writing service
step 1
Fill out the order form and provide paper details. You can even attach screenshots or add additional instructions later. If something is not clear or missing, the writer will contact you for clarification.
Pro service tips
How to get the most out of your experience with MyStudyWriters
One writer throughout the entire course
If you like the writer, you can hire them again. Just copy & paste their ID on the order form ("Preferred Writer's ID" field). This way, your vocabulary will be uniform, and the writer will be aware of your needs.
The same paper from different writers
You can order essay or any other work from two different writers to choose the best one or give another version to a friend. This can be done through the add-on "Same paper from another writer."
Copy of sources used by the writer
Our college essay writers work with ScienceDirect and other databases. They can send you articles or materials used in PDF or through screenshots. Just tick the "Copy of sources" field on the order form.
Testimonials
See why 20k+ students have chosen us as their sole writing assistance provider
Check out the latest reviews and opinions submitted by real customers worldwide and make an informed decision.
Excellent work ,always done early
Customer 452773, February 21st, 2023
Human Resources Management (HRM)
excellent job
Customer 452773, June 25th, 2023
ACC/543: Managerial Accounting & Legal Aspects Of Business
EXCELLENT JOB
Customer 452773, January 10th, 2024
Criminal Justice
This has been the greatest help while I am recovering from an illness. Thank your team so much.
Customer 452671, May 2nd, 2021
Great job
Customer 452773, February 13th, 2023
Human Resources Management (HRM)
excellent
Customer 452773, July 11th, 2023
Human Resources Management (HRM)
excellent work
Customer 452773, July 3rd, 2023
Thank you for your hard work and help
Customer 452773, February 21st, 2023
Thanks
Customer 452773, March 3rd, 2023
perfect
Customer 452773, February 23rd, 2023
Humanities
Thank youuuu
Customer 452729, May 30th, 2021
Thank you
Customer 452773, March 19th, 2023
11,595
Customer reviews in total
96%
Current satisfaction rate
3 pages
Average paper length
37%
Customers referred by a friend
Use a coupon FIRST15 and enjoy expert help with any task at the most affordable price.
Claim my 15% OFF Order in Chat