
BYTE BATTLE FINALS
Authored by Dhananjay Dhananjay
Computers
University
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
[Complexity Classes]
Q: Which of the following problems is NP-Hard but not NP-Complete?
3-SAT
Halting Problem
Traveling Salesman Problem (decision version)
Subset Sum Problem
2.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
[Turing Machines]
Q: A Turing Machine with k tapes is equivalent in computational power to a standard single-tape Turing Machine. This is an example of:
Church-Turing Thesis
Rice’s Theorem
Time Hierarchy Theorem
None of the above
3.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
[Algorithm Analysis]
Q: What is the time complexity of the optimal solution for the Matrix Chain Multiplication problem with n matrices?
O(n log n)
O(n)
O(n³)
O(2ⁿ)
4.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
[Automata Theory]
Q: Which language is not context-free?
{aⁿbⁿ | n ≥ 0}
{aⁿbⁿcⁿ | n ≥ 0}
{aⁱbʲcᵏ | i = j or j = k}
{wwᴿ | w ∈ {0,1}*}
5.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
[Graph Theory]
Q: Which problem can be solved in linear time?
Finding the shortest path in an unweighted graph
Finding a maximum matching in a bipartite graph
Finding all Hamiltonian cycles in a graph
Finding the longest path in a directed acyclic graph
6.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
[Computability]
Q: Which problem is decidable?
None of the above
Determining if two context-free grammars generate the same language
Determining if a first-order logic formula is valid
Determining if a Turing Machine halts on an empty input
7.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
[Logic]
Q: Which formula is not a tautology in propositional logic?
(P → Q) → (¬Q → ¬P)
(P ∧ ¬P) → Q
¬(P ∧ Q) → (¬P ∨ ¬Q)
P ∨ ¬P
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?