Algorithms

EasyMediumHard
1234567891011121314151617181920212223242526272829303132333435363738
Question 19
Medium

A tech company is recruiting interns through a hackathon consisting of 5 parallel tracks. The winner of each track automatically qualifies for the internship. In addition, the 3 highest-scoring non-winners (wildcards) across all tracks also qualify.

A file named Hackathon_Results is used to record the results. For each candidate, the file stores:

  • CandidateID (numbers 101 to 250)
  • TrackWinner ('Y' for track winner, 'N' for not a track winner)
  • Score (recorded as an integer score out of 100)

The file is pre-sorted in descending order of Score (highest score first).

Study the description of the flowchart designed to process this selection and complete the missing elements A to F to achieve the required logic.

Flowchart selection process

Variables used:

  • Intern_Count: Total number of candidates accepted for the internship
  • Wildcard_Count: Number of non-winners (wildcards) accepted for the internship

Flowchart Elements to complete:

  • A: (Process/Initialization)
  • B: (Input/Output)
  • C: (Decision)
  • D: (Process)
  • E: (Decision)
  • F: (Process)
[6]

Algorithms Questions

  1. GCSE
  2. /Computer Science
  3. /Algorithms