Study Key A Content Processing Service for Students and Teachers, for Study and Evaluation
A Content Processing Service for Students and Teachers, for Study and Evaluation

Exercise 3 Solutions · Unit 3: Algorithms and Problem Solving

6 reading sections · 20 MCQs · 8 short · 5 long questions

All 33 Ex 3 23

Exercise 3 — Exercise 3: MCQs, short and long questions

Ex 3 · QMCQ 1 MCQ1 mark
The characteristic of a well-defined problem is:
(a) Ambiguous goals and unclear requirements
(b) Vague processes and inputs
(c) Clear goals, inputs, processes, and outputs
(d) Undefined solutions
⚑ Report a mistake
Ex 3 · QMCQ 2 MCQ1 mark
Complexity class representing problems solvable efficiently by a deterministic algorithm:
(a) NP
(b) NP-hard
(c) NP-complete
(d) P
⚑ Report a mistake
Ex 3 · QMCQ 3 MCQ1 mark
The statement that applies to unsolvable problems:
(a) They can be solved in polynomial time
(b) They cannot be solved by any algorithm
(c) They are always in NP class
(d) They require exponential time to solve
⚑ Report a mistake
Ex 3 · QMCQ 4 MCQ1 mark
The meaning of NP in computational complexity is:
(a) Non-deterministic Polynomial time
(b) Negative Polynomial time
(c) Non-trivial Polynomial time
(d) Numerical Polynomial time
⚑ Report a mistake
Ex 3 · QMCQ 5 MCQ1 mark
Search algorithm more efficient for large datasets:
(a) Bubble Sort
(b) Merge Sort
(c) Selection Sort
(d) Quick Sort
⚑ Report a mistake
Ex 3 · QMCQ 6 MCQ1 mark
A scenario where Dynamic Programming proves most useful:
(a) Problems without overlapping subproblems
(b) Problems solved by making local choices
(c) Problems with overlapping subproblems and optimal substructure
(d) Problems divided into independent subproblems
⚑ Report a mistake
Ex 3 · QMCQ 7 MCQ1 mark
An algorithm that sorts data by stepping through the list and swapping adjacent elements if needed is:
(a) Selection Sort
(b) Quick Sort
(c) Bubble Sort
(d) Merge Sort
⚑ Report a mistake
Ex 3 · QMCQ 8 MCQ1 mark
Time complexity of Depth-First Search (DFS) in a graph is:
(a) O(n log n)
(b) O(V)
(c) O(V + E)
(d) O(n)
⚑ Report a mistake
Ex 3 · QMCQ 9 MCQ1 mark
Best description of time complexity:
(a) Amount of memory an algorithm needs
(b) Time taken as a function of input size
(c) Efficiency as input size grows
(d) Upper bound of space requirements
⚑ Report a mistake
Ex 3 · QMCQ 10 MCQ1 mark
An algorithm with a time complexity of O(n log n):
(a) Bubble Sort
(b) Binary Search
(c) Merge Sort
(d) Insertion Sort
⚑ Report a mistake
Ex 3 · QShort 1 Short2 marks
Differentiate between well-defined and ill-defined problems within the realm of computational problem-solving.
⚑ Report a mistake
Ex 3 · QShort 2 Short2 marks
Outline the main steps involved in the Generate-and-Test method.
⚑ Report a mistake
Ex 3 · QShort 3 Short2 marks
Compare tractable and intractable problems in the context of computational complexity.
⚑ Report a mistake
Ex 3 · QShort 4 Short2 marks
Summarize the key idea behind Greedy Algorithms.
⚑ Report a mistake
Ex 3 · QShort 5 Short2 marks
Discuss the advantages of using Dynamic Programming.
⚑ Report a mistake
Ex 3 · QShort 6 Short2 marks
Compare the advantages of Breadth-First Search (BFS) with Depth-First Search (DFS) in graph traversal.
⚑ Report a mistake
Ex 3 · QShort 7 Short2 marks
Explain the importance of breaking down a problem into smaller components in algorithmic thinking.
⚑ Report a mistake
Ex 3 · QShort 8 Short2 marks
Identify the key factors used to evaluate the performance of an algorithm.
⚑ Report a mistake
Ex 3 · QLong 1 Long5 marks
Provide a detailed explanation of why the Halting Problem is considered unsolvable and its implications in computer science.
⚑ Report a mistake
Ex 3 · QLong 2 Long5 marks
Discuss the characteristics of search problems and compare the efficiency of Linear Search and Binary Search algorithm.
⚑ Report a mistake
Ex 3 · QLong 3 Long5 marks
Discuss the nature of optimization problems and provide examples of their applications in real-world scenarios.
⚑ Report a mistake
Ex 3 · QLong 4 Long5 marks
Explain the process and time complexity of the Bubble Sort algorithm. Compare it with another sorting algorithm of your choice in terms of efficiency.
⚑ Report a mistake
Ex 3 · QLong 5 Long5 marks
Discuss the differences between time complexity and space complexity. How do they impact the choice of an algorithm for a specific problem?
⚑ Report a mistake
Something went wrong. Reload ✕