Draw a flowchart to input start time and end time of vehicle, Data Structure & Algorithms

Speed cameras read the time a vehicle passes a point (A) on road and then reads time it passes a second point (B) on the same road (points A and B are 100 metres apart). Speed of the vehicle is calculated using:

Speed =100 / (time at point B - time at point A)       (metres/sec)

Maximum allowed speed is 100 kilometres per hour. 500 vehicles were monitored using these cameras over a 1 hour period.

 Write an algorithm, using a flowchart, that:

  • Inputs start time and end time for the 500 vehicles that were monitored
  • calculate speed for each vehicle using the formula above
  • Outputs speed for each vehicle and also a message if speed exceeded 100 km/hour
  • Output the highest speed of all 500 vehicles monitored

 

Posted Date: 9/11/2013 3:30:45 AM | Location : United States







Related Discussions:- Draw a flowchart to input start time and end time of vehicle, Assignment Help, Ask Question on Draw a flowchart to input start time and end time of vehicle, Get Answer, Expert's Help, Draw a flowchart to input start time and end time of vehicle Discussions

Write discussion on Draw a flowchart to input start time and end time of vehicle
Your posts are moderated
Related Questions
In the earlier unit, we have discussed about the arrays. Arrays are data structures of fixed size. Insertion & deletion involves reshuffling of array elements. Thus, arraymanipulat

Q. What do you understand by the term Binary Tree? What is the maximum number of nodes which are possible in a Binary Tree of depth d. Explain the terms given below with respect to

The maximum degree of any vertex in a simple graph with n vertices is (n-1) is the maximum degree of the vertex in a simple graph.

Advantages of First in First out (FIFO) Costing Advantages claimed for first in first  out (FIFO)  costing method are: 1. Materials used are drawn from the cost record in

Implementing abstract data types A course in data structures and algorithms is hence a course in implementing abstract data types. It may seem that we are paying a lot of atten

include include include /* Definition of structure node */ typedef struct node { int data; struct node *next; } ; /* Definition of push function */

Write an algorithm, using a flowchart, which inputs the heights of all 500 students and outputs the height of the tallest person and the shortest p erson in the school.

Define the term - Array A fixed length, ordered collection of values of same type stored in contiguous memory locations; collection may be ordered in several dimensions.

one to many one to one many to many many to one

Here is a diagram showing similarities between documents; this is an actual set of physics lab assignments from a large university. Each node (square) in the graph is a doc