0
0
Testing Fundamentalstesting~10 mins

Bug severity vs priority in Testing Fundamentals - Interactive Practice

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

Complete the code to assign the correct bug severity level.

Testing Fundamentals
bug_severity = "[1]"  # This bug causes the system to crash
Drag options to blanks, or click blank then click option'
ALow
BTrivial
CMinor
DCritical
Attempts:
3 left
💡 Hint
Common Mistakes
Choosing 'Low' or 'Minor' for a crash bug.
2fill in blank
medium

Complete the code to assign the correct bug priority level.

Testing Fundamentals
bug_priority = "[1]"  # This bug should be fixed before the next release
Drag options to blanks, or click blank then click option'
ALow
BMedium
CHigh
DDeferred
Attempts:
3 left
💡 Hint
Common Mistakes
Confusing priority with severity.
3fill in blank
hard

Fix the error in the code to correctly check if a bug is both critical and high priority.

Testing Fundamentals
if bug_severity == "[1]" and bug_priority == "High":
    print("Fix immediately")
Drag options to blanks, or click blank then click option'
ACritical
BHigh
CLow
DMedium
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'High' for severity instead of priority.
4fill in blank
hard

Fill both blanks to create a dictionary mapping bug severity to priority.

Testing Fundamentals
bug_map = {"Critical": "[1]", "Minor": "[2]"}
Drag options to blanks, or click blank then click option'
AHigh
BLow
CMedium
DDeferred
Attempts:
3 left
💡 Hint
Common Mistakes
Mixing up priority levels for severities.
5fill in blank
hard

Fill all three blanks to filter bugs with severity Critical and priority High.

Testing Fundamentals
filtered_bugs = [bug for bug in bugs if bug['severity'] == '[1]' and bug['priority'] == '[2]' and bug['status'] == '[3]']
Drag options to blanks, or click blank then click option'
ACritical
BHigh
COpen
DClosed
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'Closed' status instead of 'Open'.