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 Boolean Satisfiability Problem B. Traveling Salesman Problem A. Shortest Path Problem C. 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? NP A. NP-Hard B. P C. 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? It cannot be solved by a computer C. A proposed solution can be verified in polynomial time B. It can always be solved in constant time A. 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? Bayes Theorem C. Cook-Levin Theorem B. 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? Optimization version of Traveling Salesman Problem C. Minimum Spanning Tree B. Binary Search A. 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 be solvable in constant time C. It must belong to P only A. It must belong to NP and be NP-Hard B. 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? Exhaustive Search C. Brute Force Algorithm B. 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. Graph Coloring with at most 3 colors A. Binary Search B. 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-Hard problem must belong to NP A. Every NP-Complete problem is NP-Hard B. 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 Not computable C. O(n) B. 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. Alan Turing B. Charles Babbage A. 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: An algorithm always terminates with the correct Yes or No answer C. It has no possible solution A. 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? Checking whether a number is prime A. Sorting a list of integers B. Halting Problem C. 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 cannot be solved by any algorithm for all inputs B. A problem that requires linear time C. 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? Turing Machine B. Finite Automaton A. Pushdown Automaton C. 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 decidable problem must be NP-Complete B. Every decidable problem has an algorithm that halts on all valid inputs C. Every undecidable problem belongs to P A. 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? Binary Search A. Proof by contradiction using diagonalization B. 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? Post Correspondence Problem B. Checking whether a given integer is even C. General Halting Problem A. 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? No general algorithm exists that correctly determines halting for every program and input C. It can be solved in polynomial time for all programs B. 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 Output tape B. Control unit C. Input tape A. 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? John McCarthy C. Alan Turing B. Charles Babbage A. 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 write symbols B. Only to read symbols A. To read and write symbols on the tape and move along it C. 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 is the state from which computation begins B. It must be the only state in the machine C. It is always the final state A. 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