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

Ambiguous and Inherently Ambiguous Grammar MCQs: 11 Solved Questions
Solve 11 ambiguity MCQs. Learn to prove CFG ambiguity, distinguish inherent ambiguity and read precedence from grammar structure.

Regex and FA Equivalence MCQs: 10 Solved Questions with Explanations
Work through ten Regex and FA Equivalence MCQs on language comparison, careful pattern parsing, minimum-state counting, complementation and remainder tracking.

DBMS Concurrency Problems MCQs: 10 Solved Questions with Explanations
Ten DBMS concurrency questions with worked values, operation orders, lock rules and concise explanations.

Sync Counter Analysis MCQs: 12 Solved GATE & PSU Questions with Step-by-Step Answers
Solve 12 sync counter analysis questions on basic concepts, modulus, frequency division and state tracing. Each answer shows the calculation and the common trap.

Implication and Biconditional Operators in Logic: 11 Solved MCQs with Step-by-Step Explanations
Eleven solved MCQs cover implication, biconditional, translations, equivalence, truth values, NAT steps, and traps.

CPU Organization Basics MCQs: 12 Solved Questions with Explanations
Test whether you can follow an instruction through the CPU, then solve 12 published questions on registers, buses, memory capacity and clock timing.

Introduction to Natural Language Processing MCQs: 12 Solved Questions with Explanations
Attempt 12 NLP MCQs drawn from teaching and state PSC computer science papers, then use the explanations to separate NLU, NLG, speech, entities, and embeddings.

Artificial Neural Networks MCQs: 10 Solved Questions with Explanations
Attempt ten live question-bank items on artificial neural networks, check the keyed answers, and use one worked neuron to connect inputs, weights, bias, and activation.

C Programming MCQs: 12 Solved Intro & Data Types Questions with Explanations
Attempt 12 C Programming MCQs drawn from state, teacher-recruitment and placement-style papers, then use the worked explanations to fix each concept.

Asymptotic Notations MCQs: 12 Solved Questions with Explanations
Solve 12 asymptotic notation MCQs with concise explanations of bounds, dominant terms, composition rules, strict notations, and case analysis.

Mongoose Schemas and Models: Validation, Population, and the Pitfalls That Silently Break Node Apps
Build User and Course schemas, populate ObjectId references, and avoid the unique-index, update-validator, equality, and timestamp mistakes that damage data.

Time Complexity MCQs: 12 solved questions on asymptotic analysis
12 solved time complexity MCQs with explanations: Big-O ordering, loop and recursion analysis, the Master Theorem and recurrences, all previous-year GATE.

Hashing MCQs: 12 solved questions on hash functions and collision resolution
12 solved hashing MCQs with explanations: hash functions, load factor, linear probing traces, separate chaining and universal hashing, previous-year GATE.

Stacks and Queues MCQs: 12 solved data structures questions with explanations
12 solved stacks and queues MCQs with explanations: LIFO and FIFO order, infix to postfix, circular queues, deques and stack-queue simulation, GATE PYQs.

Addressing Modes and Instruction Formats MCQs: 12 solved COA questions
12 solved addressing modes and instruction formats MCQs for GATE and UGC NET: effective address computation, index and relative modes, instruction encoding.

Number Representation and Floating Point MCQs: 12 solved COA questions
Twelve solved computer organization MCQs for GATE: two's complement, base conversion, IEEE 754 fields, normalization and floating-point precision loss.

Parsing MCQs: 12 solved questions on top-down and bottom-up parsing
Twelve solved parsing MCQs for GATE compiler design: FIRST and FOLLOW sets, LL(1) predictive tables, handles, and LR, SLR and LALR shift-reduce parsing.

Lexical Analysis MCQs: 10 solved compiler design questions with explanations
Ten solved lexical analysis MCQs for GATE compiler design: tokens and lexemes, the finite-automaton scanner, keyword recognition and the compiler phases.

Graph Theory MCQs: 12 solved questions on Euler paths, coloring and trees
Twelve solved graph theory MCQs for GATE: handshaking lemma, Euler and Hamiltonian graphs, planarity, chromatic number, trees and spanning-tree counting.

Propositional and Predicate Logic MCQs: 12 solved questions with explanations
Twelve solved propositional and predicate logic MCQs for GATE and UGC NET: logical connectives, equivalences, quantifier negation and first-order validity.

Set Theory and Relations MCQs: 12 solved discrete maths questions
Set theory and relations MCQs: 12 solved GATE questions on set operations, relation properties, closures, equivalence relations, posets and Hasse diagrams.

Sequential Circuits MCQs: 11 solved questions on flip-flops and counters
Sequential circuits MCQs with solutions: 11 solved GATE questions on SR, D, JK and T flip-flops, excitation tables, Johnson counters and mod-N counter design.

Combinational Circuits MCQs: 12 solved questions on MUX, decoders and adders
Combinational circuits MCQs with solutions: 12 solved GATE questions on multiplexers, decoders and ROMs, half and full adders, and carry-lookahead adders.

Boolean Algebra and K-Map MCQs: 12 solved questions with explanations
Boolean algebra and K-map MCQs with solutions: 12 solved GATE questions on simplification, SOP and POS forms, self-dual functions and NAND/NOR realization.

Number System MCQs: 12 solved digital electronics questions with explanations
Number system MCQs with solutions: 12 solved GATE questions on binary, octal and hex conversion, radix equations, and 1's and 2's complement signed numbers.

Computer Networks Subnetting MCQs: 12 solved IP addressing questions (GATE/NET)
Subnetting and IP addressing MCQs with solutions: 12 solved GATE questions on address classes, subnet masks, hosts per subnet, CIDR, VLSM and prefix matching.

DBMS Transaction MCQs: 12 solved questions on ACID, serializability and locking
DBMS transaction MCQs with solutions: 12 solved GATE PYQ questions on ACID properties, conflict serializability, graphs, recoverability, and 2PL locking.

DBMS SQL Query MCQs: 12 solved questions on SELECT, joins and subqueries
DBMS SQL query MCQs with solutions: 12 solved GATE PYQ questions on SELECT and DISTINCT, inner and outer joins, GROUP BY, HAVING, and nested subqueries.

DBMS Normalization MCQs: 12 solved questions from 1NF to BCNF (GATE/NET)
DBMS normalization MCQs with solutions: 12 solved GATE and UGC NET questions on 1NF, 2NF, 3NF, BCNF, and lossless dependency-preserving decomposition.

Graph MCQs: 10 solved questions on representations, BFS, DFS and connectivity
Graph solved MCQs with explanations: 10 GATE PYQs on the adjacency matrix and list, BFS and DFS traversals, running times, connected components and SCCs.

Context-Free Grammar MCQs: 11 solved questions on CFG, CFL and PDA
Context-free grammar solved MCQs with explanations: 11 GATE PYQs on CFGs, the Chomsky hierarchy, CFL closure properties, pushdown automata and decidability.

Computer Networks Application Layer MCQs: 12 solved DNS, HTTP and email questions
Application layer MCQs with solutions: 12 solved GATE questions on DNS, HTTP over TCP, cookies, SMTP and POP3 email flow, MIME, and client-server basics.

Process Management and Process States MCQs: 12 solved questions
Process management and process states MCQs for GATE, UGC NET and PSU exams: the process lifecycle, state transitions, the PCB, context switching, schedulers.

Disk Scheduling MCQs: 12 solved questions (FCFS, SSTF, SCAN)
Disk scheduling MCQs for GATE, UGC NET and PSU exams: FCFS, SSTF and SCAN head-movement numericals, seek time, direction changes, each solved and explained.

Threads and Process Creation MCQs: 12 solved questions with explanations
Threads and process creation MCQs for GATE, UGC NET and placement: user versus kernel threads, what threads share, fork process counting, and thread models.

File Systems and Allocation MCQs: 12 solved questions with explanations
File systems and allocation MCQs for GATE, UGC NET and PSU exams: contiguous, linked and indexed allocation, Unix i-node sizing, directories, free space.

Page Replacement Algorithms MCQs: 12 solved questions (FIFO, LRU, Optimal)
Page replacement MCQs for GATE, UGC NET and DSSSB: FIFO and Belady's anomaly, LRU, Optimal, and page-fault counting numericals, each solved and explained.

Virtual Memory and Demand Paging MCQs: 12 solved questions with explanations
Virtual memory and demand paging MCQs for GATE, UGC NET and placement: address translation, page-table size, effective access time, thrashing, frames.

Binary Tree MCQs: 11 solved questions on traversals, BST, AVL and heaps
Binary tree solved MCQs with explanations: 11 GATE PYQs on tree properties, traversals, binary search trees, AVL height bounds and binary heap operations.

Finite Automata MCQs: 10 solved questions on DFA, NFA and minimization
Finite automata solved MCQs with explanations: 10 GATE PYQs on DFA design, minimal-state counting, complement, and the NFA to DFA subset-construction bound.

Computer Networks Transport Layer MCQs: 12 solved TCP and UDP questions (GATE/NET)
TCP and UDP transport layer MCQs with solutions: 12 solved GATE questions on sequence numbers, the handshake, full-duplex, slow start, and token bucket rate.

Operating System Basics MCQs: 12 solved questions on OS structure
12 solved operating system basics MCQs for GATE, UGC NET and placements: OS functions, multiprogramming, system calls, dual mode and context switches.

Process Synchronization MCQs: 12 solved GATE questions with explanations
12 solved process synchronization MCQs for GATE, UGC NET and placement prep: critical section, race conditions, Peterson's algorithm and semaphore problems.

Memory Management and Paging MCQs: 12 solved GATE questions
12 solved memory management and paging MCQs for GATE, UGC NET and placements: fit strategies, page table size, TLB tags, access time and virtual memory.

Process Scheduling MCQs: 12 solved GATE questions with explanations
12 solved CPU scheduling MCQs for GATE, UGC NET and placement prep: FCFS vs preemption, SJF and SRTF, the round robin quantum, and time-sharing behaviour.