Classic quiz
Quiz General knowledge

A2 Computing - BNF revision quiz

6 played - 10 yrs ago

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

Medium
medium
7
QUESTIONS
 
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 What animal is this?
6 513 played - 19 yrs ago
Quiz Really or forgery
1 472 played - 13 yrs ago
Quiz True or false ?
2 154 played - 9 yrs ago
Quiz How do you say... In French ?
2 241 played - 19 yrs ago
Quiz Colors in French
3 005 played - 19 yrs ago
Quiz Logos Quiz -1
293 played - 7 yrs ago
Quiz General knowledge - 1
405 played - 8 yrs ago
Quiz Whose and Who's
1 177 played - 12 yrs ago
Quiz To vs. Two vs. Too
5 457 played - 13 yrs ago
Quiz The fruits in French - 1
526 played - 7 yrs ago
Quiz Postman Pat
2 924 played - 19 yrs ago
Quiz Say, tell, speak, talk
1 925 played - 12 yrs ago
Quiz Highest mountains
763 played - 19 yrs ago
Quiz I or Me?
5 777 played - 13 yrs ago