Examlex

Solved

Your Script Is Parsing Filenames and Is Creating a Count

question 8

Multiple Choice

Your script is parsing filenames and is creating a count of how many files per file extension type exist within a directory. What slice could you use to extract the file extension substring, assuming the extensions are three letters only?


Definitions:

P(B|A)

The likelihood of event B happening after event A has already taken place.

Complement

The set or amount that completes something to a whole, usually in the context of sets in mathematics or the complement rule in probability.

P(A)

The probability of event A occurring in a statistical context.

Complement

In mathematics, a complement refers to the elements not in the subset of interest within a given set. In general language, it means something that completes or goes well with something.

Related Questions