Certified Associate in Python Programming (PCAP) — Question 140
A file name like this one below says that:
(Choose three.)
services, cpython 36.pyc
Answer options
- A. the interpreter used to generate the file is version 3.6
- B. it has been produced by CPython
- C. it is the 36 version of the file
- D. the file comes from the services.py source file
Correct answer: A, B, D
Explanation
The correct answer A indicates that the interpreter version is 3.6, which is evident from 'cpython 36.pyc'. Answer B is correct as it specifies that CPython was the tool used to generate the file. Answer D is also correct because the naming convention shows the file originated from services.py. Answer C is incorrect as '36' refers to the interpreter version, not the file version.