self
Maths Puzzle
Logical Reasoning
Mathematical Reasoning
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
Read Solution (Total 1)
-
- where is flowchart?
- 11 years agoHelpfull: Yes(21) No(4)
self Other Question