Computer Science MCQs · Algorithms and Data Structures Which algorithm efficiently computes the maximum subarray sum? A Brute Force B Kadane's Algorithm Correct answer C Divide and Conquer D Dynamic Programming MCQSEXAM Show answer Read explanation
Computer Science MCQs · Database Management Systems In database systems, which normal form requires that every determinant is a candidate key? A Third Normal Form B Boyce-Codd Normal Form Correct answer C Fourth Normal Form D Fifth Normal Form MCQSEXAM Show answer Read explanation
Computer Science MCQs · Algorithms and Data Structures Which theorem establishes that any boolean function can be computed by a circuit of depth O(log n)? A Cook-Levin Theorem B Shannon's Expansion Theorem Correct answer C Razborov's Theorem D Ladner's Theorem MCQSEXAM Show answer Read explanation
Computer Science MCQs · Algorithms and Data Structures In computational geometry, which algorithm efficiently computes the closest pair of points? A Brute Force B Divide and Conquer Correct answer C Sweep Line D Randomized Algorithm MCQSEXAM Show answer Read explanation
Computer Science MCQs · Cybersecurity Which principle in computer security states that users should have the minimum privileges necessary? A Defense in Depth B Principle of Least Privilege Correct answer C Separation of Duties D Fail-Safe Defaults MCQSEXAM Show answer Read explanation
Computer Science MCQs · Software Engineering In distributed systems, which consensus algorithm is leaderless? A Paxos Correct answer B Raft C Byzantine Fault Tolerance D Two-Phase Commit MCQSEXAM Show answer Read explanation
Computer Science MCQs · Algorithms and Data Structures Which data structure provides efficient persistence with path copying? A Persistent data structures Correct answer B Ephemeral data structures C Mutable data structures D Immutable data structures MCQSEXAM Show answer Read explanation
Computer Science MCQs · Software Engineering In compiler design, which analysis determines the lifetime of variables? A Data flow analysis B Liveness analysis Correct answer C Control flow analysis D Alias analysis MCQSEXAM Show answer Read explanation
Computer Science MCQs · Database Management Systems In database systems, which protocol ensures serializability through timestamp ordering? A Two-Phase Locking B Timestamp Ordering Correct answer C Multi-Version Concurrency Control D Optimistic Concurrency Control MCQSEXAM Show answer Read explanation
Computer Science MCQs · Algorithms and Data Structures Which algorithm efficiently finds the longest common subsequence of two sequences? A Naive Recursion B Dynamic Programming Correct answer C Greedy Algorithm D Divide and Conquer MCQSEXAM Show answer Read explanation
Computer Science MCQs · Operating Systems In operating systems, what is the primary purpose of the banker's algorithm? A Deadlock avoidance Correct answer B Deadlock detection C Deadlock prevention D Memory management MCQSEXAM Show answer Read explanation
Computer Science MCQs · Algorithms and Data Structures Which data structure provides efficient range minimum queries with O(1) time after O(n log n) preprocessing? A Segment Tree B Sparse Table Correct answer C Fenwick Tree D Binary Indexed Tree MCQSEXAM Show answer Read explanation
Computer Science MCQs · Computer Networks In computer networks, which protocol provides reliable, ordered, and error-checked delivery of data? A UDP B TCP Correct answer C IP D ICMP MCQSEXAM Show answer Read explanation
Computer Science MCQs · Algorithms and Data Structures In formal language theory, which grammar generates the context-sensitive languages? A Type 0 B Type 1 Correct answer C Type 2 D Type 3 MCQSEXAM Show answer Read explanation
Computer Science MCQs · Algorithms and Data Structures Which algorithm efficiently solves the assignment problem in polynomial time? A Brute Force B Hungarian Algorithm Correct answer C Simplex Algorithm D Branch and Bound MCQSEXAM Show answer Read explanation
Computer Science MCQs · Software Engineering Which principle in software engineering states that a class should have only one reason to change? A Open-Closed Principle B Single Responsibility Principle Correct answer C Liskov Substitution Principle D Interface Segregation Principle MCQSEXAM Show answer Read explanation
Computer Science MCQs · Software Engineering In distributed systems, which algorithm solves the Byzantine Generals Problem? A Paxos B PBFT Correct answer C Raft D Two-Phase Commit MCQSEXAM Show answer Read explanation
Computer Science MCQs · Algorithms and Data Structures Which data structure is used for efficient storage and retrieval of multidimensional data? A B-tree B R-tree Correct answer C Quad-tree D Octree MCQSEXAM Show answer Read explanation
Computer Science MCQs · Software Engineering In compiler design, which optimization technique eliminates redundant computations? A Constant folding B Common subexpression elimination Correct answer C Loop invariant code motion D Dead code elimination MCQSEXAM Show answer Read explanation
Computer Science MCQs · Algorithms and Data Structures Which data structure provides efficient string matching with O(m) preprocessing and O(n) search time? A Naive String Matching B Knuth-Morris-Pratt Algorithm Correct answer C Rabin-Karp Algorithm D Boyer-Moore Algorithm MCQSEXAM Show answer Read explanation
Computer Science MCQs · Operating Systems In operating systems, what is the primary cause of priority inversion? A Resource holding by low-priority task Correct answer B Deadlock situation C Starvation of low-priority tasks D Context switching overhead MCQSEXAM Show answer Read explanation
Computer Science MCQs · Algorithms and Data Structures Which algorithm efficiently multiplies two large integers using divide and conquer? A Schoolbook Multiplication B Karatsuba Algorithm Correct answer C Toom-Cook Algorithm D Schönhage-Strassen Algorithm MCQSEXAM Show answer Read explanation
Computer Science MCQs · Database Management Systems In database systems, which isolation level prevents dirty reads but allows non-repeatable reads? A Read Uncommitted B Read Committed Correct answer C Repeatable Read D Serializable MCQSEXAM Show answer Read explanation
Computer Science MCQs · Algorithms and Data Structures Which theorem establishes that any monotonic boolean function can be computed by a monotonic circuit? A Cook-Levin Theorem B Razborov's Theorem Correct answer C Savitch's Theorem D Ladner's Theorem MCQSEXAM Show answer Read explanation
Computer Science MCQs · Algorithms and Data Structures In computational geometry, which algorithm efficiently computes the convex hull of a set of points? A Jarvis March B Graham's Scan Correct answer C Quickhull D Chan's Algorithm MCQSEXAM Show answer Read explanation