
Information Security | CP
Quiz
•
Computers
•
University
•
Practice Problem
•
Medium
Muhammad Abdullah Nasim
Used 4+ times
FREE Resource
Enhance your content in a minute
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

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
Anime
Quiz
•
KG - University
10 questions
JSPS Competition Hackathon - Scratch Language - Grade 1
Quiz
•
2nd Grade - University
10 questions
cybercrime
Quiz
•
12th Grade - University
10 questions
Microcontroller
Quiz
•
11th Grade - University
10 questions
CSE205-DCN-QUIZ-UNIT-5
Quiz
•
University
10 questions
Living in the IT Era
Quiz
•
University
10 questions
It's App to You!
Quiz
•
University
10 questions
AR/VR workshop phase 2
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
