The Cyclomatic complexity of two modules A and B are 10 and 15 respectively :

qImage67c15bb76c035db03f1e6d2e

What is the cyclomatic complexity of sequential integration of A and B ?

qImage67c15bb76c035db03f1e6d2f

This question was previously asked in
NIELIT Scientific Assistant CS 5 Dec 2021 Official Paper
View all NIELIT Scientific Assistant Papers >
  1. 19
  2. 21
  3. 24
  4. 25

Answer (Detailed Solution Below)

Option 3 : 24
Free
NIELIT Scientific Assistant Quantitative Aptitude Mock Test
0.9 K Users
20 Questions 20 Marks 30 Mins

Detailed Solution

Download Solution PDF

Correct Answer: Option 3) 24

Explanation:

When two modules are integrated sequentially, one control path is shared between them. So, instead of summing their cyclomatic complexities directly, we subtract 1 to account for the shared edge.

Formula:

Cyclomatic Complexity = MA + MB - 1

Where:

  • MA = Cyclomatic complexity of module A = 10
  • MB = Cyclomatic complexity of module B = 15

Therefore:

Cyclomatic Complexity = 10 + 15 - 1 = 24

Hence, the correct answer is: Option 3) 24

Latest NIELIT Scientific Assistant Updates

Last updated on Jul 3, 2025

-> NIELIT Scientific Assistant answer key 2025 has been released at the official website. 

-> NIELIT Scientific Assistant admit card 2025 has been released. 

-> NIELIT Scientific Assistant city intimation slip 2025 has been released at the official website.

-> NIELIT Scientific Assistant exam 2025 is scheduled to be conducted on June 28. 

-> A total number of 113 revised vacancies have been announced for the post of Scientific Assistant in Computer Science (CS), Information Technology (IT), and Electronics & Communication (EC) streams.

-> Online application form, last date has been extended up to from 17th April 2025.

->The NIELT has revised the Essential Qualifications for the post of Scientific Assistant. Candidates must possess (M.Sc.)/ (MS)/ (MCA) / (B.E.)/ (B.Tech) in relevant disciplines.

 

-> The NIELIT Scientific Assistant 2025 Notification has been released by the National Institute of Electronics and Information Technology (NIELIT).

More Software Maintenance Questions

Get Free Access Now
Hot Links: teen patti flush teen patti game online teen patti casino teen patti real teen patti yes