MCQ CollectionPakistan MCQs
Practice Pakistan questions with answers and explanations.
Choose an option to check your answer.
Correct Answer: D. Machine language
Explanation:The processor executes machine instructions encoded in binary.
Choose an option to check your answer.
Correct Answer: A. Translate source code into another executable or lower-level form
Explanation:A compiler translates source code before execution.
Choose an option to check your answer.
Correct Answer: B. Primary key
Explanation:A primary key uniquely identifies each table row.
Choose an option to check your answer.
Correct Answer: C. 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: D. HTTPS
Explanation:HTTPS uses HTTP over encrypted transport.
Choose an option to check your answer.
Correct Answer: A. 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: B. Binary search
Explanation:Binary search compares with the middle element and halves the remaining range.
Choose an option to check your answer.
Correct Answer: C. 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: D. Queue
Explanation:A queue removes elements in the order they were inserted.
Choose an option to check your answer.
Correct Answer: A. Stack
Explanation:A stack removes the most recently inserted element first.
Choose an option to check your answer.
Correct Answer: A. Binary search
Explanation:Binary search compares with the middle element and halves the remaining range.
Choose an option to check your answer.
Correct Answer: B. A named storage location for a value
Explanation:A variable associates a name with data that a program can use or change.