close
test_template

The Main Concept of a Programming Model

Human-Written
download print

About this sample

About this sample

close
Human-Written

Words: 404 |

Page: 1|

3 min read

Published: Jan 4, 2019

Words: 404|Page: 1|3 min read

Published: Jan 4, 2019

The main concept of a programming model is to give guidelines for programmers on how to design and how to structure the software. Usually there are two different ways in IoT operating systems, either to build it as an event-driven or as a multi-threaded system. In an event-driven system all of the processing starts after it has been triggered by an external event. Usually this needs to be done by using interrupt calls. This model is useful when you want your system to be efficient in terms of memory. Multithreading on the other side means there are multiple threads that are processing tasks. This point of view gives more time for CPU to work efficiently and therefore saves energy consumption. Furthermore, the programming model can also be either synchronous or asynchronous.

The main difference between these two options is that in the synchronous model one task is executed at a time and in the asynchronous model tasks can be paused of executing and a thread can start executing some other task meanwhile. Basically asynchronous programming provides better usage for a system because there is no need to wait for the task to be finished before moving to another one. An important point to consider when comparing operating systems is the way input and output is handled. Unlike full-fledged operating systems there are different possibilities for gaining input and transferring data. Most common devices such as printers, displays and keyboards are usually not used and supported in IoT environments. But what all kinds of systems have in common and probably the most obvious input/output is network connectivity. Therefore, it is necessary to analyze the different options on how the network stack may be implemented and which network protocols are used.

Further implementations including several layers are for instance ZigBee, Wireless ANT and 6LoWPAN.newline Apart from the network access there are usually sensors used to gain input from the environment. Typical measures in Wireless Sensor Networks (WSN) are temperature, humidity, touch, force, sound, light and magnetic fields. Therefore, it is important to compare in which ways operating systems interact with sensors/transducers and actuators and which types they support and APIs they use. Because network connectivity and sensors provoke high power consumption we will consider the use of energy within this topic as well. Another important consideration is whether the system is POSIX compliant for ensuring compatibility between the OS and applications that will run on top of it.begin{figure}includegraphics[width=250pt]{myOSIgraphic.JPG}

Image of Alex Wood
This essay was reviewed by
Alex Wood

Cite this Essay

The Main Concept of a Programming Model. (2019, January 03). GradesFixer. Retrieved November 19, 2024, from https://gradesfixer.com/free-essay-examples/the-main-concept-of-a-programming-model/
“The Main Concept of a Programming Model.” GradesFixer, 03 Jan. 2019, gradesfixer.com/free-essay-examples/the-main-concept-of-a-programming-model/
The Main Concept of a Programming Model. [online]. Available at: <https://gradesfixer.com/free-essay-examples/the-main-concept-of-a-programming-model/> [Accessed 19 Nov. 2024].
The Main Concept of a Programming Model [Internet]. GradesFixer. 2019 Jan 03 [cited 2024 Nov 19]. Available from: https://gradesfixer.com/free-essay-examples/the-main-concept-of-a-programming-model/
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