1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
fredd [130]
3 years ago
14

In chapter 3, we discussed syntax and semantics, in general there are two types of grammars for programming languages, regular a

nd context-free, what is the difference, what is the scope (where are they applied), and how can the use of these grammars produce a higher level of program reliability. Does this higher level of reliability encourage complexity?
Computers and Technology
1 answer:
WARRIOR [948]3 years ago
8 0

Answer:

Lexical rules that are defined in case of regular grammar are simple and the notation is quite easy to understand.

Regular expression are useful for defining constructs of identifiers or constants. e.g. a|b etc.

In the case of context-free, grammar is not simple and deals with the productions.

Context-free are useful in describing the nested constructs like if-else etc which are not defined by regular expressions.

These produce a higher level of reliability as it provides a medium for generating syntactical as well as semantic data. The grammar is context-free is a little complex.

Explanation:

You might be interested in
Which futures would work well for text entered into cells check all that apply
Vikki [24]

Answer:

this is no image for me to see to to do

Explanation:

7 0
4 years ago
Which language would you use to create scripts that send data to a web server?
bonufazy [111]

Which language would you use to create scripts that send data to a web server?

A. HTML

<u>B. ASP</u>

C. SGML

D. CSS

5 0
4 years ago
Read 2 more answers
What does the Latin word VIDEO mean?<br> 1 I vine<br> O I conquered<br> I see<br> I hear
brilliants [131]

It comes from the word: “I see”

4 0
3 years ago
This is the question
nikdorinn [45]

Answer:

I dont know it sorry

Explanation:

i would help u

4 0
3 years ago
Cell division is called:
Blizzard [7]

Answer:

Mitosis

Explanation:

6 0
3 years ago
Other questions:
  • Kai is a software engineer who started his own IT consulting firm. His friend, Catalina, is the owner of a store that sells offi
    13·2 answers
  • What is the maximum number of communication paths for a team of twenty people?
    5·1 answer
  • What’s a sign you should talk to an adult about your online time
    14·2 answers
  • Write a little man program that accepts three values as input and produces the largest of the three as output.
    5·1 answer
  • What is the best strategy to avoid paying interest on your credit card
    8·1 answer
  • Write a program that will ask the user to input a phrase (multiple word sentence), and an integer value. A static function will
    14·1 answer
  • Which of the following are cloud computing resources?
    12·2 answers
  • Rob is planning his housewarming party. He wants to design an invitation and personalize it for each invitee. He needs to create
    11·1 answer
  • What is the definition of trouble shooting.
    12·1 answer
  • You have created a slide that is functional, but a bit on the boring side. In five to ten sentences, describe changes you would
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!