close
test_template

Usage of Event-driven Programming

Human-Written
download print

About this sample

About this sample

close
Human-Written

Words: 710 |

Pages: 2|

4 min read

Published: Mar 14, 2019

Words: 710|Pages: 2|4 min read

Published: Mar 14, 2019

There are environmental uses of event driven programs for non-graphical applications. One example would be air conditioning systems. These are suitable for event driven programs because you would want to turn the air conditioning on if it’s too hot or turn it off when it is too cold. When you press the button, it will trigger a heater which is on the inside and it will go off when it gets to the temperature that is shown on the dial. This is event driven because when you select the temperature on the dial and press the button, it will allow the air to flow through.

Most computers use event driven programs for non-graphical applications. A good example would be when you turn the power on. You don't even have to have the monitor turned on to have events occurring. When you press the button, there will be either one or two lights come on. The reason it does this is the fact that it shows the user that power is getting through the power supply unit and getting to the rest of the components in the computer. Also during this step you will be able to hear that power is getting through because you should be able to hear the fan start spinning.

Another good example of this would be opening the CD or DVD drive. This is a non-graphical application because you don't actually see anything happening on the screen. There are actually many events which occur whilst opening the disk drive. The first one is when you press the button, if there is a disk holder in the drive which is holding a disk, it will slow the disk down to probably about 25% of the speed. The reason it does this is because it will be spinning at an incredible rate because the laser needs to read it and if you try touching it at the speed it is spinning at, you will most likely cut your hand. The next event in this process is the light which appears either just at the side of the disk drive or just below it. You will notice that the light will star flashing when you press the button. This happens when you open the disk drive because it will alert you to whether the disk drive is opening. You can then put your disk in and close the tray again.

The next event that occurs is the fact that the fan inside the computer will start spinning at an even faster speed. You don’t necessarily see this but you will hear it. The reason this happens is because the laser which is used to read the disk will get very hot and the fan was only keeping everything else cool so it will have to go even faster if the laser is in use as well.

Another example could be in the MS DOS operating systems. It doesn’t make use of wimp when it’s interacting with the user. The user uses/enters computer commands into the computer to give instructions such as saving files, opening new documents other than using a mouse to do this action. A keyboard is used to enter this command and “keydown” events occur when this happens.

Get a custom paper now from our expert writers.

There is a large number of mobile devices which can range from mobile phones to tablets to laptops. Mobile phones use non graphical applications. Most phones now are touch screen and there tends to be widgets on the main screen to get to things, so I am going to have to talk about older phones. When you are navigating through the menus on an old Nokia you have to press the main button on the keypad which will bring you to the menu. You will then have to press the keypad in the particular directions to get to the icon and then press the menu button again to get onto the separate menus. You then have to type your text and select the contact you want to send it to. You then click send and it will go to the other phone. All of the steps in this are event driven and are all click events. They are suitable because there wouldn't be any other ways of doing it.

Image of Alex Wood
This essay was reviewed by
Alex Wood

Cite this Essay

Usage of event-driven programming. (2019, March 12). GradesFixer. Retrieved November 19, 2024, from https://gradesfixer.com/free-essay-examples/usage-of-event-driven-programming/
“Usage of event-driven programming.” GradesFixer, 12 Mar. 2019, gradesfixer.com/free-essay-examples/usage-of-event-driven-programming/
Usage of event-driven programming. [online]. Available at: <https://gradesfixer.com/free-essay-examples/usage-of-event-driven-programming/> [Accessed 19 Nov. 2024].
Usage of event-driven programming [Internet]. GradesFixer. 2019 Mar 12 [cited 2024 Nov 19]. Available from: https://gradesfixer.com/free-essay-examples/usage-of-event-driven-programming/
copy
Keep in mind: This sample was shared by another student.
  • 450+ experts on 30 subjects ready to help
  • Custom essay delivered in as few as 3 hours
Write my essay

Still can’t find what you need?

Browse our vast selection of original essay samples, each expertly formatted and styled

close

Where do you want us to send this sample?

    By clicking “Continue”, you agree to our terms of service and privacy policy.

    close

    Be careful. This essay is not unique

    This essay was donated by a student and is likely to have been used and submitted before

    Download this Sample

    Free samples may contain mistakes and not unique parts

    close

    Sorry, we could not paraphrase this essay. Our professional writers can rewrite it and get you a unique paper.

    close

    Thanks!

    Please check your inbox.

    We can write you a custom essay that will follow your exact instructions and meet the deadlines. Let's fix your grades together!

    clock-banner-side

    Get Your
    Personalized Essay in 3 Hours or Less!

    exit-popup-close
    We can help you get a better grade and deliver your task on time!
    • Instructions Followed To The Letter
    • Deadlines Met At Every Stage
    • Unique And Plagiarism Free
    Order your paper now