Chapter 4
Information Security
TU BIM past exam questions
Past questions and answers
22 questions set from this chapter. Most repeated first.
- 2024 AD Model · 1 mark
What is the primary goal of computer security?
Answer
The primary goal of computer security is to protect information and systems by ensuring confidentiality, integrity and availability (the CIA triad) of data and resources against unauthorised access, modification or disruption.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2024 AD Model · 1 mark
Define an attack surface in the context of security.
Answer
An attack surface is the sum of all points (entry points, interfaces, ports, services, user inputs, devices and users) in a system where an unauthorised person can try to enter data into or extract data from the system. A smaller attack surface means lower risk.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2024 AD Model · 1 mark
What is the significance of prime numbers in cryptography?
Answer
Prime numbers are the basis of many public-key algorithms. For example, RSA multiplies two large primes to form the modulus ; multiplying is easy but factorising back into and is computationally infeasible for large values. Primes are also used in Diffie-Hellman and ElGamal (modulus and primitive roots) and in finite-field arithmetic.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2024 AD Model · 1 mark
Differentiate between symmetric and asymmetric key cryptography.
Answer
Symmetric cryptography uses the same single secret key for encryption and decryption (e.g. AES, DES); it is fast but requires safe key distribution. Asymmetric cryptography uses a pair of keys, a public key to encrypt and a private key to decrypt (e.g. RSA); it is slower but solves key distribution and supports digital signatures.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2024 AD Model · 1 mark
What is the primary purpose of a digital signature?
Answer
The primary purpose of a digital signature is to provide authentication, integrity and non-repudiation: it proves who sent a message or document and that it was not altered, so the signer cannot later deny it. It is created with the sender's private key and verified with the public key.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2024 AD Model · 1 mark
What is the purpose of two-factor authentication?
Answer
Two-factor authentication (2FA) requires two different kinds of proof of identity (for example a password plus a one-time code sent to a phone). Its purpose is to add a second layer of security so that an account stays protected even if the password is stolen or guessed.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2024 AD Model · 1 mark
Define intrusion prevention system.
Answer
An Intrusion Prevention System (IPS) is a network security device or software that monitors network traffic for malicious activity or policy violations and automatically takes action to stop it, such as blocking the traffic, dropping packets or resetting the connection, in addition to detecting and logging it.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2024 AD Model · 1 mark
What is backdoor?
Answer
A backdoor is a hidden method of bypassing normal authentication or security controls to gain access to a system, application or network. It may be built in by developers or installed by an attacker or malware (e.g. a remote access trojan) to allow later unauthorised access.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2024 AD Model · 1 mark
What is the primary purpose of a firewall?
Answer
The primary purpose of a firewall is to control and filter incoming and outgoing network traffic according to security rules, acting as a barrier between a trusted internal network and untrusted networks such as the Internet, so that unauthorised access is blocked.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2024 AD Model · 1 mark
Why security audit is essential?
Answer
A security audit is essential because it systematically examines systems, policies and controls to find vulnerabilities and weaknesses before attackers exploit them, checks compliance with laws and standards, verifies that security controls work, and helps improve protection of data and reduce risk.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2024 AD Model · 3 marks
Differentiate between threats, attacks, and assets in the context of computer security.
Answer
- Asset: anything of value to an organisation that must be protected, such as data, hardware, software, networks, and people. Example: a customer database.
- Threat: a potential danger or event that could exploit a vulnerability and harm an asset. It may or may not happen. Example: a hacker, malware, a power failure or a natural disaster.
- Attack: an actual deliberate attempt to exploit a vulnerability to damage, steal or gain unauthorised access to an asset. Example: a phishing campaign, SQL injection or a DoS attack.
In short, an asset is what is protected, a threat is what could cause harm, and an attack is the threat being carried out.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2024 AD Model · 3 marks
Explain the difference between substitution and transposition ciphers with examples.
Answer
Substitution cipher: each plaintext letter (or group) is replaced by another letter, number or symbol, while the position of letters stays the same. Example (Caesar cipher, shift 3): HELLO becomes KHOOR.
Transposition cipher: the letters of the plaintext are kept the same but their positions are rearranged according to a rule. Example (rail fence with 2 rails): HELLO WORLD, written as zig-zag rows HLOOL and ELWRD, gives HLOOLELWRD.
| Substitution | Transposition |
|---|---|
| Changes the letters | Changes the order of the letters |
| Letter frequencies are altered (but preserved in a simple monoalphabetic cipher) | Letter frequencies are preserved |
| Examples: Caesar, Vigenere, Playfair | Examples: Rail fence, columnar transposition |
Modern ciphers such as DES and AES combine both.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2024 AD Model · 3 marks
Describe how biometric authentication works and its advantages over traditional authentication methods.
Answer
How it works
- Enrolment: a sensor captures a physical or behavioural trait (fingerprint, face, iris, voice) and converts it into a digital template stored in a database.
- Authentication: when the user tries to log in, the trait is scanned again, features are extracted, and the new sample is compared with the stored template.
- Decision: if the match score is above a threshold, access is granted; otherwise it is denied.
Advantages over passwords, PINs and tokens
- Cannot be forgotten, lost or easily shared.
- Hard to steal or guess, since it is unique to each person.
- Convenient and fast (no need to remember or type anything).
- Provides stronger proof of identity and non-repudiation.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2024 AD Model · 3 marks
Compute whether 3 is primitive root of 7 or not.
Answer
A number is a primitive root of a prime if its powers modulo 7 generate all the numbers 1 to 6, i.e. the order of is .
The results 3, 2, 6, 4, 5, 1 are all distinct and cover every value from 1 to 6, and the first power giving 1 is . Hence the order of 3 is 6, so 3 is a primitive root of 7.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2024 AD Model · 3 marks
What are security audit trails, and how do they play a role in tracking and analyzing security-related activities within an information system?
Answer
A security audit trail is a chronological, tamper-resistant record of security-relevant events in a system, such as logins, failed logins, file access, privilege changes, configuration changes and transactions. Each entry normally records who did what, on which object, when, and with what result.
Role in tracking and analysing activity:
- Accountability: links every action to a user ID, so users cannot deny what they did (non-repudiation).
- Detection: reviewing logs reveals unusual patterns such as repeated failed logins or access at odd hours, which may indicate an intrusion.
- Reconstruction: after an incident, the trail shows how the attacker entered and what was changed or stolen.
- Evidence and compliance: supports forensic investigation, legal proceedings and regulatory audits.
- Deterrence: users who know their actions are logged are less likely to misuse the system.
Audit logs must be protected from modification and reviewed regularly, ideally with automated tools.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2024 AD Model · 3 marks
Explain the role of IT security management in an organization and its impact on overall security.
Answer
IT security management is the process of planning, implementing, monitoring and improving the controls that protect an organization's information assets. It covers security policies, risk assessment, selection of controls, staff training, incident response and regular review.
Role in the organization:
- Identifies assets, threats and vulnerabilities through risk analysis and ranks risks.
- Defines policies, standards and responsibilities so that everyone knows what is expected.
- Implements technical and administrative controls such as firewalls, access control, encryption, backups and awareness training.
- Monitors, audits and responds to incidents, then updates controls.
Impact on overall security: it gives a consistent, organization-wide approach, reduces the likelihood and cost of breaches, protects confidentiality, integrity and availability, ensures legal compliance and builds customer trust.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2024 AD Model · 5 marks
Distinguish between stream cipher and block cipher. Encrypt the message "SECURITY IS IMPORTANT FOR EVERYONE" using rail fence cipher using 4 as number of rails.
Answer
Stream cipher vs block cipher
| Basis | Stream cipher | Block cipher |
|---|---|---|
| Unit processed | One bit or byte at a time | Fixed-size block (for example 64 or 128 bits) at a time |
| Key use | Key generates a keystream that is XORed with plaintext | Same key applied to each block through rounds of substitution and permutation |
| Speed and hardware | Fast, simple hardware, low delay | Slower, more complex |
| Error propagation | Little; a bit error affects one bit | Error can affect the whole block |
| Examples | RC4, A5/1 | DES, AES |
Rail fence encryption (4 rails)
Plaintext without spaces: SECURITYISIMPORTANTFOREVERYONE
Writing letters in a zigzag over 4 rails and reading rail by rail:
- Rail 1: S T P T E
- Rail 2: E I Y M O N F V R E
- Rail 3: C R I I R A O E Y N
- Rail 4: U S T R O
Ciphertext: STPTEEIYMONFVRECRIIRAOEYNUSTRO
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2024 AD Model · 5 marks
What is the Public Key Infrastructure X.509? Discuss its role in network security.
Answer
X.509 is the ITU-T standard that defines the format of public-key certificates. Public Key Infrastructure (PKI) is the set of people, policies, hardware and software used to create, manage, distribute, store and revoke these certificates.
An X.509 certificate contains: version, serial number, signature algorithm, issuer (CA) name, validity period, subject name, subject's public key, extensions, and the CA's digital signature.
Components of PKI: Certification Authority (CA) which issues and signs certificates, Registration Authority (RA) which verifies identity, certificate repository (directory), and Certificate Revocation Lists (CRL) or OCSP for revoked certificates.
Role in network security:
- Binds a public key to an identity, so a user can trust that a key really belongs to its owner (prevents man-in-the-middle attacks).
- Provides authentication of servers and clients, for example in SSL/TLS and HTTPS.
- Enables digital signatures (integrity and non-repudiation), secure e-mail (S/MIME), VPN/IPsec and code signing.
- Supports key exchange for confidentiality.
- Allows trust chains from a root CA to end certificates and revocation of compromised keys.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2024 AD Model · 5 marks
Compare host-based intrusion detection Systems and network-based intrusion detection systems.
Answer
| Basis | Host-based IDS (HIDS) | Network-based IDS (NIDS) |
|---|---|---|
| Location | Installed on an individual host or server | Placed at network points (switch mirror port, gateway) |
| Data analysed | System logs, file integrity, processes, registry, system calls | Network packets and traffic flows |
| Visibility | Sees activity on that host, including local and encrypted traffic after decryption | Sees traffic across many hosts, but cannot see inside encrypted traffic or local activity |
| Detects | Insider misuse, file tampering, malware on the host | Port scans, DoS, network attacks and worms |
| Coverage and cost | One agent per host, more management effort and uses host resources | One sensor covers many hosts, no load on hosts |
| Dependency | Depends on the operating system | Independent of host OS |
| Examples | OSSEC, Tripwire | Snort, Suricata |
The two are complementary, and best security uses both.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2024 AD Model · 5 marks
What is message digest? differences between MD4 and MD5.
Answer
A message digest is the fixed-length output of a cryptographic hash function applied to a message of any length. It acts as a fingerprint of the data: a small change in the message changes the digest completely, the process is one-way, and it is computationally infeasible to find two messages with the same digest. It is used for integrity checking, digital signatures and password storage.
MD4 vs MD5 (both by Ron Rivest, 128-bit digest, 512-bit blocks):
| Basis | MD4 | MD5 |
|---|---|---|
| Year | 1990 | 1991 |
| Rounds | 3 rounds of 16 steps (48 steps) | 4 rounds of 16 steps (64 steps) |
| Additive constants | One constant per round | A different constant for every step (64 constants) |
| Step output | Not added to previous step output | Each step adds the result of the previous step |
| Round-1 function usage | Uses G with fewer variations | Uses new function I in round 4, and changed G |
| Speed | Faster | Slightly slower |
| Security | Weaker; collisions found easily | Stronger than MD4, though also now broken for collisions |
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2024 AD Model · 10 marks
Explain the process of encrypting and decrypting a message using the RSA algorithm. Given that the prime numbers chosen are p=11 and q=17, calculate the public and private keys, and then encrypt the message M=12. Show all steps in your calculations.
Answer
RSA process
- Choose two large primes and .
- Compute and .
- Choose public exponent with and .
- Compute private exponent such that .
- Public key is ; private key is .
- Encryption: . Decryption: .
Calculation for , ,
Choose , since .
Find with . Since , we get .
Public key: . Private key: .
Encryption:
; .
.
, and .
, and .
Decryption check: , which recovers (this holds because ).
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2024 AD Model · 10 marks
What is hash-based message authentication code. Explain design and working mechanism of digital signature algorithm, and how it ensures message integrity and authenticity.
Answer
HMAC (Hash-based Message Authentication Code) is a mechanism that provides message integrity and authenticity using a cryptographic hash function (such as SHA-256) and a shared secret key :
where is the key padded to the block size, is the byte 0x36 repeated and is 0x5C repeated. Only holders of the shared key can produce or verify the tag, so it is used in IPsec, TLS and API authentication.
Digital Signature Algorithm (DSA)
Design (global parameters): a prime , a prime divisor of , and .
Keys: the user picks private key with and computes public key .
Signing a message :
- Choose a random per-message secret , .
- Compute .
- Compute .
- The signature is .
Verification (receiver, using the sender's public key):
- Compute .
- and .
- .
- The signature is valid if .
How it ensures integrity and authenticity
- The hash is part of the signature, so any change in the message changes and verification fails (integrity).
- Only the owner of private key can create a valid , and anyone can check it with the public key , proving the sender's identity (authenticity) and giving non-repudiation.
- A fresh random for each message prevents key recovery; reuse of would expose .
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
Questions from TU BIM Fifth Semester IT 228 Artificial Intelligence Model Question 2024 (Faculty of Management model question 2024, BIM fifth semester, via EducateNepal), TU BIM Fifth Semester IT 242 Software Design and Development Model Question 2024 (Faculty of Management model question 2024, BIM fifth semester, via EducateNepal), TU BIM Fifth Semester IT 243 Programming with Python Model Question 2024 (Faculty of Management model question 2024, BIM fifth semester, via EducateNepal), TU BIM Fifth Semester IT 244 Information Security Model Question 2024 (Faculty of Management model question 2024, BIM fifth semester, via EducateNepal), TU BIM Fifth Semester MKT 201 Fundamentals of Marketing Model Question 2024 (Faculty of Management model question 2024, BIM fifth semester, via EducateNepal), TU BIM Fifth Semester IT 221 Computer Graphics 2016 (model question) (Faculty of Management model question 2016 (old course), via EducateNepal), TU BIM Fifth Semester IT 222 Java Programming II 2016 (model question) (Faculty of Management model question 2016 (old course), via EducateNepal) and TU BIM Fifth Semester IT 223 Advance Internetworking 2016 (model question) (Faculty of Management model question 2016 (old course), via EducateNepal). Answers are written for this site; check them against your class notes.