I deserve to be verified on twitter

Good Essays
 What programming techniques or structures can stop or exit an infinite loop?
Sources found on: http://www.dummies.com/how-to/content/breaking-out-of-an-infinite-loop-in-your-c-languag.html & http://www.ehow.com/how_5697840_stop-infinite-loop.html

Loops are programming devices that specify that a section of a program is to be performed one or more times. Typically they are divided into two categories, "for loops" and "while loops". A "for loop" is executed a set number of times. A "while loop" continues to execute until a predefined condition is met. Creating an infinite loop is a very common occurrence for developers

I. Open the source code in the programming software.

II. Identify the infinite loop in the source code. During an infinite loop a program often does not return output or accept input. Start by looking at the code in the area after the last successful input or output action occurred.

III. Insert a line within the loop structure to determine the value of the variable such as in the following Basic language code: while x < 10 print x / line added to monitor variable/ end while

IV. Execute the code and monitor the value of the variable. Determine why the variable is not reaching the value required to fulfill the conditional statement.

V. Modify the source code to satisfy the loop's condition to exit: while x < 10 print x / line added to monitor variable/ x = x + 1 end while

VI. Execute the source code and confirm that the infinite loop has been resolved.

VII. Remove the line of code added to debug the infinite loop.

--------------------------------------------------------------------------------------------------

When you get into programming loops in the C language, you discover the joys and dreads of endless, or infinite, loops. These loops continue forever because either the programmer forgot to include a way to exit from the loop or the exit condition is just never met. Either way, endless loops are a

You May Also Find These Documents Helpful

  • Satisfactory Essays

    I deserve it

    • 307 Words
    • 1 Page

    I deserve it Coming from a third world nation and dreaming to be someone is my first big step to success. Education is not only the basic necessity for every human being it is more than that, without it you cannot even think to survive in this world. Education is something which is going to be with you even after everyone else leave you alone. That’s the reason why I deserve it. I have always been a hard working laborious student since my childhood but due to the political instability…

    • 307 Words
    • 1 Page
    Satisfactory Essays
  • Satisfactory Essays

    I Deserve A Scholarship

    • 190 Words
    • 1 Page

    I believe that I deserve and be grateful for the courage to grow scholarship for multiple reasons. Many people write these essays about financial struggles and the expenses that obtaining a college education requires. As a college student, myself going in to my second year I can fully attest to this however, that’s not why I believe I deserve the scholarship. I want the chance to grow in my career and education and this scholarship will provide a little bit relief financially so I can be more focused…

    • 190 Words
    • 1 Page
    Satisfactory Essays
  • Satisfactory Essays

    I deserve to win

    • 644 Words
    • 3 Pages

    I deserve to win this scholarship because I am a hard worker, I am determined, and I have the ability to follow through with the education needed to achieve the goals in my life. I am a straight A student and always looking for a challenge. I am passionate, driven, and have very high expectations. Because of these qualities, I have always put my studies over everything else. I have faith and believe in myself that I will follow through and obtain the quality education that I am striving for. With…

    • 644 Words
    • 3 Pages
    Satisfactory Essays
  • Better Essays

    Twitter

    • 981 Words
    • 3 Pages

    Using Twitter to Effectively Make a Brand Reach Out to the Millenials Twitter is an online free micro blogging and social networking site founded by Biz Stone and jack Dorsey in 2006. It enables those using it to read and send tweets, which are 140-character short bursts of information. Users can also include in the tweets links having other content and broadcast them either publicly or privately. Companies and many business firms are nowadays using it as a way of engagement with customers. It offers…

    • 981 Words
    • 3 Pages
    Better Essays
  • Satisfactory Essays

    Twitter

    • 1240 Words
    • 5 Pages

    questions on Twitter. Twitter is simply one of the popular online-places where people can socialize. But what is it that has made this online-place so popular? Why don’t just socialize via phone or e-mail? Twitter was created on the side of the company ODEO. The website was supposed to be a secondary company compared to ODEO, but after some time Twitter started to grow and the possibilities within too. Evan Williams – the founder of Twitter and former CEO of Twitter – also says that Twitter take all…

    • 1240 Words
    • 5 Pages
    Satisfactory Essays
  • Good Essays

    Twitter

    • 936 Words
    • 4 Pages

    What are you up to? - Twitter, of course Twitter is a great social medium. There are more people than you could imagine, tweeting at this very moment. It is a phenomenon which by the looks of i will remain popular for decades. In the following article, I will emphasize some of the advantages and disadvantages of using it for business, political and social purposes. The “hunch” Back to where it all started, a CEO of a company called ODEO, hired an engineer named Jack. His name was Evan Williams…

    • 936 Words
    • 4 Pages
    Good Essays
  • Good Essays

    I believe that I deserve a Big33 Scholarship for several reasons. My high attendance, academic achievement, determination, time management, financial need, motivation for college and to achieve better are all reasons I will discuss of why I believe I deserve a scholarship. The first reason is because I am very diligent in my studies and attend my classes every day. In my entire schooling career I missed very minimal amounts of school. I have obtained perfect attendance in grades 9th, 11th, and am…

    • 547 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    As I prepare to embark on a new journey in college I reflect on my experience and my life up to this point. As a student, I feel that education is the most valuable and precious thing in life. It’s important not to let anything and anyone become an obstacle to your education. In addition, it’s important to continue my education by attending a college where I can take my studies seriously, and to reach my goal of becoming a Summa Cum Laude. I have proven to myself that I am a hard worker by putting…

    • 278 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    I Deserve This Grade

    • 87 Words
    • 1 Page

    I believe that I deserve this grade because I always attend class and only missed two during the semester. I rarely show up late and and I am usually ready to take notes during our lectures. Although, I do not participate in class, I am surely attentive and a respectful listener towards my teacher and classmate’s questions or opinions. I know that in the future I should be more active in class to benefit my knowledge and grades. However, I believe this grade is a reasonable…

    • 87 Words
    • 1 Page
    Satisfactory Essays
  • Good Essays

    Why I Deserve a Raise

    • 972 Words
    • 4 Pages

    Why I deserve a raise? One of the most important aspects of my life right now is my job. I've accomplished many goals and met standards set by you. I always listened to what you had to say and respected your authority. I've never been late to work; working 5 days a week. No matter how busy we get I've always managed to keep the box in balance and keep my customers satisfied. When the time comes and there is something new to do, you give me instructions and let me know what to do. Every…

    • 972 Words
    • 4 Pages
    Good Essays