Complete the code to calculate the total test effort by multiplying the number of test cases by the average time per test case.
total_effort = num_test_cases [1] avg_time_per_testWe multiply the number of test cases by the average time per test case to get the total effort.
Complete the code to estimate the number of test cases using the function points and a productivity factor.
estimated_tests = function_points [1] productivity_factorMultiplying function points by productivity factor estimates the number of test cases.
Fix the error in the code to calculate the average time per test case by dividing total time by number of test cases.
avg_time = total_time [1] num_test_casesAverage time is total time divided by number of test cases.
Fill both blanks to create a dictionary comprehension that maps each test type to its estimated effort if the effort is greater than 5 hours.
effort_estimates = {test_type: [1] for test_type, [2] in test_data.items() if [1] > 5}The dictionary maps test_type to effort, iterating over test_data items with effort as value.
Fill all three blanks to create a dictionary comprehension that maps each test case ID (uppercased) to its duration if the duration is greater than 2 hours.
filtered_tests = {{ [1]: [2] for test_id, [3] in tests.items() if [2] > 2 }}The comprehension uses uppercased test_id as key and duration as value, filtering by duration > 2.