wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

IAS2_MIDTERM_EXAM_ 2ND_SEMESTER_SY.24_25

Total questions: 60

Worksheet time: 30mins

Name
Class
Date
1.

What is the primary purpose of cryptography?

a)

To make data transmission faster

b)

To transform data into an unreadable format for security

c)

To increase internet speed

d)

To create complex passwords

2.

Which of the following best defines "Computer Security"?

a)

Measures to protect data during transmission

b)

Generic name for tools designed to protect data and thwart hackers

c)

Protection of data over interconnected networks

d)

None of the above

3.

Which security service ensures that only authorized parties can read transmitted information?

a)

Authentication

b)

Integrity

c)

Confidentiality

d)

Availability

4.

What does "Encipher" mean in cryptography?

a)

The process of converting ciphertext back to plaintext

b)

The process of converting plaintext into ciphertext

c)

The study of breaking encryption

d)

A form of internet security

5.

What distinguishes symmetric-key encryption from public-key encryption?

a)

Symmetric-key encryption uses the same key for both encryption and decryption

b)

Public-key encryption uses only one key

c)

Symmetric-key encryption requires two separate keys

d)

Public-key encryption is not used for secure communications

6.

What is an example of a passive attack?

a)

Masquerade attack

b)

Modification of messages

c)

Eavesdropping on network traffic

d)

Denial of Service attack

7.

Which type of attack involves inserting counterfeit objects into a system?

a)

Interruption

b)

Interception

c)

Modification

d)

Fabrication

8.

What is steganography primarily used for?

a)

Encrypting messages to make them unreadable

b)

Hiding the existence of a message within another medium

c)

Creating strong passwords

d)

Preventing Denial of Service attacks

9.

Which security mechanism is primarily used to detect, prevent, or recover from security attacks?

a)

Security attack

b)

Security service

c)

Security mechanism

d)

Security encryption

10.

What is a major drawback of steganography?

a)

It is easy to detect by attackers

b)

It requires a large amount of overhead to hide small amounts of data

c)

It cannot be used in digital communications

d)

It replaces encryption entirely

11.

What are the two inherent needs that led to cryptography?

a)

To share information publicly and store data

b)

To communicate and share information, and to communicate selectively

c)

To store data and protect computer networks

d)

To develop encryption keys and secure databases

12.

What does the word ‘cryptography’ mean?

a)

Hidden communication

b)

Secure encryption

c)

Hidden writing

d)

Data protection

13.

Which of the following is NOT a primary objective of cryptography?

a)

Confidentiality

b)

Data compression

c)

Integrity

d)

Authentication

14.

Which cryptographic technique uses a shared key for both encryption and decryption?

a)

Asymmetric-key cryptography

b)

Public-key cryptography

c)

Symmetric-key cryptography

d)

Hash functions

15.

What is the main advantage of public-key cryptography?

a)

It uses a single key for encryption and decryption

b)

It does not require key management

c)

It uses different keys for encryption and decryption

d)

It is faster than symmetric-key cryptography

16.

Which of the following is NOT an application of cryptography?

a)

Digital currencies

b)

Computer passwords

c)

Data compression

d)

E-commerce transactions

17.

Which cryptographic technique does NOT use a key?

a)

Symmetric-key cryptography

b)

Public-key cryptography

c)

Hash functions

d)

Hybrid encryption

18.

What is the purpose of a hash function in cryptography?

a)

To encrypt and decrypt messages

b)

To create a fixed-length output that represents input data

c)

To generate public and private keys

d)

To securely exchange encryption keys

19.

Why is web security important?

a)

It prevents unauthorized access to websites and applications

b)

It makes websites load faster

c)

It improves website design

d)

It removes ads from websites

20.

What organization provides security standards for web applications?

a)

ISO

b)

IEEE

c)

OWASP

d)

W3C

21.

Which of the following is NOT a common web security threat?

a)

SQL injection

b)

Data breach

c)

Password breach

d)

Data compression

22.

What is the purpose of a web application firewall (WAF)?

a)

To protect websites from automated cyberattacks

b)

To improve internet speed

c)

To scan websites for errors

d)

To filter unwanted ads

23.

Which of the following is a method of testing web security?

a)

Black box testing

b)

Code minification

c)

Data compression

d)

Web hosting

24.

What is a key function of a Public Key Infrastructure (PKI)?

a)

Managing digital certificates and encryption keys

b)

Speeding up internet connections

c)

Compressing large files

d)

Encrypting Wi-Fi signals

25.

Which entity issues digital certificates in a PKI system?

a)

Internet Service Provider (ISP)

b)

Certificate Authority (CA)

c)

Domain Name System (DNS)

d)

Web hosting provider

26.

What is an example of an attack that web security aims to prevent?

a)

Remote file inclusion

b)

Cloud storage

c)

Data backup

d)

Software licensing

27.

What is a common feature of a secure website?

a)

The presence of a CAPTCHA system

b)

The use of an HTTP URL

c)

An SSL/TLS certificate with HTTPS

d)

A high-resolution logo

28.

What does a security scanner do?

a)

Detects vulnerabilities in web applications

b)

Creates new encryption keys

c)

Compresses web files for storage

d)

Manages digital certificates

29.

Which type of cyberattack tricks users into providing sensitive information?

a)

SQL injection

b)

Phishing

c)

Remote code execution

d)

Password hashing

30.

What is a key benefit of web scanning solutions?

a)

They detect vulnerabilities before security is breached

b)

They improve website aesthetics

c)

They increase web server speeds

d)

They reduce website file sizes

31.

What is the primary function of a firewall?

a)

To provide internet access

b)

To filter access to a protected network

c)

To increase network speed

d)

To store network logs

32.

Which of the following is not a general feature of a firewall?

a)

Port control

b)

Data encryption

c)

Network Address Translation

d)

Wireless signal boosting

33.

What is the purpose of packet filtering in firewalls?

a)

To allow or block network traffic based on predefined rules

b)

To establish a direct connection between networks

c)

To encrypt all network traffic

d)

To manage firewall hardware components

34.

Which type of firewall acts as an intermediary between users and the internet?

a)

Packet filtering firewall

b)

Application-level gateway

c)

Circuit-level gateway

d)

Bastion host

35.

What is a limitation of a firewall?

a)

It cannot prevent direct access to the internet

b)

It cannot scan files for viruses

c)

It always allows incoming traffic

d)

It replaces all security measures in a network

36.

A bastion host is primarily used to:

a)

Store sensitive data outside the firewall

b)

Withstand network attacks and provide secure access

c)

Block all incoming network traffic

d)

Increase internet speed

37.

What does NAT (Network Address Translation) do in a firewall?

a)

Changes the MAC address of packets

b)

Converts private IP addresses to public IP addresses and vice versa

c)

Encrypts outgoing network traffic

d)

Filters malicious websites

38.

In a dual-homed bastion host firewall, how many network interfaces does the bastion host have?

a)

One

b)

Two

c)

Three

d)

Four

39.

Which firewall configuration involves using two packet filtering routers?

a)

Screened host firewall, single-homed

b)

Screened host firewall, dual-homed

c)

Screened subnet firewall

d)

Direct-access firewall

40.

Why is an application-level gateway considered more secure than a packet filtering firewall?

a)

It blocks all network traffic

b)

It encrypts all data packets

c)

It inspects and controls specific applications

d)

It only allows outbound connections

41.

What is the primary purpose of cryptography?

a)

To store large amounts of data

b)

To improve network speed

c)

To secure data through encryption and decryption

d)

To compress files

42.

What is plaintext in cryptography?

a)

Encrypted text

b)

A key used for encryption

c)

The original readable message

d)

A special type of cipher

43.

What is the process of converting plaintext into an unreadable format called?

a)

Decryption

b)

Encryption

c)

Cryptanalysis

d)

Hashing

44.

Which ancient cryptographic technique involved shifting letters in the alphabet?

a)

Vigenère Cipher

b)

Playfair Cipher

c)

Caesar Cipher

d)

AES Encryption

45.

What is the function of a cipher in cryptography?

a)

To analyze security threats

b)

To break encrypted messages

c)

To perform encryption and decryption

d)

To create user passwords

46.

What type of cryptography uses the same key for both encryption and decryption?

a)

Asymmetric Key Cryptography

b)

Hash Functions

c)

Public Key Infrastructure

d)

Symmetric Key Cryptography

47.

Which of the following is a widely used symmetric key encryption algorithm?

a)

RSA

b)

AES

c)

Diffie-Hellman

d)

MD5

48.

What does a hash function do?

a)

Encrypts messages for secure transmission

b)

Converts data into a fixed-length output

c)

Stores encryption keys

d)

Generates new passwords

49.

Why is key management a challenge in symmetric cryptography?

a)

The keys are too large to store

b)

Keys must be securely exchanged and kept secret

c)

The keys can only be used once

d)

Only public keys are needed

50.

Which cryptographic method is often used to store passwords securely?

a)

Symmetric Encryption

b)

Asymmetric Encryption

c)

Hashing

d)

Plaintext Storage

51.

(a)   is the art or science of transforming an intelligible message into an unintelligible form and back again​.  

52.

A (a)   is an algorithm used for transforming an intelligible message into one that is unintelligible by transposition and/or substitution methods​.

53.

The three primary aspects of information security are ______, ______, and ______​.

(a)  

54.

.A (a)   attack occurs when an unauthorized party inserts counterfeit objects into a system

55.

The (a)   cipher is named after a Roman emperor and involves shifting letters by a fixed number​.

56.

   (a)   security refers to measures taken to protect data during its transmission

57.

In public-key cryptography, each user has a ______ key for encryption and a ______ key for decryption​.

(a)  

58.

The process of converting plaintext to ciphertext using a cipher and a key is called (a)   ​.

59.

A (a)   is an entity responsible for issuing digital certificates in a public key infrastructure (PKI)

60.

The primary function of a (a)   is to filter access between a trusted and an untrusted network