Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Consider the following pattern-matching table: Rule 1st Field (F1) 2nd Field (F2) P * 00* Q 1* 0* R 001* 10* S 01* 1* T

Consider the following pattern-matching table:

Rule

1st Field (F1)

2nd Field (F2)

P

*

00*

Q

1*

0*

R

001*

10*

S

01*

1*

T

110*

11*

U

00*

1*

A) Construct a two-dimensional geometric view of the rules using F1 representing the horizontal and F2 representing the vertical axes (use different border line patterns/colors/thicknesses to have the rule areas separated from the neighboring areas).

B) Build a hierarchical binary tree representation of the rules in the table that can be used for pattern matching.

C) Show the Hierarchical intelligent cutting version of the two-dimensional rule space in A with four cuts in the horizontal (F1) and two cuts in vertical (F2) dimensions and its corresponding search tree.

D) Use the binary tree in B to search for the match for the incoming packet with F1/F2 = 00100/100101.

E) Repeat D using the tree in C.

F) Repeat D for F1/F2 = 11011/001111.

G) Repeat E for F1/F2 = 11011/001111.

H) Assuming three bits for F1 and two bits for F2 and no wild characters, what would be the

maximum number of possible rules for this table?

I) Calculate what percentage of the incoming packets will NOT match any rules in the table.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

Describe the menstrual cycle in a woman.

Answered: 1 week ago

Question

Explain methods of metal extraction with examples.

Answered: 1 week ago

Question

Compare the different types of employee separation actions.

Answered: 1 week ago

Question

Assess alternative dispute resolution methods.

Answered: 1 week ago

Question

Distinguish between intrinsic and extrinsic rewards.

Answered: 1 week ago