Which of the following statement(s) regarding code written in Python 2 and 3 is(are) true? Assume that ArcPy is not used, just Python itself. (check all that apply)
Answer
code can be written so that it will work in both Python 2 and Python 3
all code written in Python 2 will work in Python 3
some code written in Python 2 will work in Python 3
all code written in Python 3 will work in Python 2
Question 2
Question
When will Python 2.7 no longer be maintained?
Answer
2019
2020
2021
2022
2024
2025
Question 3
Question
Which of the following statements/keywords in Python 2 have been changed to functions in Python 3? (check all that apply)
Answer
import
input
class
range
file
print
exec
Question 4
Question
Which tool in Python that you can use in your scripts makes your Python 2 code subject to the new rules of Python 3?
Answer
python3porting
__future__
modernize
lib2to3
io
Question 5
Question
Which version of Python installs with ArcGIS Pro 2.1?
Answer
Python 2.6
Python 2.7
Python 3.5
Python 3.6
Python 3.7
Question 6
Question
Which module in ArcPy has undergone the most signifcant changes between Dekstop 10.x and Pro?
Answer
project module
network analyst module
spatial analyst module
mapping module
data access module
Question 7
Question
ArcGIS Pro projects use which file extension?
Answer
.apr
.aptx
.aprx
.mxd
.ppkx
.pro
Question 8
Question
The two sections of the Python window in ArcGIS Pro are called:
Answer
interactive interpreter and transcript
primary prompt and secondary prompt
script and interactive interpreter
script and transcript
python prompt and transcript
primary prompt, and help and syntax window
Question 9
Question
Which of the following method(s) to extent the functionality of desktop GIS is(are) no longer supported in Pro? (check all that apply)
Answer
scrip tools using Python
Python toolboxes
Python add-ins
Question 10
Question
Which default Python environment is used when running ArcGIS Pro?
Answer
arcgisscripting
arcpy
Python 3
arcgispro-py3
Question 11
Question
Which Python package manager is used in ArcGIS Pro to install and manage 3rd party libraries?