Dynamic PHP Quiz ( from JSON file format )

Answer the following questions:

1. What is the capital of France?

2. Result of 2 + 2?

3. Who wrote 'Hamlet'?