MCQ Practice
Clear, exam-focused explainers on core computer science subjects and programming.
461 articles in this topic

Greedy Algorithms and Huffman Coding MCQs: 12 Solved Questions with Explanations
Test greedy algorithm fundamentals and Huffman coding through 12 solved MCQs, including tree construction, weighted code length, decoding, and complexity.

A* Search Algorithm MCQs: 11 Solved Questions with Explanations
Solve 11 A* questions on evaluation functions, admissible heuristics, expansion contours and memory-bounded variants. Each answer explains the exam trap.

CFL Identification MCQs: 12 Solved Questions with Explanations
Solve 12 CFL identification MCQs in sequence, from basic PDA scope to intersections, copy languages and multi-constraint classifications. Each answer includes a fresh reason you can reuse under exam pressure.

FIRST and FOLLOW Sets MCQs: 10 Solved Questions Explained
Solve 10 FIRST and FOLLOW practice questions. Each answer explains the rule, propagation step or fixed-point calculation that decides it.

Super Key, Candidate Key & Primary Key MCQs: 12 Solved Questions
Solve 12 DBMS key MCQs with the deciding step shown for each answer. Practise minimality, attribute closure, superkey counting and primary-key rules.

2's Complement MCQs: 12 Solved Questions with Explanations
Solve 12 GATE 2's complement MCQs step by step, from negative encoding and sign extension to multiplication, hexadecimal scaling and fixed-width overflow.

Composition of Functions MCQs: 10 Solved Questions with Explanations
Solve 10 composition of functions MCQs step by step. Learn the right-to-left order, domain checks, associativity, and injective and onto implications.

Instruction Set Architecture MCQs: 12 Solved ISA Design Questions
Work through 12 ISA questions with teacher-led reasoning, exact field-width calculations and a practical checklist for avoiding common traps.

Banker's Algorithm MCQs: 12 Solved Deadlock-Avoidance Questions
Solve 12 Banker's Algorithm MCQs covering avoidance, complexity, resource guarantees, safe states, request grants and sequence checks, with worked explanations.

PPP, TCP/IP & VoIP MCQs: 10 Solved Questions
Solve 10 previous-year PPP, TCP/IP and VoIP questions with step-by-step explanations. Learn to separate protocols, services, media and network layers before choosing an option.

Heaps and Priority Queues MCQs: 12 Solved Questions with Explanations
Solve 12 heap MCQs, then check exact array traces for sift-up, delete-max and bottom-up heap construction, plus clear explanations of complexity and top-k selection.

Floyd-Warshall & Subset Sum MCQs: 12 Solved Questions with Explanations
Solve 12 Floyd-Warshall and Subset Sum questions with concise explanations and worked DP examples.

