0
0
Software Engineeringknowledge~10 mins

COCOMO model in Software Engineering - Interactive Code Practice

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to calculate the basic COCOMO effort estimation formula.

Software Engineering
effort = a * (KLOC [1] b)
Drag options to blanks, or click blank then click option'
A-
B**
C*
D+
Attempts:
3 left
💡 Hint
Common Mistakes
Using multiplication '*' instead of exponentiation '**'.
2fill in blank
medium

Complete the code to calculate development time (TDEV) in the COCOMO model.

Software Engineering
TDEV = c * (effort [1] d)
Drag options to blanks, or click blank then click option'
A+
B-
C*
D**
Attempts:
3 left
💡 Hint
Common Mistakes
Using multiplication '*' instead of exponentiation '**'.
3fill in blank
hard

Fix the error in the COCOMO effort calculation code.

Software Engineering
effort = a * (KLOC [1] b)
Drag options to blanks, or click blank then click option'
A**
B*
C+
D-
Attempts:
3 left
💡 Hint
Common Mistakes
Using '*' which multiplies instead of exponentiating.
4fill in blank
hard

Fill both blanks to complete the COCOMO effort and time formulas.

Software Engineering
effort = a * (KLOC [1] b)
TDEV = c * (effort [2] d)
Drag options to blanks, or click blank then click option'
A**
B*
C+
D-
Attempts:
3 left
💡 Hint
Common Mistakes
Using multiplication '*' instead of exponentiation '**'.
5fill in blank
hard

Fill all three blanks to create a dictionary comprehension for COCOMO effort multipliers.

Software Engineering
effort_multipliers = {factor: rating[1]1.0 for factor, rating in ratings.items() if rating [2] [3]
Drag options to blanks, or click blank then click option'
A*
B>
C3
D<
Attempts:
3 left
💡 Hint
Common Mistakes
Using '+' instead of '*' for multiplication.
Using '<' instead of '>' in the condition.