Classic Classic BNF quiz by Linkthehero Linkthehero 170 played - 8 yrs ago A quiz on BNF QUIZ 9 QUESTIONS expert 1 What does BNF stand for? Binary-Normal FormBackus-Naur FormBig-Normal FormBanter-Normal Form 2 What would you use to define a BNF syntax? Colon, colon, equalsColon, right bracketLeft arrow, 3Semicolon, underscore, semicolon 3 What does : : = A|B|C|D|E|F mean? Can have letters only from A to FCannot have letters from A to FIs a member of the A-F classesChanges to A-F 4 State the need for BNF. Because it looks niceTo define the algorithms of a computer languageSo coding is easierTo unambiguously define the syntax of a computer language 5 In a syntax diagram, how would a symbol be represented? In a squareIn a triangleOutside the diagramIn a circle 6 A certain BNF syntax has defined 0|1|2|3|4 as inclusive and has defined W|X|Y|Z as inclusive, and can use one letter but any amount of numbers. Which one of these violates the rules? W023X99Y4Z 7 A certain BNF syntax can be defined with any number, a + sign, followed by another number. Is A+B defined? YesNo 8 On a syntax diagram, how would an unlimited amount of a certain data type be represented? Arrow going around the line, with the data type on this loop arrowArrow going around the line, with the data type above this loop arrowArrow going around the line, with nothingArrow going around the line, coming off the data type box 9 At what stage is BNF used? Lexical analysisSyntax analysisCode generationIt's not used A mistake in this Quiz ? Contact the author Commentaires