Cryptography MCQs with Answers
Security PracticePractice Cryptography MCQs with answers.
Security / Security
Cryptography MCQs
50 QuestionsPractice Cryptography MCQs with answers.
2What is 'Differential Power Analysis' (DPA) in cryptographic side-channel attacks?
3What is the primary role of a Key Derivation Function (KDF) in symmetric and asymmetric protocols?
4What is the HKDF (HMAC-based Extract-and-Expand Key Derivation Function / RFC 5869) protocol structure?
5What is the 'Random Oracle Model' (ROM) in theoretical cryptographic proofs?
6In cryptographic engineering, what is 'Cryptographic Agility'?
7What is the primary practical disadvantage of the McEliece code-based public key cryptosystem?
8The McEliece cryptosystem (developed in 1978) is a leading post-quantum asymmetric encryption algorithm based on which branch of mathematics?
9How does a Merkle Signature Scheme (MSS) extend one-time signatures (like Lamport or Winternitz) to sign multiple messages?
10What is a 'Lamport One-Time Signature'?
11What is the 'Learning With Errors' (LWE) problem introduced by Oded Regev in 2005?
12On which computationally hard mathematical problem is Lattice-Based Cryptography (such as Kyber and Dilithium) fundamentally based?
13Which algorithm was standardized by NIST as FIPS 205 (SLH-DSA), providing a stateless, hash-based digital signature backup that relies on zero lattice assumptions?
14Which algorithm was standardized by NIST in August 2024 as FIPS 204 (ML-DSA) for primary post-quantum digital signatures?
15In August 2024, NIST released its first completed Post-Quantum Cryptography standards. Which algorithm was standardized as FIPS 203 (ML-KEM) for general public-key encryption and key encapsulation?
16What is the impact of Grover's quantum algorithm on symmetric block ciphers like AES-128 and hash functions?
17Peter Shor's 1994 quantum algorithm achieves polynomial-time execution for which two mathematical problems, threatening classical public-key cryptography?
18What is the primary operational limitation of Quantum Key Distribution (QKD) compared to post-quantum algorithmic cryptography?
19What fundamental principle of quantum mechanics guarantees that an eavesdropper (Eve) cannot intercept and measure photon polarization in BB84 without being detected?
20In Quantum Key Distribution (QKD), which foundational 1984 protocol uses the polarization states of single photons across non-orthogonal bases to exchange a secret key?
21What technique did Craig Gentry introduce in 2009 to solve the problem of noise accumulation in somewhat homomorphic encryption schemes, making FHE possible?
22What is 'Fully Homomorphic Encryption' (FHE), first achieved by Craig Gentry in 2009?
23In OpenPGP / GPG, how does the 'Web of Trust' model fundamentally differ from hierarchical PKI?
24In Certificate Transparency, what cryptographic proof allows a client browser to verify that a certificate exists within an append-only log without downloading the entire database?
25What is 'Certificate Transparency' (RFC 6962)?
26In a Public Key Infrastructure (PKI), what is a Root Certificate Authority (Root CA)?
27In an X.509 digital certificate, which extension field specifies the alternative hostnames, subdomains, and IP addresses for which the certificate is valid?
28In a Threshold Signature Scheme (such as a (t, n) threshold signature), what occurs during signature generation?
29What is a 'Ring Signature' in privacy-preserving cryptography?
30What is a 'Blind Signature', originally invented by David Chaum in 1982?
31In the standard Digital Signature Algorithm (DSA / FIPS 186), on which mathematical problem is the signature scheme based?
32What is the primary advantage of the RSA-PSS (Probabilistic Signature Scheme) digital signature format over older RSA PKCS#1 v1.5 signatures?
33Which fast, one-time universal hash-based MAC was designed by Daniel J. Bernstein to operate over the prime field 2^130 - 5 and is standardly paired with ChaCha20?
34How does Cipher-based Message Authentication Code (CMAC / NIST SP 800-38B) solve the variable-length message vulnerability of CBC-MAC?
35Why is raw CBC-MAC insecure for authenticating messages of arbitrary, variable lengths?
36What is the primary difference between a Message Authentication Code (MAC) and a Digital Signature?
37What are the two mandatory constants used in the inner and outer XOR operations of an HMAC (Hash-based Message Authentication Code)?
38In the Argon2 password hashing standard, why is 'Argon2id' specifically recommended for general password hashing?
39Which password hashing algorithm won the Password Hashing Competition (PHC) in 2015 and is standardized in RFC 9106?
40What is the primary architectural mechanism used by 'scrypt' to resist hardware-accelerated (ASIC/FPGA) password cracking?
41Why are standard cryptographic hashes like SHA-256 considered fundamentally unsuitable for password hashing?
42What is an Extendable-Output Function (XOF), such as SHAKE128 and SHAKE256 in the SHA-3 standard?
43In the SHA-3 Sponge Construction, what are the two sequential phases of hash computation?
44What structural design makes the SHA-3 (Keccak) algorithm fundamentally immune to Length Extension Attacks?
45What is the internal word size and number of transformation rounds in SHA-256 compared to SHA-512?
46What is the digest output length produced by SHA-1, and which 2017 attack generated the first real-world collision?
47In 2004, Xiaoyun Wang and her research team demonstrated practical collision attacks against which widely deployed 128-bit hashing algorithm?
48What structural vulnerability affects Merkle-Damgard hash constructions (such as MD5, SHA-1, and SHA-256) when used directly as Message Authentication Codes in the form Hash(Key || Message)?
49What is the theoretical attack complexity to find a collision in an n-bit cryptographic hash function due to the Birthday Paradox?
50Which property of a cryptographic hash function states that it is computationally infeasible to find ANY two distinct inputs m1 and m2 such that H(m1) = H(m2)?
Comprehensive Question Hub
Subject-Wise MCQ Practice
Select any core Computer Science or programming subject below to access dedicated practice questions, answers, and topic-wise modules.
Practice Computer Science MCQs27 Core Subjects
Fundamental CS engineering subjects covering systems, theory, and data architecture.
Programming Language MCQs9 Languages
Practice coding output questions, language syntax, OOP paradigms, and standard libraries.
MCQs for Competitive Exams
Prepare with exam-specific question banks tailored to syllabi, previous years' question papers, and negative-marking criteria.
BPSC TRE 2.0 Computer Science
Practice BPSC TRE 2.0 Class 11-12 Computer Science previous-year questions with solutions.
BPSC TRE 3.0 Computer Science
Practice BPSC TRE 3.0 Class 11-12 Computer Science previous-year questions with solutions.
BPSC TRE 4.0 Computer Science
Practice BPSC TRE 4.0 Class 11-12 Computer Science previous-year questions with solutions.
Bihar STET Paper II Computer Science
Practice Bihar STET Paper II Class 11-12 Computer Science questions with solutions.
GATE Computer Science (CSE)
High-yield engineering questions covering Algorithms, Theory of Computation, Compiler Design, Computer Organization, and Operating Systems.
UGC NET Computer Science
Comprehensive question sets aligned with NTA UGC NET Paper II syllabus, featuring theoretical foundations, discrete math, and systems.
SSC & State Technical Exams
Foundational and practical MCQs for technical assistants, programmers, and informatics officers in central and state departments.
Why Practice MCQs on CodeZov?
A modern, high-yield practice platform designed to build speed, accuracy, and deep conceptual clarity.
Instant Answers & In-Depth Explanations
Receive immediate validation with step-by-step technical explanations and code breakdown so you learn from mistakes on the spot.
Full-Screen Distraction-Free Exam Mode
Simulate authentic exam environments with dedicated Full-Screen mode, keyboard shortcuts (1-4, A-D, Enter), and a live question matrix.
Topic-Wise & Subject-Wise Syllabus
Explore modular practice sets across Data Structures, Algorithms, DBMS, Operating Systems, Computer Networks, and modern programming languages.
Previous Year Questions (PYQs)
Solve authentic previous year questions adapted from BPSC TRE Computer Science, GATE CSE, and UGC NET question papers.
Ready to Deepen Your Conceptual Knowledge?
MCQ practice is most effective when paired with structured conceptual tutorials, career roadmaps, and full-length timed mock tests. Check out CodeZov's free resources to boost your preparation.
Core Syllabus Coverage
- Programming (C, C++, Java, Python, SQL)
- Data Structures & Algorithms
- Database Management Systems (DBMS)
- Operating Systems & Architecture
- Computer Networks & Cybersecurity
Frequently Asked Questions
Answers to common questions about practicing Computer Science MCQs on CodeZov.
What are MCQs?
Multiple-Choice Questions (MCQs) are objective assessment questions where learners select the correct option from multiple choices. In Computer Science, MCQs evaluate theoretical understanding, code snippet outputs, algorithm time complexities, and system architecture fundamentals.
Can I practice Computer Science MCQs online?
Yes, CodeZov offers 100% free online Computer Science MCQ practice with instant scoring, step-by-step explanations, code execution analysis, and Hindi translations without requiring mandatory registration or fees.
Are MCQs available topic-wise?
Yes, all questions on CodeZov are systematically organized by subject (such as DBMS, Operating Systems, Data Structures) and further categorized into specific topics (such as Trees, Normalization, CPU Scheduling, and TCP/IP) for focused preparation.
Do MCQs include answers and explanations?
Every MCQ on CodeZov features verified correct answers alongside in-depth conceptual explanations. Many questions also include bilingual Hindi explanations and line-by-line code breakdowns to ensure complete conceptual clarity.
Which subjects are available for MCQ practice?
CodeZov provides MCQs across over 40 technical subjects including C Programming, C++, Java, Python, Data Structures, Algorithms, DBMS, Operating Systems, Computer Networks, Theory of Computation, Compiler Design, Digital Logic Design, and Software Engineering.
Can I use MCQs to prepare for competitive exams?
Yes, our question bank is specifically curated for competitive examinations including BPSC TRE Computer Science (Class 11-12), GATE CSE, NTA UGC NET / JRF, ISRO, NIELIT, Kendriya Vidyalaya (KVS/NVS) PGT Computer Science, and university semester exams.