Question 8
Consider a module Deque that maintains a doubly linked list. The module Deque has the following functions:
- push_back(e) : adds an element e at the back of the doubly linked list,
- push_front(e) : adds an element e at the front of the doubly linked list,
- pop_back(): removes an element from back of the doubly linked list,
- pop_front(): removes an element from front of the doubly linked list.
Identify the type of cohesion for the module Deque.
Sequential cohesion
Communicational cohesion
Procedural cohesion
Coincidental cohesion