Classic Quiz
Quiz General knowledge

A2 Computing - BNF revision quiz

6 played - 8 yrs ago

This quiz contains questions on BNF and syntax diagrams for the OCR A2 computing course.

 

Medium QUIZ 7 QUESTIONS
medium
 
Question 1 / 7

In BNF, what does '|' mean?

 
Question 2 / 7

What does 'BNF' stand for?

 
Question 3 / 7

What is the need for BNF?

 
Question 4 / 7

A system uses the following definitions in BNF.
< DIGIT > : : = 0|1|2|3|4
< CHAR > : : = P|Q|R|S
< CODE > : : < DIGIT > < CHAR > | < DIGIT > < CODE >

Why is T3 not a valid code?

 
Question 5 / 7
Rules : 
< LETTER > : : = A|B|C
< DIGIT > : : = 0|1|2|3|4|5|6|7|8|9

Which of the following are valid?

Rules :
< LETTER > : : = A|B|C
< DIGIT > : : = 0|1|2|3|4|5|6|7|8|9

Which of the following are valid?

 
Question 6 / 7

A value has at least 3 digits. Using BNF, define "value".

 
Question 7 / 7

Which of the following stack codes are invalid?

Quiz Elephants in all their states!
106 played - 19 days ago
Quiz Quit your bellyaching!
112 played - 21 days ago
Quiz Logos and trademarks
98 played - 27 days ago
Quiz The lions in all their states!
124 played - 29 days ago
Quiz Noel!
138 played - 1 mth ago
Quiz General culture aims low!
56 played - 1 mth ago
Quiz Original general culture!
145 played - 1 mth ago
Quiz Giving Advice
201 played - 4 mths ago
Quiz Red logos
78 played - 5 mths ago
Quiz Logos
184 played - 5 mths ago
Quiz Logos and Brands
159 played - 5 mths ago
Quiz Brand logos #1
111 played - 5 mths ago
Quiz Brand logos
154 played - 5 mths ago