self Maths Puzzle Programming Program

Q 49. A train starts from a station accelerating at 8 km/hr. and due to loss of communication between adjacent station 3km away another train is shown the green light simultaneously. The second train is accelerating at 16km/hr in the opposite direction. The trains will collide after?

Option A 20 mins
B 30 mins
C 40 mins
D 50 mins

Read Solution (Total 2)

self Other Question

maximun number of identical pieces(of same size) of a cake by making only 3 cuts? See the flow chart and answer the given question:


Q 33. Given that “Namebreak” indicates a name which has not occurred before in the file, indicate which of the following does the flow chart do?

Option A The flow chart processes every line in the file
B The flow chart processes the lines with the first occurrence of a name
C The “Number of records” indicate the number of unique names in the file
D The flow chart would process only the first line in the file


Q 34. How will the flowchart handle a scenario where the file is empty?

Option A The flow chart will throw an error
B This will get into an infinite loop
C There will be no error and it will not print anything
D There will be no error and it prints “Number of records read” as zero


Q 35. What will the variable ‘ctr’ hold at the end of the flowchart execution?

Option A The total number of records in the file
B The total number of unique names in the file
C The number of records for the last name in the file
D Zero