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.

Updated 16 Jul 20267 min readCompiler Design MCQs

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.

Updated 16 Jul 20267 min readTheory of Computation MCQs

DBMS Concurrency Problems MCQs: 10 Solved Questions with Explanations

Ten DBMS concurrency questions with worked values, operation orders, lock rules and concise explanations.

21 Jul 20268 min readDBMS MCQs

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.

Updated 16 Jul 20266 min readDigital Electronics MCQs

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.

Updated 16 Jul 20267 min readDiscrete Mathematics MCQs

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.

21 Jul 20268 min readComputer Organization MCQs

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.

Updated 16 Jul 20267 min readOperating System MCQs

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.

Updated 16 Jul 20267 min readComputer Networks MCQs

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.

Updated 15 Jul 20267 min readData Structures MCQs

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.

Updated 15 Jul 20266 min readAlgorithms MCQs

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.

Updated 15 Jul 20265 min readMCQ Practice

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.

17 Jul 20267 min readAlgorithms MCQs

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.

17 Jul 20268 min readData Structures MCQs

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.

17 Jul 20268 min readData Structures MCQs

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.

17 Jul 20267 min readComputer Organization MCQs

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.

17 Jul 20267 min readComputer Organization MCQs

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.

17 Jul 20267 min readCompiler Design MCQs

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.

17 Jul 20266 min readCompiler Design MCQs

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.

17 Jul 20267 min readDiscrete Mathematics MCQs

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.

17 Jul 20267 min readDiscrete Mathematics MCQs

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.

17 Jul 20268 min readDiscrete Mathematics MCQs

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.

17 Jul 20268 min readDigital Electronics MCQs

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.

17 Jul 20267 min readDigital Electronics MCQs

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.

17 Jul 20267 min readDigital Electronics MCQs

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.

17 Jul 20266 min readDigital Electronics MCQs

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.

13 Jul 20266 min readComputer Networks MCQs

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.

13 Jul 20266 min read140 viewsDBMS MCQs

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.

13 Jul 20267 min readDBMS MCQs

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.

13 Jul 20267 min readDBMS MCQs

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.

12 Jul 20267 min readData Structures MCQs

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.

12 Jul 20267 min readTheory of Computation MCQs

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.

12 Jul 20266 min readComputer Networks MCQs

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.

11 Jul 20266 min readOperating System MCQs

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.

11 Jul 20267 min readOperating System MCQs

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.

11 Jul 20268 min readOperating System MCQs

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.

11 Jul 20268 min readOperating System MCQs

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.

11 Jul 20268 min readOperating System MCQs

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.

11 Jul 20268 min readOperating System MCQs

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.

11 Jul 20268 min readData Structures MCQs

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.

Updated 14 Jul 20267 min readTheory of Computation MCQs

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.

10 Jul 20266 min readComputer Networks MCQs

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.

8 Jul 20266 min readOperating System MCQs

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.

Updated 14 Jul 20268 min readOperating System MCQs

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.

8 Jul 20267 min readOperating System MCQs

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.

Updated 14 Jul 20267 min readOperating System MCQs