Ethical Hacking | NPTEL | Week 2 Assignment Solutions

This set of MCQ(multiple choice questions) focuses on the Ethical Hacking NPTEL 2023 Week 2 Assignment Solutions.

Course layout

Answers COMING SOON! Kindly Wait!

Week 1: Assignment answers
Week 2: Assignment answers
Week 3: Assignment answers
Week 4: Assignment answers
Week 5: Assignment answers
Week 6: Assignment answers
Week 7: Assignment answers
Week 8: Assignment answers
Week 9: Assignment answers
Week 10: Assignment answers
Week 11: Assignment answers
Week 12: Assignment answers

NOTE: You can check your answer immediately by clicking show answer button. This set of “Ethical Hacking NPTEL 2023 Week 2 Assignment Solution” contains 10 questions.

Now, start attempting the quiz.

Ethical Hacking NPTEL 2023 Week 2 Assignment Solutions

Q1. Which of the following is/are false for IP fragmentation?

a) It is a process that divides packets into smaller fragments.
b) Fragmentation is required due to intermediate networks with smaller maximum
transmission unit (MTU).
c) Each fragmented packet is conside red as separate IP packet.
d) IP fragmentation is typically done by layer-2 switches.
e) None of these.

Answer: d

Q2. Consider the following statements:
(i) In transparent fragmentation, all fragmented packets are reassembled by an exit router.
(ii) In non-transparent fragmentation, all fragmented packets reassembled by host.

a) Only (i) is true.
b) Only (ii) is true.
c) Both (i) and (ii) are true.
d) Both (i) and (ii) are false.

Answer: c

Q3. For reassembling the fragmented packets at the final destination, which of the following header field(s) is(are) used by IP?

a) Fragment offset.
b) Flags.
c) Header checksum.
d) HLEN.
e) Identification.

Answer: a,b,e

Q4. An IP packet arrives at a router with the first eight bits as 01001100. How many bytes are there in the OPTIONS field _____?

Answer: 8

Q5. In an IP packet, the value of HLEN is 6, and the value of the TOTAL LENGTH field is 1000 (one thousand). The number of data bytes in the packet will be _______.

Answer: 976

Ethical Hacking NPTEL week 2 Assignment Solutions

Q6. Which of the following is/are true for IP addressing?

a) Each host connected to the Internet is defined by an IP address.
b) IP address consist of two parts: network number and host number.
c) When a packet is routed to the destination network, only the host number is
used.
d) Class A address can have a maximum of 16,777,214 networks.
e) None of these.

Answer: a,b

Q7. Which of the following is/are not a feature of TCP?

a) Process to process communication.
b) Stream delivery service.
c) Connection-oriented service.
d) Unreliable service.
e) Full duplex communication.
f) None of these.

Answer: d

Ethical Hacking NPTEL week 2 Assignment Solutions

Q8. Which of the following statement(s) is/are false for flag bits in TCP header?

a) SYN=1 and ACK=1 represents a connection request message.
b) SYN=1 and ACK=0 represents a connection confirmation message.
c) RST bit is used to reject connection request.
d) PUSH bit is used to indicate end of a message
e) None of these.

Answer: a,b,d

Ethical Hacking NPTEL week 2 Assignment Solutions

Q9. What is the subnet address if the destination IP address is 144.16.34.124 and the subnet mask is 255.255.242.0?

a) 144.16.32.0
b) 144.16.34.0
c) 144.16.34.255
d) 144.16.242.0
e) 144.16.242.255

Answer: a

Q10. An organization is allotted a block with beginning address as: 144.16.192.16/28 in CIDR notation. What will be the address range for that block?

a) 144.16.192.0 to 144.16.192.16
b) 144.16.192.0 to 144.16.192.255
c) 144.16.192.16 to 144.16.192.31
d) 144.16.192.16 to 144.16.192.32

Answer: c

Ethical Hacking NPTEL week 2 Assignment Solutions

Ethical Hacking NPTEL 2022 Week 2 Assignment Solutions

Q1. An IP packet arrives at a router with the first eight bits as 01001101. How many bytes are there in the OPTIONS field?

a) 4
b) 8
c) 12
d) 16
e) None of these

Answer: e) None of these

Q2. In an IP packet, the value of HLEN is 8, and the value of the TOTAL LENGTH field is 1500 (in decimal). The number of data bytes in the packet will be ________

Answer: 1475

Q3. An IP packet arrives at the final destination with the M flag set as 1. Which of the following statement(s) is/are true about the packet?

a) The packet represents a fragment of a larger packet.
b) The packet will be fragmented by the next router.
c) The packet is the first of multiple fragments.
d) None of these.

Answer: a) The packet represents a fragment of a larger packet.

Q4. Which address classes do the IP addresses 144.16.75.12 and 10.10.85.120 belong to?

a) Class C and Class A
b) Class B and Class C
c) Class B and Class A
d) Class B and Class D

Answer: c) Class B and Class A

Q5. Which of the following IP addresses represent broadcast address?

a) 144.16.255.255
b) 144.16.0.255
c) 202.0.255.0
d) 202.0.255.255

Answer: a), d)

Ethical Hacking NPTEL week 2 Assignment Solutions

Q6. What happens when an IP packet gets fragmented?

a) The total number of bits transmitted over the network decreases.
b) The total number of bits transmitted over the network increases.
c) The total number of bits transmitted over the network remains the same as compared to the non-fragmented case.
d) None of these.

Answer: b) The total number of bits transmitted over the network increases.

Q7. The maximum number of hosts that are possible in a class B network is _______

Answer: 65534

Ethical Hacking NPTEL week 2 Assignment Solutions

Q8. What is the purpose of the port number field in the TCP header?

a) It indicates the sequence number of the message.
b) In indicates the hardware port of the destination host.
c) It indicates the hardware port of the source host.
d) None of these.

Answer: d) None of these

Ethical Hacking NPTEL week 2 Assignment Solutions

Q9. What is the subnet address if the destination IP address is 144.16.75.105 and the subnet mask is 255.255.240.0?

a) 144.16.32.0
b) 144.16.75.0
c) 144.16.16.0
d) None of these

Answer: a) 144.16.32.0

Q10. What is a TCP half-open connection in the context of connection establishment using 3-way handshake?

a) The first transaction does not complete.
b) The second transaction does not complete.
c) The first transaction does not complete but the second transaction completes.
d) The last transaction does not complete.
e) None of these

Answer: d) The last transaction does not complete.

Ethical Hacking NPTEL week 2 Assignment Solutions

<< Prev- Ethical Hacking Week 1 Assignment Solutions

>> Next- Ethical Hacking Week 3 Assignment Solutions


NPTEL answers: Problem solving through programming in C

Programming in Java NPTEL week 1 quiz answers

NPTEL – Python for Data Science assignment solutions

Nptel – Deep Learning assignment solutions

The above question set contains all the correct answers. But in any case, you find any typographical, grammatical or any other error in our site then kindly inform us. Don’t forget to provide the appropriate URL along with error description. So that we can easily correct it.

Thanks in advance.

For discussion about any question, join the below comment section. And get the solution of your query. Also, try to share your thoughts about the topics covered in this particular quiz.

Leave a Comment

Your email address will not be published. Required fields are marked *