TRE 4 Theory of computations Practice set 1 06th November 2026 Share On Que: (1). Which of the following is NOT an NP-Complete problem? Asked in BPSC TRE 3.0 Shortest Path Problem C. Traveling Salesman Problem A. Boolean Satisfiability Problem B. More than one of the above D. None of the above E. Check Answer Open question page Que: (2). Which of the following classes contains problems that can be solved in polynomial time? P C. NP A. NP-Hard B. More than one of the above D. None of the above E. Check Answer Open question page Que: (3). What is the defining characteristic of an NP problem? A proposed solution can be verified in polynomial time B. It can always be solved in constant time A. It cannot be solved by a computer C. More than one of the above D. None of the above E. Check Answer Open question page Que: (4). Which theorem established Boolean Satisfiability (SAT) as the first NP-Complete problem? Cook-Levin Theorem B. Bayes Theorem C. Poincare Theorem A. More than one of the above D. None of the above E. Check Answer Open question page Que: (5). Which of the following is an example of an NP-Hard problem? Binary Search A. Minimum Spanning Tree B. Optimization version of Traveling Salesman Problem C. More than one of the above D. None of the above E. Check Answer Open question page Que: (6). Which condition must be satisfied for a problem to be NP-Complete? It must belong to P only A. It must belong to NP and be NP-Hard B. It must be solvable in constant time C. More than one of the above D. None of the above E. Check Answer Open question page Que: (7). Which of the following is a polynomial-time algorithm for finding the shortest path in a graph with non-negative edge weights? Brute Force Algorithm B. Exhaustive Search C. Dijkstra Algorithm A. More than one of the above D. None of the above E. Check Answer Open question page Que: (8). If any one NP-Complete problem is solved in polynomial time, what will be the consequence? Only that problem will belong to P A. P will be equal to NP B. NP will become empty C. More than one of the above D. None of the above E. Check Answer Open question page Que: (9). Which of the following problems is a well-known NP-Complete decision problem? Finding the maximum element in an array C. Binary Search B. Graph Coloring with at most 3 colors A. More than one of the above D. None of the above E. Check Answer Open question page Que: (10). Which of the following statements about NP-Hard and NP-Complete problems is correct? Every NP-Complete problem is NP-Hard B. Every NP-Hard problem must belong to NP A. Every problem in P is NP-Complete C. More than one of the above D. None of the above E. Check Answer Open question page Que: (11). What is the computational complexity of the Halting Problem? Asked in BPSC TRE 3.0 O(n) B. Not computable C. O(1) A. More than one of the above D. None of the above E. Check Answer Open question page Que: (12). Who proved that the general Halting Problem is undecidable? John von Neumann C. Charles Babbage A. Alan Turing B. More than one of the above D. None of the above E. Check Answer Open question page Que: (13). A decision problem is called decidable when: It has no possible solution A. An algorithm always terminates with the correct Yes or No answer C. It can be solved only in exponential time B. More than one of the above D. None of the above E. Check Answer Open question page Que: (14). Which of the following is an example of an undecidable problem? Halting Problem C. Sorting a list of integers B. Checking whether a number is prime A. More than one of the above D. None of the above E. Check Answer Open question page Que: (15). What is the meaning of an undecidable problem in computer science? A problem that requires linear time C. A problem that cannot be solved by any algorithm for all inputs B. A problem that requires constant time A. More than one of the above D. None of the above E. Check Answer Open question page Que: (16). Which mathematical model is commonly used to study the Halting Problem? Pushdown Automaton C. Turing Machine B. Finite Automaton A. More than one of the above D. None of the above E. Check Answer Open question page Que: (17). Which of the following statements about decidable and undecidable problems is correct? Every undecidable problem belongs to P A. Every decidable problem has an algorithm that halts on all valid inputs C. Every decidable problem must be NP-Complete B. More than one of the above D. None of the above E. Check Answer Open question page Que: (18). What is the main technique used by Alan Turing to prove the undecidability of the Halting Problem? Proof by contradiction using diagonalization B. Binary Search A. Dynamic Programming C. More than one of the above D. None of the above E. Check Answer Open question page Que: (19). Which of the following problems is decidable? Checking whether a given integer is even C. General Halting Problem A. Post Correspondence Problem B. More than one of the above D. None of the above E. Check Answer Open question page Que: (20). Which of the following is true about the Halting Problem? It can be solved in polynomial time for all programs B. No general algorithm exists that correctly determines halting for every program and input C. It can be solved in O(1) time A. More than one of the above D. None of the above E. Check Answer Open question page Que: (21). Which of the following is NOT a component of a Turing Machine? Asked in BPSC TRE 3.0 Control unit C. Input tape A. Output tape B. More than one of the above D. None of the above E. Check Answer Open question page Que: (22). Who introduced the concept of the Turing Machine? Charles Babbage A. Alan Turing B. John McCarthy C. More than one of the above D. None of the above E. Check Answer Open question page Que: (23). What is the primary function of the read/write head in a Turing Machine? Only to read symbols A. To read and write symbols on the tape and move along it C. Only to write symbols B. More than one of the above D. None of the above E. Check Answer Open question page Que: (24). Which symbol is commonly used to represent a blank cell on the tape of a Turing Machine? 0 A. 1 B. B C. More than one of the above D. None of the above E. Check Answer Open question page Que: (25). What does the transition function of a Turing Machine determine? The next state, symbol to be written and head movement B. Only the input string A. Only the number of tape cells C. More than one of the above D. None of the above E. Check Answer Open question page Que: (26). Which of the following best describes the tape of a standard Turing Machine? A fixed-size memory register A. An infinite sequence of cells used for reading and writing B. A temporary input buffer only C. More than one of the above D. None of the above E. Check Answer Open question page Que: (27). What is the role of the finite control unit in a Turing Machine? To store unlimited data A. To control the machine state and determine transitions B. To provide an additional tape C. More than one of the above D. None of the above E. Check Answer Open question page Que: (28). Which of the following is the correct representation of a standard deterministic Turing Machine transition function? δ : Q × Γ → Q × Γ × {L, R} A. δ : Γ → Q C. δ : Q → Γ B. More than one of the above D. None of the above E. Check Answer Open question page Que: (29). Which of the following is true about the initial state of a Turing Machine? It must be the only state in the machine C. It is always the final state A. It is the state from which computation begins B. More than one of the above D. None of the above E. Check Answer Open question page Que: (30). Which of the following statements about a Universal Turing Machine is correct? It can solve every undecidable problem B. It can simulate the behavior of any Turing Machine given its description and input A. It does not require an input tape C. More than one of the above D. None of the above E. Check Answer Open question page