subject
Computers and Technology, 24.04.2020 16:44 dyl4456

To safeguard the privacy or security of a network, some software filters the IP addresses that are allowed to send content to computers on the network. Each IP address can be broken into parts that represent the source host of incoming traffic, including geographic data. As a result, software needs to be designed to recognize whether certain substrings (representing permitted hosts) are present (if the hosts are permitted to send data) and whether others are absent (if those hosts are blocked from sending data). In this question, you’ll design ways to detect these patterns in strings and analyze their costs.
(a) Over the alphabet {0, 1, 2, 3, 4, 5, 6, 7, 8, 9} design an NFA that accepts each and only strings that have 427, 953, or 259 as a substring. Your NFA should have no more than 8 states. Include the state diagram of your NFA. Briefly justify your construction by explaining the role each state plays in the machine. Note: you may include the formal definition of your NFA, but this is not required. In the context of network security, this NFA would only allow traffic from IPs that have prior approval.
(b) Give a regular expression that describes the set of strings from part (a). Briefly justify why your regular expression works.
(c) Next, suppose the network administrators want to block traffic from IP addresses that have been associated with spammers. Over the alphabet {0,1,2,3,4,5,6,7,8,9}, design an NFA that accepts each and only strings that do not have the substring 427 and do not have the substring 953. Your NFA should have no more than 7 states. Briefly justify your construction by explaining the role each state plays in the machine or by explaining the process of obtaining this machine using the general constructions discussed in class and in the textbook. Bonus - not for credit; do not hand in: extend your design so that you have a (new) NFA that recognizes the complement of the language you considered in part (a).
(d) Give a regular expression that describes the set of strings over the alphabet {0, 1, 2, 3, 4, 5, 6, 7, 8, 9} that do not have the substring 427. Briefly justify why your regular expression works. Bonus - not for credit; do not hand in: extend your design so that you have a (new) regular expression that describes the complement of the language you considered in part (a).
(e) (Graded for fair effort completeness) One way to implement the designs from the previous parts is to convert each NFA to an equivalent DFA and then store the DFA's transition function as a look-up table and the set of accept states in an appropriate data.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 00:20
The pyraminx is a rubik's cube-type toy in the shape of a tetrahedron (not a pyramid). the pyraminx shown below has edges 15\,\text{cm}15cm15, space, c, m long and vertical height h=12.2\,\text{cm}h=12.2cmh, equals, 12, point, 2, space, c, m. the triangle drawn with dashed lines is a right triangle. what is the distance rrr? round your answer to the nearest tenth.
Answers: 1
question
Computers and Technology, 22.06.2019 06:00
Pthe price of tickets in a group when a purchased in bulk can be found with the equation c=px+24 were c is the cost, p is the number of people,and x is the price per ticket. what is price of of each ticket if it costs $189 to buy tickets for 15 people ? a $8 b $24c $9d $11 show work
Answers: 1
question
Computers and Technology, 23.06.2019 02:00
Arecipients list has been loaded into a document. which commands should be clicked in order to filter the list so that letters will not be printed for recipients who live in a certain state? mailings tab, start mail merge, select recipients, type new list, then insert only contacts from the desired states mailings tab, rules, select recipients, use existing list, then choose a recipients list that includes only contacts in certain states mailings tab, select recipients, use existing list, rules, fill in, then type in certain states mailings tab, rules, skip record select “state” under field name, then type in the state name under “equal to”
Answers: 2
question
Computers and Technology, 23.06.2019 14:30
Select the correct answer. peter has launched a website that features baby products. however, clients often find they are unable to access the website because the server is down. which feature of cybersecurity should peter focus on for his website? a. data authenticity b. data privacy c. data availability d. data integrity e. data encryption
Answers: 3
You know the right answer?
To safeguard the privacy or security of a network, some software filters the IP addresses that are a...
Questions
question
Computers and Technology, 08.07.2019 00:00
question
Chemistry, 08.07.2019 00:00
Questions on the website: 13722362