Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

3. The syntax of the Klingon language is quite simple, yet only Klingons can spe

ID: 3623336 • Letter: 3

Question

3. The syntax of the Klingon language is quite simple, yet only Klingons can speak it without making mistakes. The alphabet of the language is {o,r,z,&}, where & stands for a space. The grammer is:

---> | &

---> |

---> | | o | o

---> o

---> r | z

Which of the following speakers is the secret agent in Klingon disguise? Why?? (1.5 pts.)

Romulus: ro & ororozozo & roz & zorrozo

Vulca: orzoroozor & ozo

Viijr: zoz & oz & oroozoz & rozozrooz

Hint: How many syllables must a word have, and what specific pairs of characters MUST mark the boundary between two syllables (or, what specific pairs of characters cannot occur within a syllable)? JUSTIFY your answer!

The next 3 questions concern the program below:

X <-- 0;

I <-- 0;

while I < 10 do

X <-- X + (3 * (I ** 2)) + (3 * I) + 1;

I <-- I + 1;

end while;

Explanation / Answer

Dear, Romulus: ro & ororozozo & roz & zorrozo
                <STOP>o o<STOP>o<STOP>o<STOP>o<STOP>o <STOP>o<STOP> <STOP>o<STOP><STOP>o<STOP>o<STOP>o                   <PLOSIVE> <SYLLABLE><SYLLABLE> <SYLLABLE> o<PLOSIVE>    <PLOSIVE><STOP> <PLOSIVE><STOP><PLOSIVE> <PLOSIVE><PLOSIVE>                 <SYLLABLE> <WORD><WORD> <WORD><SYLLABLE>    <SYLLABLE>  <SYLLABLE><SYLLABLE><SYLLABLE><SYLLABLE> here specific characters are z zorrozo Vulca: orzoroozor & ozo
                o<STOP><STOP>o<STOP>oo<STOP>o<STOP>   o<STOP>o                <SYLLABLE><PLOSIVE><PLOSIVE><SYLLABLE><SYLLABLE> o<PLOSIVE>                <WORD> <SYLLABLE><SYLLABLE> <WORD><WORD> <SYLLABLE> here the specific characters get SYLLABLE pairs zoro Viijr: zoz & oz & oroozoz & rozozrooz
               <STOP>o<STOP>   o<STOP>   o<STOP>oo<STOP>o<STOP>   <STOP>o<STOP>o<STOP><STOP>oo<STOP>                 <PLOSIVE><STOP> <SYLLABLE>  o<PLOSIVE><SYLLABLE><SYLLABLE>   <PLOSIVE><PLOSIVE><STOP><PLOSIVE><SYLLABLE>                                    <SYLLABLE> <WORD>   <SYLLABLE><WORD><WORD>   <SYLLABLE><SYLLABLE><SYLLABLE><WORD> here the specific characters are get SYLLABLE pairs rozozro Romulus is secret agent, get 4 syllables
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote