Which function returns the highest number from a collection of values?

Computer Science MCQs for PPSC, FPSC, NTS, and Pakistan government job tests. Select an option below, then read the explanation.

PPSCFPSCNTSPakistan govt jobs
Subject
Computer Sciencecomputer-science
Published
6 Jul 2021
Last updated
28 May 2026

Browse all Computer Science MCQs

Choose the correct answer

Explanation

Option A calculates the average of numbers. Option B counts the number of items. Option C finds the smallest value. Option D identifies the largest number in the set.

PakQuizHub — free MCQs and past papers for Pakistan government job tests. Content is for educational practice only.