MCQ CollectionPakistan MCQs
Practice Pakistan questions with answers and explanations.
Choose an option to check your answer.
Correct Answer: D. Primary key
Explanation:A primary key uniquely identifies each table row.
Choose an option to check your answer.
Correct Answer: A. The address of a resource on a network
Explanation:A URL locates a resource such as a web page.
Choose an option to check your answer.
Correct Answer: B. HTTPS
Explanation:HTTPS uses HTTP over encrypted transport.
Choose an option to check your answer.
Correct Answer: C. A process in which a function calls itself on smaller instances
Explanation:Recursion solves a problem through smaller self-similar calls and a base case.
Choose an option to check your answer.
Correct Answer: D. Binary search
Explanation:Binary search compares with the middle element and halves the remaining range.
Choose an option to check your answer.
Correct Answer: A. A named storage location for a value
Explanation:A variable associates a name with data that a program can use or change.
Choose an option to check your answer.
Correct Answer: B. While loop
Explanation:A while loop evaluates its condition before each iteration.
Choose an option to check your answer.
Correct Answer: C. Software that manages hardware and provides services to programs
Explanation:An operating system coordinates hardware resources and applications.
Choose an option to check your answer.
Correct Answer: C. 112
Explanation:Every term is multiplied by 2.
Therefore, 56 × 2 = 112.
Choose an option to check your answer.
Correct Answer: D. A finite sequence of steps for solving a problem
Explanation:An algorithm is an ordered and finite problem-solving procedure.
Choose an option to check your answer.
Correct Answer: D. 35
Explanation:The successive increases are 3, 4, 5, and 6.
The next increase is 7, so 28 + 7 = 35.
Choose an option to check your answer.
Correct Answer: A. AND
Explanation:AND produces true only when both operands are true.