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.
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.