Which one of the following is an example of a Python le extension?
A. pi
B. py
C. p
What is source code?
A. A program written in a high-level programming language
B. Another name for a source le
C. Machine code executed by computers
What is the expected output of the following code?
A. 25
B. 17.0
C. The code is erroneous.
D. 17
The folder created by Python used to store pyc les is named:
A. __pyc__
B. __pyc les__
C. __pycache__
D. __cache__
Select the true statements? (Choose two.)
A. Python is a good choice for low-level programming, e.g. when you want to implement an effective driver
B. Python is a good choice for creating and executing tests for applications
C. Python is free, open-source, and multiplatform
D. Python 3 is backwards compatible with Python 2
You develop a Python application for your company. You want to add notes to your code so other team members will understand it. What should you do?
A. Place the notes after the last list of code separated by a blank line.
B. Place the notes after the # sign on any line.
C. Place the notes inside of parentheses on any line.
D. Place the notes before the rst line of code separated by a blank line.
What is the expected behavior of the following program?
A. The program will output Hello! to the screen
B. The program will generate an error on the screen
C. The program will output ("Hello!") to the screen
D. The program will output "Hello!" to the screen
UNICODE is a standard:
A. for coding oating-point numbers.
B. used by coders from universities.
C. honored by the whole universe.
D. like ASCII, but much more expansive.
By which variable of the sys module can we access command line arguments?
A. argsv
B. arguments
C. args
D. argv
You have the following le. index.py:
You run the le by executing the following command in the terminal. python index.py Hello What is the expected oputput?
A. index.py
B. ImportError
C. IndexError
D. Hello
Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only Python Institute exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your PCEP-30-02 exam preparations and Python Institute certification application, do not hesitate to visit our Vcedump.com to find your solutions here.