Maurice Tutor

(5)

$15/per page/Negotiable

About Maurice Tutor

Levels Tought:
Elementary,Middle School,High School,College,University,PHD

Expertise:
Algebra,Applied Sciences See all
Algebra,Applied Sciences,Biology,Calculus,Chemistry,Economics,English,Essay writing,Geography,Geology,Health & Medical,Physics,Science Hide all
Teaching Since: May 2017
Last Sign in: 399 Weeks Ago
Questions Answered: 66690
Tutorials Posted: 66688

Education

  • MCS,PHD
    Argosy University/ Phoniex University/
    Nov-2005 - Oct-2011

Experience

  • Professor
    Phoniex University
    Oct-2001 - Nov-2016

Category > Computer Science Posted 24 Sep 2017 My Price 7.00

BNF grammar

  1. Define a BNF grammar that describes the language of decimal numbers (the language should include 3.14159, 0.423, and 1120 but not 1.2.3).
  2. The BNF grammar below (extracted from Paul Mockapetris,Domain Names - Implementation and Specification, IETF RFC 1035) describes the language of domain names on the Internet.

 

     

Domain

:: ⇒

SubDomainList

SubDomainList

:: ⇒

Label | SubDomainList | . Label

Label

:: ⇒

Letter MoreLetters

MoreLetters

:: ⇒

LetterHyphens LetterDigit | ?

LetterHyphens

:: ⇒

LDHyphen | LDHyphen LetterHyphens | ?

LDHyphen

:: ⇒

LetterDigit LetterDigit | -

LetterDigit

:: ⇒

Letter Digit

Letter

:: ⇒

A | B | ... | Z | a | b | ... | z

Digit

:: ⇒

0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9

 

a. Show a derivation for www.virginia.edu in the grammar.

b. According to the grammar, which of the following are valid domain names: (1) tj, (2) a.-b.c, (3) a-a.b-b.c-c, (4) a.g.r.e.a.t.d.o.m.a.i.n-

Answers

(5)
Status NEW Posted 24 Sep 2017 11:09 AM My Price 7.00

Hel-----------lo -----------Sir-----------/Ma-----------dam-----------Tha-----------nk -----------You----------- fo-----------r u-----------sin-----------g o-----------ur -----------web-----------sit-----------e a-----------nd -----------and----------- ac-----------qui-----------sit-----------ion----------- of----------- my----------- po-----------ste-----------d s-----------olu-----------tio-----------n.P-----------lea-----------se -----------pin-----------g m-----------e o-----------n c-----------hat----------- I -----------am -----------onl-----------ine----------- or----------- in-----------box----------- me----------- a -----------mes-----------sag-----------e I----------- wi-----------ll

Not Rated(0)