Sections and Paragraphs.

All sort of Mainframes Interview Questions.
Post Reply
Vicky Malhotra
Registered Member
Posts: 11
Joined: Fri Jan 17, 2014 6:57 pm

Sections and Paragraphs.

Post by Vicky Malhotra »

THIS IS AN INTERVIEW QUESTION ASKED SOMETIME BACK.
  1. What is the difference between section and paragraph.
  2. How do you recognize the begining of the section.
  3. how do you know, that the procedure ended.
Later, I understand that combination of paragraph is section but did not get the answer for other two question. Could you please help.
dick scherrer
Former Team Member
Posts: 62
Joined: Wed Aug 07, 2013 6:43 pm

Re: Sections and Paragraphs.

Post by dick scherrer »

The beginning of a section specifies SECTION in the code.

The procedure has ended when a new paragraph or section is encountered or when there are no more sourcelines.
Hope this helps,
d
User avatar
Robert Sample
Global Moderator
Global Moderator
Posts: 1900
Joined: Fri Jun 28, 2013 1:22 am
Location: Dubuque Iowa
United States of America

Re: Sections and Paragraphs.

Post by Robert Sample »

A SECTION may include multiple paragraphs. SECTION was originally provided to allow for overlays (where part of a program's executable code could be replaced by another part of the executable code when the first part no longer is being used), but this use has become obsolete as system memory has expanded from the minimal 8 KB (yes that was 8,192 bytes of memory -- TOTAL) for the original SYSTEM/360 back in 1964. The 360/30 I used in college in 1976 had 64 KB of memory, divided into three partitions of 32, 16, and 16 KB.
Vicky Malhotra
Registered Member
Posts: 11
Joined: Fri Jan 17, 2014 6:57 pm

Re: Sections and Paragraphs.

Post by Vicky Malhotra »

Thanks Robert and Dick.
Post Reply

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in

Return to “Interview Questions.”