Question: Given the BNF notation, answer the following FOUR (4) questions. ::= | | cp | cp -i mv | mv -i rm Irm | .

 Given the BNF notation, answer the following FOUR (4) questions. ::=

Given the BNF notation, answer the following FOUR (4) questions. ::= | | cp | cp -i mv | mv -i rm Irm | . a | b | c | ... | 2011 | ... | 9 txt | cpp doc 1. Which of the followings is a terminal symbol in this language? (Select] (A) char (B) txt (C) command (D) file 2. Using the BNF grammars, which of the followings is correct? [Select] (C) rm file1.txt (A) rm file1.txt (B) rm filel.txt file2.cpp file3.doc file2.doc (D) all of them 3. Based on the BNF definition, which of the following syntax graphs is correct for copy command? [ Select] (A) cp -i (B) cp (C) C -i (D) cp -i 4. Which of the following syntax graphs is correct for the remove command? [ Select ] (A) rm -i (B) rm (C) rm sfile> (D) rm

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!