Preview

Algorithm: Flowchart and Trailer Record

Better Essays
Open Document
Open Document
1328 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Algorithm: Flowchart and Trailer Record
Student Name Syed Haseeb Hashmi Registration # FA11-BCS-075
Course Title Design and Analysis of Algorithm
Assignment # 1
Submitted To Sir Tanveer Ahmed Siddiqui
Due Date 19-03-2013

For Odd Role Number Group

Q1. How does a flowchart help a programmer in a 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 helps 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 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 form 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.

You May Also Find These Documents Helpful

  • Satisfactory Essays

    Acc/531 Week 4

    • 646 Words
    • 3 Pages

    6. A statistician wanted to determine if the demographic variables of age, education, and income…

    • 646 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    • Draw the physical data flow diagrams. Use Microsoft® Visio® to prepare examples of flow charts and data flow diagrams.…

    • 454 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Pt1420 Unit 2 Study Guide

    • 1286 Words
    • 6 Pages

    4 Describe the following methods of automated data capture. Give an example, in each case,…

    • 1286 Words
    • 6 Pages
    Good Essays
  • Good Essays

    ElizabethFlaimFP

    • 1289 Words
    • 7 Pages

    Problem Definition: Design a program that allows a user to input a list of family members, along with their age and the state where they live. The program will determine and print the average age of the user’s family. The program will also print the names of any family member that lives in Texas. The program design should also allow the user to enter at least 50 family members.…

    • 1289 Words
    • 7 Pages
    Good Essays
  • Satisfactory Essays

    * Lines 9–14 are the loop. It sums the age entered and it keeps count of how many…

    • 313 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Pt1420 Unit 3 Essay

    • 966 Words
    • 4 Pages

    4- Select two same age elderlies per gender. Select two same age adults per gender. Do the same with the Children.…

    • 966 Words
    • 4 Pages
    Good Essays
  • Satisfactory Essays

    Theo 104 Quiz

    • 569 Words
    • 3 Pages

    A data flow diagram represents a physical, rather than logical, view of an accounting information system.…

    • 569 Words
    • 3 Pages
    Satisfactory Essays
  • Good Essays

    INSTRUCTIONS TO CANDIDATES • • • • • • • Write your name, Centre Number and Candidate Number in the boxes above. Answer all the questions. Use blue or black ink. Pencil may be used for graphs and diagrams only. Read each question carefully and make sure you know what you have to do before starting your answer. Do not write in the bar code. Do not write outside the box bordering each page. WRITE YOUR ANSWER TO EACH QUESTION IN THE SPACE PROVIDED. ANSWERS WRITTEN ELSEWHERE WILL NOT BE MARKED.…

    • 2245 Words
    • 9 Pages
    Good Essays
  • Satisfactory Essays

    Why is a flowchart useful in developing and documenting software? Why is the interactive Visual Logic flowchart program more useful than a manually drawn flowchart?…

    • 503 Words
    • 3 Pages
    Satisfactory Essays
  • Good Essays

    BA L2 Unit 14

    • 449 Words
    • 2 Pages

    1.3 Text and diagrams can be used to explain data more thoroughly or can be used to get a point across in a more concise way. Diagrams may be used to make your data more appealing to the audience they are intended for. To give an additional visual representation to your text could perhaps iterate it more clearly, or could perhaps add an impact that text alone can not offer. This can also be used to highlight key points in the data, or for showing any trends or patterns.…

    • 449 Words
    • 2 Pages
    Good Essays
  • Satisfactory Essays

    Mm207 Final

    • 620 Words
    • 2 Pages

    3. Jonathan is a 42 year old male student and Mary is a 37 year old female student thinking about taking this class. Based on their relative position, which student would be farther away from the average age of their gender group based on this sample of MM207 students?…

    • 620 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    | |highlighted. This should be typed. Word and Powerpoint are both programs that will allow you to work with flow charts that can be constructed as a tree. If |…

    • 629 Words
    • 3 Pages
    Good Essays
  • Good Essays

    Vark Analysis Paper

    • 845 Words
    • 4 Pages

    Graphs and diagrams are also helpful when it comes to comparing data. When it is written out in words it can be confusing whereas a chart both can accurately compare and measure over a certain period of time. Visual learners process information the best through graphical tools which allows them to interpret data in a logical manner. Students with this learning style should formulate their notes in an orderly fashion, so that they would be able to visualize how the pieces of the puzzle are connected.…

    • 845 Words
    • 4 Pages
    Good Essays
  • Good Essays

    Throughout all three lessons the students will be provided with varying levels of activities aimed at enhancing the skills mentioned above. For example, students may be asked to identify age differences based on people age data that was recorded on a number line. Eventually, students will also strive to understand why skip counting can be considered a more efficient strategy than counting up when working on problems. It should be understood that when the problem includes numbers with a wide range between the two, that the type of confusion and mistake making that might happen with traditional the count up strategy can be surpassed with the use of skip counting.…

    • 882 Words
    • 4 Pages
    Good Essays
  • Satisfactory Essays

    Process Analysis Graphic OrganizerThinking about the sequence is the most important part of writing about processes. Use the chart below to clarify your thinking about the sequence of steps in a process.Title: The Brownies Name: Juan José Costa 10th “C”…

    • 556 Words
    • 3 Pages
    Satisfactory Essays