Information Security | CP

Information Security | CP

University

5 Qs

quiz-placeholder

Similar activities

Agile SL701B

Agile SL701B

University - Professional Development

10 Qs

House Of Microsoft Quiz

House Of Microsoft Quiz

University

10 Qs

Hands-on Modul 3

Hands-on Modul 3

University

10 Qs

Visual Basic 2010

Visual Basic 2010

8th Grade - University

10 Qs

CS100||MsWord

CS100||MsWord

University

10 Qs

Website Usability and UX

Website Usability and UX

University

10 Qs

Python Week 1 & 2

Python Week 1 & 2

University

10 Qs

Quiz 1: The background and history of IoT

Quiz 1: The background and history of IoT

University

10 Qs

Information Security | CP

Information Security | CP

Assessment

Quiz

Computers

University

Practice Problem

Medium

Created by

Muhammad Abdullah Nasim

Used 4+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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.

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?

Discover more resources for Computers