Bird
0
0

Consider this code snippet representing QA and QC activities in a project:

medium📝 Predict Output Q4 of 15
Testing Fundamentals - Why Software Testing Matters
Consider this code snippet representing QA and QC activities in a project:
qa_activities = ['process audit', 'training', 'checklist creation']
qc_activities = ['manual testing', 'bug reporting', 'regression testing']

print(len(qa_activities), len(qc_activities))
What will be the output?
AError
B3 2
C3 3
D2 3
Step-by-Step Solution
Solution:
  1. Step 1: Count elements in each list

    QA list has 3 items; QC list has 3 items.
  2. Step 2: Understand print output

    Print outputs two numbers separated by space: 3 3.
  3. Final Answer:

    3 3 -> Option C
  4. Quick Check:

    List lengths printed correctly = 3 3 [OK]
Quick Trick: Count list items to predict output [OK]
Common Mistakes:
  • Miscounting list elements
  • Expecting error due to syntax
  • Confusing list lengths

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Testing Fundamentals Quizzes