Information Security | CP

Information Security | CP

University

5 Qs

quiz-placeholder

Similar activities

Network Programming Quiz Mid 1 2022

Network Programming Quiz Mid 1 2022

University

10 Qs

Audio Video Content

Audio Video Content

University

10 Qs

OBM255&ASM454: EMAIL

OBM255&ASM454: EMAIL

University

10 Qs

Network Protocols Quiz

Network Protocols Quiz

9th Grade - University

10 Qs

Web Development Revision 2

Web Development Revision 2

University

10 Qs

Computer Stuff

Computer Stuff

KG - Professional Development

10 Qs

Computer Network

Computer Network

University

8 Qs

WJEC ICT  - Chapter 2 - The Internet: Packets & Routing

WJEC ICT - Chapter 2 - The Internet: Packets & Routing

10th Grade - University

8 Qs

Information Security | CP

Information Security | CP

Assessment

Quiz

Computers

University

Medium

Created by

Muhammad Abdullah Nasim

Used 4+ times

FREE Resource

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

5 sec • 1 pt

What does the following display filter do in Wireshark?

ip.src == 192.168.1.1

Displays only TCP packets where the SYN flag is set and the source IP is 192.168.1.1

Displays all packets sent from and to 192.168.1.1

Displays packets with the ACK flag set and originating from 192.168.1.1

Filters all TCP packets regardless of their source

2.

MULTIPLE CHOICE QUESTION

5 sec • 1 pt

What is the main difference between a capture filter and a display filter in Wireshark?

Capture filters are applied to live traffic, while display filters refine what is shown after capture.

Capture filters can use logical operators, while display filters cannot.

Display filters are permanent, while capture filters are temporary.

Capture filters only work for specific protocols, while display filters work for all protocols.

3.

MULTIPLE CHOICE QUESTION

5 sec • 1 pt

In the following Python code, what will be the output?

def mystery(x):

return x * 2 if x % 2 == 0 else x + 1

print(mystery(3))

print(mystery(4))

6 and 8

4 and 5

4 and 8

6 and 5

4.

MULTIPLE CHOICE QUESTION

5 sec • 1 pt

What is the purpose of the following line in Python, commonly used in file handling?

with open("data.txt", "r") as file:

content = file.read()

Opens the file and reads its content, automatically closing the file afterward.

Opens the file for writing only.

Opens the file without closing it, ensuring faster execution.

Deletes the file after reading its content.

5.

MULTIPLE CHOICE QUESTION

5 sec • 1 pt

What happens if the Caesar cipher is implemented with a key equal to 26?

The plaintext is encrypted into a completely different ciphertext.

The ciphertext is identical to the plaintext.

It causes an error because the key must be between 1 and 25.

It results in a reversed version of the plaintext.