ACTUAL Exam Questions and CORRECT
Answers
When working in ArcGIS Pro, you must import ArcPy to use functions from the ArcPy site
package. - CORRECT ANSWER - false
In the syntax for a function, what follows the name of the function? - CORRECT
ANSWER - One or more function parameters enclosed in parentheses
Running the following script returns an error before it begins to execute. Which answer best
describes the reason for the error?
import arcpy f
c = r"C:/Data/Roads arcpy.Buffer_analysis (fc, fc + "_buff", " - CORRECT ANSWER -
The path for fc requires a closing quotation mark.
Running the following script returns an error after it executes but before it prints any of the items
in dataList. Which answer best describes the reason for the error?
dataList = ("Zoning", "Sewers", "Parcels") for data in datList:
print (data) - CORRECT ANSWER - datList is misspelled in the second line; it should be
dataList.
Which option best describes the purpose of the import math statement in the following code?
import math
sqRt = math.sqrt(64) - CORRECT ANSWER - In this script, import math allows you to
use Python mathematical functions that are not built in.
Python has encountered an error before the script can run. This error is most likely an exception.
- CORRECT ANSWER - False