Premium Essay

Flow Chart

In:

Submitted By fortun3fad3d
Words 534
Pages 3
Pseudocode syntax, descriptions and examples Overview: This table provides a reference for commonly used pseudocode for introductory computer program design courses. You should use this as your reference and copy and paste code examples into your projects to ensure you are using proper syntax. Be sure to indent your code to make it more readable and use modify and enhance from the examples as needed. Also, capitalize the first letter of your pseudocode (e.g. While, not while). Pseudocode Write/Prompt Description Displays messages and other information on the screen Flowchart equivalent Example usage Write “What is your name?” Write “Your name is “ +YourName + “.” Prompt for ItemName, Price, Quantity

Write “What is your name?”

Input

Pauses execution, allowing the user to enter data Input FirstName

Input FirstName Input Number1, Number2

Compute/Set

Assigns a value to a variable Set Avg=(num1+num2)/2

Compute average value: Set Avg= (num1 + num2)/2 Compute total cost: Set TotalCost= 1.25*Songs

Declare

Declares a variable to be of a specific type Declare FirstName as String

Declare FirstName As String Declare Num1, Num2 As Integer Possible datatypes may include: String 1

Call

Requests a module, subprogram, or function be executed Call WriteNums(num1, num2))

Character Integer Float Main Module Write “Enter 2 numbers” Input Num1,Num2 Call WriteNums(num1,num2) Write “Program complete” End Program Subprogram WriteNums(Float num1, Float num2) Write “Num1 is “ + num1 Write “Num2 is “ + num2 End Subprogram

If End If

Tests if a condition is met. If the test condition is true, the statements are executed.

Enter

Input Number If Number < 5 Then Write “OK” End If
No

Is Number < 5?

Yes Write “OK”

Exit

2

If Else End If

Tests If a condition is true. If the test condition is true one set of statements are executed,

Similar Documents

Free Essay

Flow Chart Cmis102

...will be building a state of the art gaming computer. I will calculate the total prices based on the total input for each test case. After each test case has been formulated it will end in the total expected output of each test case. Analysis – The input of this program will consist of the base price ($500.00), the (OS $101.79), the (HD $79.99), and the (Processor $189.00. After all the choices have been selected, the program will determine the total cost of that option. The required output for the program will be the total cost of the state of the art gamming computer. The program will then determine the total cost of the state of the art gaming computer by using the following computation: TotalCost = BasePrice+OS+HD+Processor. Flow chart The main module executes and setups necessary variables. It then calls getInput function which asks user about details of computer parts. The output function displays the total along with the details. Pseudo - code Declare array computerItems[]="CPU","Case","Power supply","Motherboard","DVD","Sound Card","Monitor","Graphics Card" as string Declare array computerPrice[]=175.00, 90.00,70.00,142.99,99.99,60.00,154.00,214.99 as double Declare array computerSelected[8]=0 as integer initialized to 0 Declare array otherItems[]="Hard Disk - 500GB","Hard Disk - 1TB","Hard Disk - 1.5TB","RAM - 4MB","RAM - 8MB","RAM - 12MB","OS - Windows7","OS - Red Hat Linux","OS - Windows XP" as string Declare array otherPrice[]=98...

Words: 338 - Pages: 2

Premium Essay

Flow Chart

...Design a Flowchart for a process Currently I work on a support desk known as the Ambulatory Service desk. I have decided to compose a process based on how are calls are triaged to the support desk. In which I have discovered in creating this process there are many steps that need to be taken to make sure the calls are sent to the proper support desk. At this present time, I work in the Information Technology field at Rex Hospital as a Clinician Support Specialist on the Ambulatory Service Desk. Also, creating a flow chart to properly triage our calls would assist me and my team on a process to follow, so that our customers are pleased with our services provided. A process that best describes our process would be job shop; this process incorporates different types of services with the same outcome. That is to resolve the issue with little interference to their daily workflow and fixing the issue as soon as possible. The following items affect the process design in preparation of triaging calls 1. Triangle Physicians Network helpdesk receive customer calls 2. TPN desk then triages calls to Ambulatory Service Desk 3. If the system is not working the ASD will further trouble shoot and resolve 4. If the system is working the interface team checks any interface mapping errors The four steps have an impact on the satisfaction of our customers and their relationship with the IT team. However, there are other factors that have a part but are not as significant as these...

Words: 320 - Pages: 2

Free Essay

Flow Chart

...Raj. Patel Comp1 Drafting essay week_3 Buying a Car Purchasing a vehicle can be real helpful for transportation. There are a lot of people out there that have no vehicle that are struggling to get where they want. That’s why buying a car is important to me because I remember when I didn’t have a car, I would always have to take the bus or ask a friend for a ride. I have always liked cars ever since I was a little kid. I like everything about cars. There are a lot of different things about different cars that you would have to look into before purchasing your vehicle. When I was seventeen I already had bought my first car. I had a 1998 ford escort station wagon. I bought that car for $800. The car was in a great condition but it was pretty old. That car was lucky for me because I passed my driving test in that car the very first time I took it. My family was also driving that car to go to work and for personal use. I had to put money into it to keep it running. That car lasted us about five years. Then we had to get rid of the car because the condition of the car was terrible. The second time I bought I car I knew I couldn’t buy a used car, so I was looking around for low mileage cars for cheap and great condition. I did a lot of research after all the research I came up with a great plan. I thought about buying a brand new car but I knew that was out of my budget. During the Christmas break in 2013 I went to the Nissan dealership near my house looking for good deals...

Words: 579 - Pages: 3

Premium Essay

Flow Chart

...TRANSMISSION MEDIA The means through which data is transformed from one place to another is called transmission or communication media. There are two categories of transmission media used in computer communications. * BOUNDED/GUIDED MEDIA * UNBOUNDED/UNGUIDED MEDIA 1. BOUNDED MEDIA: Bounded media are the physical links through which signals are confined to narrow path. These are also called guide media. Bounded media are made up o a external conductor (Usually Copper) bounded by jacket material. Bounded media are great for LABS because they offer high speed, good security and low cast. However, some time they cannot be used due distance communication. Three common types of bounded media are used of the data transmission. These are * Coaxial Cable * Twisted Pairs Cable * Fiber Optics Cable COAXIAL CABLE: Coaxial cable is very common & widely used commutation media. For example TV wire is usually coaxial. Coaxial cable gets its name because it contains two conductors that are parallel to each other. The center conductor in the cable is usually copper. The copper can be either a solid wire or stranded martial. Outside this central Conductor is a non-conductive material. It is usually white, plastic material used to separate the inner Conductor form the outer Conductor. The other Conductor is a fine mesh made from Copper. It is used to help shield the cable form EMI. Outside the copper mesh is the final protective cover. (as shown in Fig) The actual data travels...

Words: 600 - Pages: 3

Premium Essay

Flow Chart Process

...Flow Chart for Process Christie Losch OPS 571 January 21, 2011 John Sobel Flow Chart for Process A person that wakes up each morning and hits the ground running and I have so much in common. On a daily basis I look for ways to improve my time management. Each and every day I wake up at the break of dawn and prepare my day for a long and strenuous workdayand not to mention my second job as a single-parent. The responsibility that lies on my shoulders is tough and can be overwhelming. I have chosen to design a flow chart to outline my routine in the evenings after work until bedtime. The time spent in traffic getting home, time spent doing homework, and cooking and are factors that can be shortened in my routine. The process flow of the routine begins with getting from work and driving home . My commute to and from work has many obstacles as it relates to traffic during those times. My work schedule cannot be manipulated for ease in the morning or the afternoon. Once my kids are picked up from school and we reach home then the process gets a little bit more stringent. Homework for a small child in elementary school is tough on them and the parents. The next step comes cooking, and then putting food after dinner, cleaning the kitchen can take some time. [have not included end of the process flow – getting ready to bed] The metric is time in this flow chart. I wish there was some way that the time spent doing homework, cooking and...

Words: 299 - Pages: 2

Premium Essay

Flow Process Chart

...METHENL Laboratory Exercise 2 Flow Process Chart Submitted by: Natividad, Arvin Gabriel Payumo, Mary Emanuelle Razo, Daphne Erin Submitted to: Mr. Ronald Mariano January 30, 2016 Executive Summary: In this Lab Exercise, we must practice the use of a flow process chart. A flow process chart records the process in a compact manner. We must use this flow process chart to construct a new and improved process for a large mail-order catalog company so that it can reduce their wrongly addressed customer packages and decrease their wasted time on the travel of the packages. Introduction: A large mail-order company found out that they are having problems with the handling on customer packages. They are experiencing excessive back lags because of wrongly addressed packages. By using the flow process chart, we will try if we can improve their present process. We will try to modify their current system to find the best solution for their problem. Objectives: * Decrease the frequency of wrong addresses on mailing labels * Construct a new and improved process chart Methods: * The layout of the current warehouse must be reconstructed. * Put the dispatching/mailing office in the ground floor to lessen the travel time. * Use JIT or Just in time technique to deliver the packages in the right time and in the right location. * Utilize the use of hand cart for faster in house mobilization. This can lessen the travel time of the packages *...

Words: 1055 - Pages: 5

Premium Essay

Laundry Flow Chart

...Design a Flowchart for a Process •     Select a process that you do every day but would like to spend less time doing, such as driving to work. I have selected the process of laundering as illustration of flow chart. •     Design a flowchart using an appropriate tool. The instructor is more concerned with your ability to explain how process design works and why it’s valuable than with fancy graphics I have used the features of Microsoft Word to design the flowchart. Flowcharts are valuable than fancy graphics as it represents the systematic flow of logic to all the involved members in effective manner. It can also be referred again and again to understand the system as documentation allows keeping the blueprint of design for analysis in the development of system. •     Comment on the factors that affect the process design. The factors that affect the process of design in laundering are right temperature, quality of cloths and adequate water in the tub. It acts as decisive factor is execution of steps. Following are the steps involved in laundering the cloths: (1) Sort the cloths for white, bright and dark colors. (2) Check the pockets of sorted cloths and empty it. (3) Read the product label to follow the instructions. (4) Measure the right amount of detergent. (5) Pour the detergent into washer. (6) If liquid fabric softener is required, add it else go to step 7. (7) Choose the water temperature as per instruction of washing machine...

Words: 851 - Pages: 4

Premium Essay

Circular Flow Chart

...COURSE: MANAGERIAL ECONOMICS: COH 723 Programme; MSc Health Services planning and Management Department; Community Health Lecturer; J Kwaku Agyemang 1. Course Description Managerial Economics is concerned with resources allocation, decisions that are made by managers in both private and public sections (private business, private NGO’s and public sector) of the economy. The course emphasizes the application of economic principles and methodologies to decision-making process of business firms operating under conditions of risk and uncertainty. Managerial Economics, thus, uses concepts, models and analytical techniques of economics to study and analyse the operations of businesses and the type of problems managers face. Hence it provides important conceptual insights for gaining a better understanding of business environment and for making of quality business decisions with minimal trial and errors. 2. Objectives: 2.1 To provide participants with a much clearer view of the applicability and relevance of economics to decision making within business firms. 2.2 To develop students’ knowledge of applied economics 2.3 To develop students’ analytical skills to a higher level. 2.4 To enhance students’ insight into the operation of business and the nature of problems managers face. 3. Course coverage * Introduction of students to Managerial Economics and the use of models and other analytical concepts in decision making process...

Words: 2791 - Pages: 12

Free Essay

Flow Chart Documentation

...Start Start Input Dean user,pass Input Dean user,pass Output Dean,Professor Output Dean,Professor Input Server LogIn Input Server LogIn Ctr=0 Ctr=0 Initialize Initialize C C B B Ctr=1 Ctr=1 “Your user & pass is incorrect. Pls. Re-enter” “Your user & pass is incorrect. Pls. Re-enter” Y Y N N A A Create Account, Teacher’s Info., Subject Info., Schedule Info. Create Account, Teacher’s Info., Subject Info., Schedule Info. If user & pass is incorrect If user & pass is incorrect Input Professor user,pass Input Professor user,pass “Welcome user!” “Welcome user!” Ctr=1 Ctr=1 “Your user & pass is incorrect. Pls. Re-enter” “Your user & pass is incorrect. Pls. Re-enter” N N Y Y If user & pass is incorrect If user & pass is incorrect C C Ctr=1 Ctr=1 “New Account Saved” “New Account Saved” Input Password,Username Input Password,Username Schedule Information Schedule Information Subject Information Subject Information Teacher’s Information Teacher’s Information B B Create account Create account “Welcome user!” “Welcome user!” A A Teacher Information Schedule Information Teacher Information Schedule Information Teacher Information Teacher Information Schedule Information Schedule Information Information of Teachers Information of Teachers Information of Schedule Information of Schedule END END PRINT PRINT “Scheduled Save” “Scheduled...

Words: 282 - Pages: 2

Premium Essay

Flow Chart Assignment

...Keyless Entry FOB Flowchart Hirak Patel OPS/GM 571 September 2, 2013 Margaret Stocker Keyless Entry FOB Flowchart A major manufacturing firm expected to produce new version of automotive keyless entry fob, which will be supplied to major automotive manufacturers. The manufacturing of the new product requires that individual parts are sourced from foreign nations to an assembly point where the product is completed to specs. Efficiency in the manufacturing process will determine the firm’s profitability and competitive advantage. The following essay will discuss factors by which a particular location is selected to obtain required materials. Furthermore, a process flowchart will be developed to illustrate the flow of materials through various processes, which will also serve as a tool to measure performance (Chase, Jacobs, & Aquilano, 2006). Finally, the essay will discuss elements that are considered in the process design to attain desired results. Location Requirements The nation that is chosen for supply of the respective part has to fit certain manufacturing requirements. Souring requirements include, cost per unit, international trade costs, quality, and reliability among several other external factors. The cost per unit depends on how efficient a manufacturing firm is, in execution of its processes. Additional factors of labor, cost of raw materials, or even intellectual property can affect the cost per unit. Factors of production affecting the suppliers...

Words: 910 - Pages: 4

Free Essay

Production Flow Chart Paper

...Abstract This paper will underline a flowchart of Bimbo Bakeries USA production process and how the business operates on a day-to-day basis. There will also be a metric chart that will show the amount of time it takes for each process to be completed within the production process. A short description of Bimbo Bakeries will also be addressed in this paper as well. Bimbo Bakeries is an International manufacturing company who specializes in producing products such as, Thomas muffins, Entenmanns cakes, and etc. They’re also one of the largest bakeries in the world, and they have bakeries in over a hundred countries. Bimbo has also purchased companies such as, Sara Lee and Hostees, they are expanding very quickly in the U.S. and around the world. Process The process that I perform on a daily basis at work is mixing, which is the second step in the process of producing muffins. Currently, in order to load the ingredients into the mixer, is manually. This concept to me takes up more time to complete, and I think there’s a faster way to complete this step. The type of process for this chart will be a multistage because it has many steps to complete within the process of production. According to the text, “A multiple stage process has multiple groups of activities that are linked through flows( Chase,Jacobs,Aquilano 2006)”. Metric Measure Performance Efficiency Operation time= setup time + run time. Reference Author: Richard B. Chase, F. Robert Jacobs...

Words: 264 - Pages: 2

Premium Essay

Lab 5.1 Flow Charts

...The Condition | True or False | attAverage >= verizonAverage | True | tmobileAverarge == 868 | True | verizonAverarge < spirntAverage | False | sprintAverage != attAverage | True | The condition | Expected Ouput | If tmobileAverage > 800 and VerizonAverage > 800 ThenDisplay “Both have average download rates over 800”ElseDisplay “One or both of the averages are less”End If | Both have average download rates over 800 | If sprintAverage == 800 ThenDisplay “Sprint download rate is 800”End If | Sprints download rate is 800 | If attAverage >= 1300 OR tmobileAverage >=900Display “Select either carrier”End If | Select either carrier | Score | Employment Category | Interview Possibility | 85 or above | Definite | Yes | 70- 84 | Likely | Yes | 60-69 | Maybe | Yes | 59 or below | No | No | Main Module() //Declare variable on the next 3 lines //Declare Interger testScore = 0 //Declare String category = “ “ // Declare String inverview = “ “ //Make Module calls and pass necessary variables on the next 4 lines //Module getScore() //Module employCat() //Module interviewPoss() //Module displayInfo() End Main Module getScore(Interger Ref testScore) //Ask the user to enter a test score End Module Module employCat(Integer testScore, String Ref category) //Determine what employment category they are in based on their test score //Similar to if the score is less than 60, then category is “No” //Otherwise, if score is less...

Words: 268 - Pages: 2

Premium Essay

Aph Maternity Patients Flow Chart

...Case Assignment Intro to Operations Management Dr. Bowersox 26 October 2012 As Diane’s new assistant just looking at the way they have the flow of the mother that is in labor is confusing. There are too many floors for the Labor and Delivery process which has the mother bouncing all over the hospital.  If the pregnant mother is in distress she has to be moved to too many different floors. By moving the mother to all the different floors it could risk valuable time. I would suggest reorganizing one specific floor of the hospital for Labor and Delivery only. By having only one floor would help speed up the process for the delivering mothers. The way I would adjust the flow chart for women that are delivering via caesarean section would skip step one and go straight to step seven.   I would do this because a mother that knows she’s having a caesarean section delivery would know the exact date of the delivery. She would have pre-registered prior and be ready for her operation when she walks into the hospital. Once the operation is complete with no complications, then step 6 would be next.   After monitoring the mother and newborn then step 8 would be the next step. The mother would be extremely happy to be discharged with her new baby. If all mothers were electronically preregistered the flow chart would change. It would eliminate the need to register the day of the delivery and allow a smoother transition to the delivery room for the expectant mother...

Words: 296 - Pages: 2

Premium Essay

Cleaning Kennels Process Flow Chart

...Daily Kennel Cleaning Fostering rescue cats can be a challenge to say the least. Accepting more than one at a time is even more difficult to manage; however when the need is there, I do respond if possible. My three foster cats were rescued from a dumpster outside a hotel. Subsequent to capturing, getting them vaccines and spaying and neutering them they became a part of my daily life. Several factors come into play when caring for foster cats, particularly when they are unrelated. Fortunately, two of the three are siblings. The following is the daily morning routine of cleaning the kennels and litter boxes in flow-chart form accompanied by further explanation to include details. 1. Open kennels and release the foster cats. There are three kennels with two doors per kennel. 2. Remove the litter boxes one by one and place them in the center of the room on the floor. There is one litter box per kennel. 3. Remove the kennel rugs. There is one rug per kennel. 4. Slide out the kennel trays, one per kennel. a. Tip the tray to remove scattered litter and wipe each tray into the trash can. 5. Replace the kennel trays. 6. Retrieve a small trash bag from a container and place on the floor by the boxes. 7. Scoop each litter box. This metric will be measured. 8. Dump the waste into the trash bag. b. Tie and dispose of the bag into the trash can. 9. Add litter to each box as required. 10. Replace the rugs and litter boxes into the appropriate...

Words: 712 - Pages: 3

Premium Essay

Design a Flow Chart Ops/ 571

...Week #1 Individual Assignment Design a Flowchart for a Process Sherry Martin OPS 571 University of Phoenix November 19, 2010 Design a Flowchart for a Process Everyday, people perform daily processes as part of their regular routines and many of them may consume a great amount of time. In this paper, a specific process has been identified and a flowchart has been designed to show the various factors that affect the design process as well as the specific metric that identifies the measurement process. By designing a flowchart for this process, the desired result is to identify how the amount of time involved can be minimized while also making the overall process more efficient. Factors Affecting Process Design The factors affecting the process design include: 1) “Do I get up promptly?” OR “Do I hit the snooze button on the alarm?” 2) “Do I have my clothes ready for work?” OR “Do I need to decide what to wear in the morning?” 3) “Is there a great deal of traffic or congestion?” OR “Is the traffic moving smoothly?” Each of these factors can greatly affect the process design because of their potential impact on the overall amount of time expended. Some additional steps in the process design which have less impact on the overall efficiency of driving to work include: 1) Shower 2) Brush teeth 3) Fix hair 4) Do makeup 5) Breakfast Identified Metric The one metric that has been identified to measure the process is...

Words: 520 - Pages: 3