This section contains carefully selected MCQs and Previous Year Questions with explanations to help students understand concepts and prepare effectively for examinations, interviews, and competitive tests.
Q: 1How many keys are needed for encrypted communication among 16 persons using AES encryption assuming unique key is used between any two persons?
Option A
AES (Advanced Encryption Standard) is a symmetric key encryption algorithm, meaning the same secret key is used for both encryption and decryption.
When secure communication is required between two persons, they must share a unique secret key. If every pair of users uses a different key, then the total number of keys required equals the number of unique pairs that can be formed among the users. For n persons, the number of such pairs is n(n−1)/2.
For 16 persons, the required keys are 16*15/2=120. Therefore, 120 unique keys are needed so that each pair of persons can communicate securely using AES.
| ENCRYPTION TYPE | KEYS REQUIRED |
|---|---|
| Symmetric (AES) | N*(N-1)/2 |
| Asymmetric (RSA) | 2N |
Q: 2What is the advantage of setting up a DMZ (Demilitarized Zone) using firewall?
Option B
The primary advantage of setting up a DMZ (Demilitarized Zone) using a firewall is to create multiple zones of trust within a network, which enhances security. A DMZ acts as a buffer zone between the public Internet and the internal private network, isolating public-facing servers (such as web, email, and DNS servers) from sensitive internal resources. This setup allows external users to access services in the DMZ while preventing direct access to the internal network.
Q: 3The minimum positive integers p such that 3p modulo 17 = 1 is –
Option D
Q: 4SHA-2 algorithm generate ____________ length of hash value.
Option B
The SHA-2 (Secure Hash Algorithm 2) family is a set of cryptographic hash functions designed to provide secure hashing for data integrity and digital signatures.
SHA-2 includes variants such as SHA-224, SHA-256, SHA-384, and SHA-512, where the number in the name indicates the length of the hash output in bits.
SHA-256, the most commonly used variant, produces a 256-bit (32-Byte) hash value.
Q: 5Which of the following is incorrect?
Option C
The RSA (Rivest Shamir Adleman) is not a data storage algorithm. It is a public-key cryptographic algorithm used for encryption and secure data transmission.
It works on the concept of two keys, a Public Key which is used for encryption and a Private Key which is used for decryption. The security of RSA is based on the mathematical difficulty of factorizing large prime numbers.
RSA is commonly used in Digital Signatures, Secure Web Communication (HTTPS), and Key Exchange mechanisms.
Q: 6Input block size, key size and output block size in Data Encryption Standard (DES) are respectively:
Option C
Data Encryption Standard (DES) is a symmetric key block cipher widely used for secure data transmission.
This design allows secure encryption and decryption using the same 56-bit key.
| Symmetric Encryption Algorithms | Key Size | Message Size |
|---|---|---|
| DES (Data Encryption Standard) | 56 bits | 64-bit block |
| 3DES (Triple DES) | 112 or 168 bits | 64-bit block |
| AES (Advanced Encryption Standard) | 128, 192, or 256 bits | 128-bit block |
| Blowfish | 32–448 bits | 64-bit block |
| IDEA (International Data Encryption Algorithm) | 128 bits | 64-bit block |
| RC4 | 40–2048 bits | Stream cipher |
| Asymmetric Encryption Algorithms | Key Size | Message Size |
|---|---|---|
| RSA (Rivest–Shamir–Adleman) | 1024–4096 bits | Variable |
| ECC (Elliptic Curve Cryptography) | 160–521 bits | Variable |
Q: 7In cryptography, the encrypted text is called ____________.
Option D
In cryptography, when a readable message (Plain Text) is converted into an unreadable form using an encryption algorithm and a key, the result is called Cipher Text.
Q: 8Which of the following is the default authentication mode for IIS?
Option A
By default, IIS (Internet Information Services) allows users to access web content without requiring credentials. This is called Anonymous Authentication, where the server uses a built-in account to handle requests from unauthenticated users.
Q: 9Choose the correctly matched options
Option A
In information security, different mechanisms are used to achieve different goals.
Q: 10What are Honeypot systems?
Option A
A Honeypot is a special security system used in cyber security to trap and monitor attackers. It acts as a fake or decoy system designed to appear valuable to hackers.
The main purpose of a honeypot is:
A honeypot does not contain important real data. Instead, it is intentionally created to detect unauthorized access attempts.
Q: 11In Data Encryption Standard (DES), the number of rounds is _________.
Option B
Data Encryption Standard (DES) is a Symmetric Key block cipher algorithm that uses the same secret key for both encryption and decryption.
The encryption process in DES consists of a series of operations known as rounds. In DES total 16 rounds are performed, making the encryption much stronger and harder to break through Brute-Force or Statistical Attacks.
Q: 12Which of the following is not a Cipher Mode in Cryptography?
Option C
In cryptography, cipher modes are techniques used to repeatedly apply a block cipher algorithm for encrypting large amounts of data securely. Common cipher modes are:
However, Stem Cipher Mode is not a standard cipher mode in cryptography.
Q: 13Which of the following can be protected using a firewall?
Option D
A Firewall is a network security system that monitors and controls incoming and outgoing network traffic based on predefined security rules. Its main purpose is to protect a computer network from unauthorized access through the network.
Network Scanning is a technique used by attackers to identify open ports, active hosts, and running services in a network to find vulnerabilities. A properly configured firewall can block suspicious requests, restrict unauthorized access to ports, and prevent scanning attempts, thereby protecting the system from such attacks.
Q: 14In the given key pattern:
1 → 4, 2 → 8, 3 → 1, 4 → 5, 5 → 7, 6→2, 7→6, 8→3
The first bit of plaintext moves to the fourth position of ciphertext and so on.
What would be the cipher text in transposition cipher for the following plaintext ?
Plaintext : SACKGAUL
(Note: above plaintext should be read from right to left)
Option A
Given, Plaintext = SACKGAUL, but it says read from right to left, so we reverse it: LUAGKCAS. Now, the positions are:
| POSITION | LETTER |
|---|---|
| 1 | L |
| 2 | U |
| 3 | A |
| 4 | G |
| 5 | K |
| 6 | C |
| 7 | A |
| 8 | S |
The given key pattern:
1 → 4
2 → 8
3 → 1
4 → 5
5 → 7
6 → 2
7 → 6
8 → 3
This means:
The 1st plaintext letter goes to 4th position in ciphertext.
The 2nd plaintext letter goes to 8th position in ciphertext.
The 3rd plaintext letter goes to 1st position and so on. So,
| PLAINTEXT LETTER | GOES TO POSITION | CIPHERTEXT POSITION |
|---|---|---|
| L (1) | 4 | 4th = L |
| U (2) | 8 | 8th = U |
| A (3) | 1 | 1st = A |
| G (4) | 5 | 5th = G |
| K (5) | 7 | 7th = K |
| C (6) | 2 | 2nd = C |
| A (7) | 6 | 6th = A |
| S (8) | 3 | 3rd = S |
Now after arranging ciphertext in order 1 to 8, ACSLGAKU. Since plaintext was read right to left, the ciphertext is also read from right to left, i.e., UKAGLSCA.
Q: 15
In context of network security match the following –
| Column – I | Column – II |
|---|---|
| (P) Fabrication | 1. Message Confidentiality |
| (Q) Modification | 2. Message Integrity |
| (R) Interception | 3. Authentication |
Option D
Fabrication refers to creating fake messages or data, so authentication mechanisms are used to detect and prevent this.
Modification means altering messages during transmission. Ensuring message integrity detects such tampering.
Interception refers to unauthorized access or eavesdropping. Confidentiality (encryption) protects the message content.
Thank you so much for taking the time to read my Computer Science MCQs section carefully. Your support and interest mean a lot, and I truly appreciate you being part of this journey. Stay connected for more insights and updates! If you'd like to explore more tutorials and insights, check out my YouTube channel.
Don’t forget to subscribe and stay connected for future updates.