Classic Quiz
Quiz General knowledge

A2 Computing - BNF revision quiz

6 played - 9 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 Alpaca Quiz
15 played - 1 mth ago
Quiz Do you know the Philippines ?
97 played - 1 mth ago
Quiz Feline general culture!
105 played - 5 mths ago
Quiz Logos (1)
173 played - 7 mths ago
Quiz Will you recognize these logos?
209 played - 7 mths ago
Quiz Numbers in CG (2)
177 played - 11 mths ago
Quiz General culture (12)
181 played - 11 mths ago
Quiz Logos and trademarks
170 played - 1 yr ago
Quiz Original general culture!
145 played - 1 yr ago
Quiz Logos
196 played - 1 yr ago
Quiz Car brand logos
332 played - 1 yr ago