Maggie Samson
Quiz by , created more than 1 year ago

Geography Quiz on GEOM 73 - Python Quiz 11, created by Maggie Samson on 14/04/2019.

44
1
0
Maggie Samson
Created by Maggie Samson about 5 years ago
Close

GEOM 73 - Python Quiz 11

Question 1 of 11

1

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)

Select one or more of the following:

  • 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

Explanation

Question 2 of 11

1

When will Python 2.7 no longer be maintained?

Select one of the following:

  • 2019

  • 2020

  • 2021

  • 2022

  • 2024

  • 2025

Explanation

Question 3 of 11

1

Which of the following statements/keywords in Python 2 have been changed to functions in Python 3? (check all that apply)

Select one or more of the following:

  • import

  • input

  • class

  • range

  • file

  • print

  • exec

Explanation

Question 4 of 11

1

Which tool in Python that you can use in your scripts makes your Python 2 code subject to the new rules of Python 3?

Select one of the following:

  • python3porting

  • __future__

  • modernize

  • lib2to3

  • io

Explanation

Question 5 of 11

1

Which version of Python installs with ArcGIS Pro 2.1?

Select one of the following:

  • Python 2.6

  • Python 2.7

  • Python 3.5

  • Python 3.6

  • Python 3.7

Explanation

Question 6 of 11

1

Which module in ArcPy has undergone the most signifcant changes between Dekstop 10.x and Pro?

Select one of the following:

  • project module

  • network analyst module

  • spatial analyst module

  • mapping module

  • data access module

Explanation

Question 7 of 11

1

ArcGIS Pro projects use which file extension?

Select one of the following:

  • .apr

  • .aptx

  • .aprx

  • .mxd

  • .ppkx

  • .pro

Explanation

Question 8 of 11

1

The two sections of the Python window in ArcGIS Pro are called:

Select one of the following:

  • 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

Explanation

Question 9 of 11

1

Which of the following method(s) to extent the functionality of desktop GIS is(are) no longer supported in Pro? (check all that apply)

Select one or more of the following:

  • scrip tools using Python

  • Python toolboxes

  • Python add-ins

Explanation

Question 10 of 11

1

Which default Python environment is used when running ArcGIS Pro?

Select one of the following:

  • arcgisscripting

  • arcpy

  • Python 3

  • arcgispro-py3

Explanation

Question 11 of 11

1

Which Python package manager is used in ArcGIS Pro to install and manage 3rd party libraries?

Select one of the following:

  • EasyInstall

  • Python 3

  • PIP

  • conda

  • Anaconda

Explanation