Purchase Solution

BNF

Not what you're looking for?

Ask Custom Question

BNF is used extensively in the computing field to describe the syntax of programming languages. Please provide an example of where and how BNF might be used to solve real-world problems (by this I mean problems outside the languages and compiling domain). Please be specific and provide an example.

Purchase this Solution

Solution Summary

This posting contains answers to the given BNF questions.

Solution Preview

One example where BNF can be used in real-world applications to solve problems is when trying to make a student record. A student record is a document containing the names of students and their grades. An example BNF of a student record is:

<student name> ::= <last name>,<space><first ...

Purchase this Solution


Free BrainMass Quizzes
Basic Networking Questions

This quiz consists of some basic networking questions.

Basic UNIX commands

Use this quiz to check your knowledge of a few common UNIX commands. The quiz covers some of the most essential UNIX commands and their basic usage. If you can pass this quiz then you are clearly on your way to becoming an effective UNIX command line user.

C++ Operators

This quiz tests a student's knowledge about C++ operators.

Java loops

This quiz checks your knowledge of for and while loops in Java. For and while loops are essential building blocks for all Java programs. Having a solid understanding of these constructs is critical for success in programming Java.

Basic Computer Terms

We use many basic terms like bit, pixel in our usual conversations about computers. Are we aware of what these mean? This little quiz is an attempt towards discovering that.