The characteristics of modern (modular) programming are:
A. Each module should do only one thing.
B. Communication between modules is allowed only by a calling module.
C. Communication can take place directly between modules that do not have a calling–called relationship.
D. All modules are designed as single-entry, single-exit systems using control structures.
Choose the correct answer from the options given below:
Pick an option to check yourself, or open the answer below.
Show answer & explanation
Correct answer: B. A, B & D only
Explanation
In modular/structured programming each module has a single function, modules communicate only through the calling module, and each module has a single entry and single exit. Direct communication between unrelated modules (C) violates these principles.More Software Engineering questions
- Arrange the following steps of the Feature Driven Development (FDD) process in the correct sequence: (A) Develop an overall model (B) Build…
- Which of the following are Agile process models? (A) Extreme Programming (XP) (B) Waterfall (C) Scrum (D) Spiral (E) Incremental Choose the…
- Arrange the following phases of the Agile process in the correct sequence: (A) Design (B) Release (C) Testing (D) Development (E) Planning…
- If a software project has 2000 lines of code (LOC) and the average productivity rate is 10 LOC per person-hour, how many person-hours are r…
- Which of the following are typical activities in the software process lifecycle? (A) Requirement Analysis (B) System Design (C) Code Refact…
- Match List I (software design principles) with List II (Definition)List I List II (A) Cohesion (I) Degree to which one module relies on ano…