Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6746149
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T12:17:20+00:00 2026-05-26T12:17:20+00:00

I am reading some C text at the address https://cs.senecac.on.ca/~btp100/pages/content/const.html . In the section

  • 0

I am reading some C text at the address https://cs.senecac.on.ca/~btp100/pages/content/const.html.

In the section “STRUCTURED PROGRAMMING”, the author mentioned: “Structured programs are understandable, testable and readily modifiable. They consist of simple constructs, each of which has one entry point and one exit point.”

I understood what is a structured program, but I am not really understanding the idea “one entry point and one exit point”. What if we do not have such stuff?

Can anyone elaborate on that, please?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T12:17:21+00:00Added an answer on May 26, 2026 at 12:17 pm

    Look at the Flags example close to the bottom and Avoiding Jumps below that: https://cs.senecac.on.ca/~btp100/pages/content/const.html#fla

    What they’re basically trying to say here is that you could have some sort of loop (for/while/whatever) where you could use something like break to exit a loop prematurely, rather than waiting on the actual condition that you’re checking in the loop to become false and have the loop exit normally. In this case you would have two exit points.

    They suggest the use of a flag variable added to the loop’s condition to have a single exit point, makes sense.

    The use of continue is another example where you can “break structure.” You could use continue to stop the current iteration of the loop and reenter it, where in this case you would have multiple entry points.

    Things like that can make code a lot harder to read and be able to follow the flow, even though sometimes it may seem necessary to do so.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am reading some C text at the address: https://cs.senecac.on.ca/~btp100/pages/content/files.html in the section OPENING
I am reading some C text at the address: https://cs.senecac.on.ca/~lczegel/BTP100/pages/content/compu.html In the section: Addressible
I am reading some text about the C language at the url https://cs.senecac.on.ca/~btp100/pages/content/compu.html .
I am reading some C++ text at the address: https://cs.senecac.on.ca/~chris.szalwinski/archives/oop244.071/content/custo_p.html . In the section
I am reading some C++ text from the address https://cs.senecac.on.ca/~chris.szalwinski/archives/btp200.081/content/overl.html . in the first
I am reading a text file with this format: grrr,some text,45.4321,54.22134 I just have
I've trying to get some vertical text on a little test webpage after reading
Reading some Python (PyQt) code, I came across as follows. @pyqtSignature(QString) def on_findLineEdit_textEdited(self, text):
I have a textarea where user can edit some text and it accepts HTML.
I am reading some C++ text and got the following code: From that code,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.