Preview

Unit 14 Event-Driven Programming (P1, M1, D1)

Powerful Essays
Open Document
Open Document
1240 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Unit 14 Event-Driven Programming (P1, M1, D1)
Contents P1 - Identify the key features of event driven programming such as events, event loops and event handlers 2 P2 - Explain how development environment components (e.g. Solution Explorer, Forms, Toolbox, Code Editor, Debugger, and Property Window) simplify the development. 3 M1 - Describe the features of an event driven language that make it suitable for creating a GUI 5 D1 - Evaluate the suitability of event driven programs for non-graphical applications 6 References 7

P1 - Identify the key features of event driven programming such as events, event loops and event handlers

Events – An event occurs when the user interacts with a object. * Usually this means a mouse movement or click * Keyboard actions are also events
An event is the outcome of an action. There are two important terms with respect to events. The event source and the event receiver. The object that raises the event is called event source and the object that responds to the event is called event receiver. (Research1)

Event loops – In computer science, the event loop, message dispatcher, message loop or message pump is a programming construct that waits for and dispatches events or messages in a program

Event handler – An event handler is a procedure in your code that determines what actions are performed when an event occurs, such as when the user clicks any button. When an event is raised, the event handler or handlers that receive the event are executed. Events can be assigned to multiple handlers, and the methods that handle specific events can be changed dynamically. You can also use the Windows Forms Designer to create event handlers.

P2 - Explain how development environment components (e.g. Solution Explorer, Forms, Toolbox, Code Editor, Debugger, and Property Window) simplify the development.

Solution Explorer is an area of the integrated development environment (IDE) that contains your solution and helps you manage your project files. The files are



References: http://www.c-sharpcorner.com/ (Research1) http://www.vb6.us/tutorials/Graphical%20User%20Interface%20%28GUI%29 (Research2)

You May Also Find These Documents Helpful

  • Satisfactory Essays

    Nt1310 Unit 1 Study Guide

    • 359 Words
    • 2 Pages

    1. Explain how both the waterfall model and the prototyping model can be accommodated in the spiral process model.*…

    • 359 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Describe what an event is and how events and graphical user interfaces (GUI) are related.…

    • 693 Words
    • 4 Pages
    Satisfactory Essays
  • Satisfactory Essays

    This is event-driven because you are enable to save a document or file if you don’t click the save button. For example, if you create a presentation using Microsoft PowerPoint and you don’t click save, the file will be completely lost and you would have to start again, whereas if you click on the save button, which is normally at the top, the file will be saved on your computer at the destination you saved it at. This means you can open that same file and the presentation will be there with all you work on it. This is event-driven because you are clicking save and the Windows operating system will respond by saving your…

    • 342 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    PRG 421 Week 1

    • 423 Words
    • 3 Pages

    What is an event? How are events and graphical user interfaces (GUIs) related? Provide an example of an event and relate it to a GUI.…

    • 423 Words
    • 3 Pages
    Satisfactory Essays
  • Good Essays

    D1 requires you to be able to evaluate the suitability of event driven programs for non-graphical applications……

    • 532 Words
    • 3 Pages
    Good Essays
  • Powerful Essays

    ISP205L lecture

    • 1496 Words
    • 6 Pages

    - An i-clicker for in class participation questions. This is also required for the ISP 205 lecture…

    • 1496 Words
    • 6 Pages
    Powerful Essays
  • Good Essays

    Btec Unit 18 M2

    • 1036 Words
    • 5 Pages

    M2 – Analyse the arrangements made by an event organizer to plan a business event.…

    • 1036 Words
    • 5 Pages
    Good Essays
  • Good Essays

    Event Driven Programming

    • 5596 Words
    • 23 Pages

    14.P1 14.P2 14.P3 14.P4 14.P5 14.P6 14.M1 Explain the key features of event driven programs. Demonstrate the use of event driven tools and techniques. Design an event driven application to meet defined requirements. Implement a working event driven application to meet defined requirements. Test an event driven application. Create onscreen help to assist the users of a computer program. Discuss how an operating system can be viewed as an event driven application.…

    • 5596 Words
    • 23 Pages
    Good Essays
  • Satisfactory Essays

    Will also include after event tasks. It’s very important to close event analysing the feedback forms, following up leads potential clients and also for future references review whole event to look for improvements for next time.…

    • 621 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    A long time ago software developers or programmers did not use reusable code because there were not too many reliable, and efficient software or application software available. Therefore, whenever a big project comes forth the software developers or programmers tend to start building from the ground up. After many years of building software from the ground up for each project or request, the software developers had come to an agreement that building software from ground up is very costly and time consuming, especially for an inexperience software developer. Therefore, the software developers or engineers had come to conclusion that they need to develop and implement a platform where different software developers can benefit from each others codes or components.…

    • 671 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Additionally, event driven programs have even loops not all programmers take notice of this, event loops continuously tests the program to see if any thing has happened e.g. clicking on a button, typing into a textbox or pressing a key. When an event is detected, it’s passed on to the trigger function which than finds the right event handler to process the code.…

    • 280 Words
    • 1 Page
    Satisfactory Essays
  • Good Essays

    4. Describe two ways a text editor can assist with writing program code (as opposed to writing generic text using a word processor).…

    • 567 Words
    • 3 Pages
    Good Essays
  • Good Essays

    ILM Level 3

    • 1216 Words
    • 5 Pages

    1.2 Use a simple technique for identifying own development needs and the development needs of another member of the team…

    • 1216 Words
    • 5 Pages
    Good Essays
  • Good Essays

    Computer hardware runs off different programs that are installed on a computer. For these programs to run, they need to be coded correctly with minimal bugs. Designing and coding are the essentials of programming. The various methods to code a program have grown over the years. There are two basic types of programming that have been around for a long time; procedural programming, and object oriented programming. Procedural programming uses consists of modules that run a series of procedures to obtain data whereas objective oriented programming combines code and data together and may be reused. Although procedural programming was introduced before object oriented programming, both have become the standards on how newer languages are developed.…

    • 648 Words
    • 3 Pages
    Good Essays
  • Powerful Essays

    Visual Basic Terms

    • 1691 Words
    • 7 Pages

    EVENT: MEANS THE USER HAS INITIATED AN ACTION THAT CAUSES THE PROGRAM TO PERFORM THE TYPE OF PROCESSESING CALLED FOR BY THE USER’S ACTION.…

    • 1691 Words
    • 7 Pages
    Powerful Essays

Related Topics