?

Algorithms & Data Structures

Free Version

Upgrade subject to access all content

Easy

Counting Ways To Call Procedures

ALGOR-JTJXNH

Suppose you have a library of procedures used in pairs that are selected from two pools of procedures. One set of procedures prepares data for analysis (pre-processing). The second set of procedures does various analyses based on the pre-processing. Suppose that there are 18 procedures in the pre-processing pool and 325 procedures in the pool for analysis. We are trying to determine how many different combinations need to be tested in order to test them all.

How many ways can we pick one procedure from each pool so that there is one from pre-processing pool and one from the analysis pool?

A

$325$

B

$343$

C

$3250$

D

$5850$