Capgemini Company Logical Reasoning Blood Relations

1. Given that "Namebreak" indicates a name which has not occurred before in the file, indicate
which of the following does the flow chart do?
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
2. How will the flowchart handle a scenario where the file is empty?
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
3 . What will the variable 'ctr' hold at the end of the flowchart execution?
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

Read Solution (Total 3)

Capgemini Other Question

Two trains A and B start simultaneously in the opposite direction from two points A and B arrive at their destinations 9 and 4 hours respectively after their meeting each other. At what rate dose the second train B travels if the first train travels at 80 km per hour. Option
option
A)60 km/h
B)100 km/h
C)120 km/h
D)80 km/h
When Rajeev was born, his father was 32 years older than his brother and his mother was 25 years older than his sister. If Rajeev's brother is 6 years older than Rajeev and his mother is 3 years younger than his father, how old was Rajeev's sister when Rajeev was born?