Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1. Identify and revise atleast 3 bugs in grammar for Visual Basic Parameter List declarations 2. Identify and revise atleast 2 bugs in the syntax

image text in transcribed 1. Identify and revise atleast 3 bugs in grammar for Visual Basic Parameter List declarations 2. Identify and revise atleast 2 bugs in the syntax diagram for visual basic parameter list declarations

A parameter list declaration in the declaration of a function or procedure in Visual Basic has the following form: ( parameter_passing_method> As 4type_id>, sudentifier> As stype_id> . jdentifier> As type_id> ) where a parameter_passing_method> is either ByVa_ or ByRef. For example, this is a Visual Basic parameter list declaration: ( ByVal X As Integer, Byval Y As String, ByRef Z As Integer ) and so is this: ( ByRef Apple As Integer) and this: (1 1) Here is a partially correct EBNF grammar for Visual Basic parameter list declarations. Figure out what is wrong with the grammar, and fix the grammar so it is comect. Assume that sidentifier> and type_id> have already been defined by rules elsewhere. [ parameter_passing_method> sidentifier> As 4type_id> > By Val > > ByRef > 2) Here is a partially correet syntax diagram for Visual Basic parameter list declarations. Figure out what is wrong with the diagram, and fix the syntax diagram so it is correct. Assume that identifier and fype_id have already been defined by graphs elsewhere. Paramefer liss declaration

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Concepts of Database Management

Authors: Philip J. Pratt, Mary Z. Last

8th edition

1285427106, 978-1285427102

More Books

Students also viewed these Databases questions

Question

Why is the System Build Process an iterative process?

Answered: 1 week ago