The landline telephone numbers in a country typically consists of an area code (prefix) followed by the subscriber number. Meaning, a telephone number typically has a . To call a subscriber we just need to call the number with the relevant prefix followed by the subscriber number. The 'United Planets' is a federation of planets that has a Telephone Company called 'Astronomy Telecom' which uses the following classification or scheme for telephone numbers similar to our landline telephone numbers in a country. Stars: Starts with 511 followed by subscriber number (consider there are infinite stars where each star is considered as a subscriber). Comet: Starts with 522 followed by subscriber number (consider there are infinite comets where each comet is considered as a subscriber). Asteroid: Starts with 533 followed by subscriber number (consider there are infinite asteroids where each asteroid is considered as a subscriber). Planets: Starts with 12, followed by at least 6 digits and none of them are 8 or 3. Galaxies: Starts with 11 followed by at least 7 digits from {1, 2, 3, 4, 5). Space Station: Starts with 544 followed by exactly 2 digits. Black hole: Starts with 123 and the numbers following should contain at least one 4.

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question
The landline telephone numbers in a country typically consists of an area code (prefix)
followed by the subscriber number. Meaning, a telephone number typically has a
<prefix><subscriber number>. To call a subscriber we just need to call the number with the
relevant prefix followed by the subscriber number. The 'United Planets' is a federation of
planets that has a Telephone Company called 'Astronomy Telecom' which uses the
following classification or scheme for telephone numbers similar to our landline telephone
numbers in a country.
Stars: Starts with 511 followed by subscriber number (consider there are infinite
stars where each star is considered as a subscriber).
Comet: Starts with 522 followed by subscriber number (consider there are infinite
comets where each comet is considered as a subscriber).
Asteroid: Starts with 533 followed by subscriber number (consider there are infinite
asteroids where each asteroid is considered as a subscriber).
Planets: Starts with 12, followed by at least 6 digits and none of them are 8
or 3.
Galaxies: Starts with 11 followed by at least 7 digits from {1, 2, 3, 4, 5).
Space Station: Starts with 544 followed by exactly 2 digits.
Black hole: Starts with 123 and the numbers following should contain at least one 4.
Transcribed Image Text:The landline telephone numbers in a country typically consists of an area code (prefix) followed by the subscriber number. Meaning, a telephone number typically has a <prefix><subscriber number>. To call a subscriber we just need to call the number with the relevant prefix followed by the subscriber number. The 'United Planets' is a federation of planets that has a Telephone Company called 'Astronomy Telecom' which uses the following classification or scheme for telephone numbers similar to our landline telephone numbers in a country. Stars: Starts with 511 followed by subscriber number (consider there are infinite stars where each star is considered as a subscriber). Comet: Starts with 522 followed by subscriber number (consider there are infinite comets where each comet is considered as a subscriber). Asteroid: Starts with 533 followed by subscriber number (consider there are infinite asteroids where each asteroid is considered as a subscriber). Planets: Starts with 12, followed by at least 6 digits and none of them are 8 or 3. Galaxies: Starts with 11 followed by at least 7 digits from {1, 2, 3, 4, 5). Space Station: Starts with 544 followed by exactly 2 digits. Black hole: Starts with 123 and the numbers following should contain at least one 4.
Customer Service: Starts with 000 or 777 followed by infinity.
All other numbers are invalid or erroneous numbers.
A finite state automaton (FSA) needs to be constructed to demonstrate that the correct prefix
followed by the relevant subscriber number makes the machine to reach the final state.
There should be a distinct final state for each class or category of number given above.
a) Is it easier to solve this problem with an NFA or a DFA? Why? Give your rationale
(reasons) in not more that two or three sentences.
Consider the above scenario and construct a simplest possible Nondeterministic Finite
Automaton (NFA) using state transition diagram to recognize and classify telephone
number prefixes followed by the relevant subscriber number. Based on the correct prefix
followed by the relevant subscriber number, the NFA constructed should reach the
relevant final state.
b) Construct a deterministic finite automaton (DFA) for the NFA you have constructed in
question a) above.
Transcribed Image Text:Customer Service: Starts with 000 or 777 followed by infinity. All other numbers are invalid or erroneous numbers. A finite state automaton (FSA) needs to be constructed to demonstrate that the correct prefix followed by the relevant subscriber number makes the machine to reach the final state. There should be a distinct final state for each class or category of number given above. a) Is it easier to solve this problem with an NFA or a DFA? Why? Give your rationale (reasons) in not more that two or three sentences. Consider the above scenario and construct a simplest possible Nondeterministic Finite Automaton (NFA) using state transition diagram to recognize and classify telephone number prefixes followed by the relevant subscriber number. Based on the correct prefix followed by the relevant subscriber number, the NFA constructed should reach the relevant final state. b) Construct a deterministic finite automaton (DFA) for the NFA you have constructed in question a) above.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 4 steps with 2 images

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY