Information Security | CP

Information Security | CP

University

5 Qs

quiz-placeholder

Similar activities

VITAP Quiz-1

VITAP Quiz-1

University

10 Qs

Abhyudaya coding class -  Grade 7

Abhyudaya coding class - Grade 7

6th Grade - University

10 Qs

WN-CELLULAR CONCEPT

WN-CELLULAR CONCEPT

University

10 Qs

UTB - FCNS 221PB

UTB - FCNS 221PB

University

10 Qs

TEST SOP LOGICAL ACCESS

TEST SOP LOGICAL ACCESS

1st Grade - Professional Development

10 Qs

Reading and Reviewing - Research Seminar

Reading and Reviewing - Research Seminar

University

10 Qs

Software Engineering :TEST 2

Software Engineering :TEST 2

University

10 Qs

Web-II-Loop and Function

Web-II-Loop and Function

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