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

B-Tree and B+ Tree MCQs: 12 Solved Structure and Insertion Questions
Solve 12 B-tree and B+ tree questions from first principles. Each answer explains the governing invariant, byte inequality or insertion state.

Logic Gates MCQs: 12 Solved NOT, OR and AND Gate Questions
Test the three basic logic gates through 12 worked MCQs, then tackle truth-table size, bit masking, De Morgan's law, feedback and a custom operator.

Commutative Property and Abelian Groups MCQs: 12 Solved Questions
Test whether groups and custom operations commute, then learn from concise solutions covering counterexamples, generators, inverses, and Abelian identities.

Hardwired and Microprogrammed Control Unit MCQs: 12 Solved Questions with Explanations
Work through 12 control-unit questions covering core definitions, speed order, register operations, microinstruction fields and control-word sizing.

Directory Structure MCQs: 12 Solved OS Questions with Explanations
Solve 12 directory structure questions covering file attributes, directory models, Unix commands, links, inode addressing and block bookkeeping. Each answer includes a direct explanation or complete calculation.

Encoding and Modulation MCQs: 11 Solved Questions with Explanations
Work through 11 solved MCQs on modems, QAM, line coding, PCM, Base64 and mixed signal facts. Each answer names the deciding idea and shows the numbers.

C Structures and Unions MCQs: Declaration, Initialization and sizeof Solved with Explanations
Solve 10 C structures and unions questions with clear reasoning on declarations, typedef aliases, node allocation, memory layout and function calls.

Introduction to Dynamic Programming MCQs: 12 Solved Questions with Explanations
Solve 12 introductory dynamic programming MCQs with clear explanations of core properties, memoization, Fibonacci, design steps, LIS, and table order.

2-D Transformations and Algorithms MCQs: 12 Solved Questions with Explanations
Attempt 12 solved 2-D transformation MCQs on scaling, reflection, rotation, shearing and viewing, with a formula sheet and the trap behind each wrong option.

Chomsky Hierarchy and Grammar Basics MCQs: 10 Solved Questions
Solve 10 previous-year questions on the Chomsky hierarchy, grammar restrictions, recognising machines, language inclusion, derivations and ambiguity. Each answer gives a worked reason and names the exam trap to avoid.

SSA and Control Flow MCQs: 10 Solved Questions with Step-by-Step Explanations
Practise ten SSA and control-flow questions from GATE and TPSC papers, then check a worked proof for every answer. Temporary counts, total names, CFG edges and backpatch lists each count differently.

Variations of 2PL: 8 Solved MCQs and 2 Worked Questions on Strict, Rigorous and Conservative Locking
Test the differences between basic, strict, rigorous and conservative 2PL. Eight objective questions and two worked schedules show how each lock rule changes the answer.

