Back to the full dot-point answer
Northern IrelandSoftware Systems DevelopmentQuick questions
AS 2 Event Driven Programming
Quick questions on The event driven paradigm: events, handlers and the event loop - CCEA A-Level Software Systems Development
4short Q&A pairs drawn directly from our worked dot-point answer. For full context and worked exam questions, read the parent dot-point page.
What is the event loop?Show answer
The operating system detects raw input (a physical click or keypress) and notifies the application; the application's event loop turns that into a high-level event and calls the right handler. The program is therefore mostly reactive: idle until something happens.
What is q1?Show answer
Define the term event and give two examples. [2 marks]
What is q2?Show answer
State what an event handler is and when its code runs. [2 marks]
What is q3?Show answer
State the key difference between procedural and event driven programming in terms of control of flow. [2 marks]
Have a question we have not covered?
This dot-point answer is short enough that we have not extracted many short questions yet. Read the full dot-point answer or ask Mo, our study assistant, in the chat for follow ups.