question archive In this section we will develop our Score ADT that accepts a list of packets and returns a list of packets with their respective scores

In this section we will develop our Score ADT that accepts a list of packets and returns a list of packets with their respective scores

Subject:Computer SciencePrice: Bought3

In this section we will develop our Score ADT that accepts a list of packets and returns a list of packets with their respective scores.

The constructor has the following interface:

makeScore : [packets] -> ["SCORE",[]]

A Score has the following format:

["SCORE", [(Packet, score), (Packet, score)]]

A list with a "SCORE" tag in the first position and a list in the first index position that contains the Packet score tuples.

Calculate the packet score based on the points assigned to each suspicion metric given in part three.

  1. Average Packet size is greater than the average - 3.56 Points
  2. Suspicious Protocol - 2.74 Points
  3. Suspicious Port - 1.45 Points
  4. If Ip is in the blacklist - 10 Points

pur-new-sol

Purchase A New Answer

Custom new solution created by our subject matter experts

GET A QUOTE