Grammar, computer science, Basic Computer Science

Given the following grammar: -> [ , ] | -> | { } -> a | b | cwhich are the strings generated by the grammar? Show the parse tree(s). a). { [ a , b ] }b). [ { a } , b ] c). [ { a }, [ b , a ] ]
Posted Date: 3/26/2012 2:42:59 PM | Location : United States







Related Discussions:- Grammar, computer science, Assignment Help, Ask Question on Grammar, computer science, Get Answer, Expert's Help, Grammar, computer science Discussions

Write discussion on Grammar, computer science
Your posts are moderated
Related Questions
PRINCIPAL STRUCTURES IN FLOW CHARTING Structured programing calls for the usage of four principal structures to help simplify the program. They are:     Sequential contro

A router is a device which has played an important role in the development and existence of the Internet. Routers are designed to transmit data from other network users to specific

how to measure marginal utility.?

OVERALL FUNCTIONS : There are three points that must be borne firmly in mind when considering the use of computers in laboratory management. Overall Function This includes

When purchasing a database program, you must have a clear idea of what you need it for. Ask yourself the following questions. (1) Will it perform all (he operations necessary f

Internet searching algorithm: Searching: When a user enters a query into a search engine, the engine examines its index and provides a listing of best-matching web pages accordin

The CPU has four internal registers, each of 16 bits. The first four, AX, BX, CX, and DX are common use registers and can also be used as 8 bit registers, if used in such a way it

Software Licensing: Until early 1970's, sharing of software was the accepted norm. Hardware came bundled with software products which could be freely redistributed and the acc

assembly programs

Subroutine and Functions:  In a program, it is often necessary to repeat a statement or group of statements at several points to accomplish a particular task. Repeating the sa