CS FundamentalsVery hardGATE CS · Product placement

A module reads a raw record, cleans it, and passes the cleaned record to a parser whose output is passed to a validator - each step's output is the next step's input. Which type of cohesion is this?

  1. A. Communicational cohesion
  2. B. Procedural cohesion
  3. C. Sequential cohesion
  4. D. Temporal cohesion

Correct answer: C. Sequential cohesion

Sequential cohesion means the output of one element is the input of the next. Communicational cohesion only needs the elements to share the same data; procedural follows a control order without passing data; temporal groups things done at the same time.

More Software Engineering, Git and Cloud Basics questions

Exams that ask this topic