GEOM 73 - Python Quiz 7

Beschreibung

Geography Quiz am GEOM 73 - Python Quiz 7, erstellt von Maggie Samson am 14/04/2019.
Maggie Samson
Quiz von Maggie Samson, aktualisiert more than 1 year ago
Maggie Samson
Erstellt von Maggie Samson vor mehr als 5 Jahre
65
1

Zusammenfassung der Ressource

Frage 1

Frage
Which of the following is not an example of why you would use a script tool instead of a stand-alone script?
Antworten
  • A script tool includes a dialog box, making it easier to use.
  • Users don't really need to know Python to use a script tool
  • Script tools can be run using background geoprocessing
  • A script tool makes it easier to share functionality with others

Frage 2

Frage
When creating a script tool it is recommended to set your Python script to run "in process", since this is faster.
Antworten
  • True
  • False

Frage 3

Frage
If a script tool uses a parameter that consists of a list (list of values, list of featue classes), which ArcPy function is used to receive this parameter as an object?
Antworten
  • GetParameter
  • sys.argv
  • GetParameterAsText
  • GetParameterAsList

Frage 4

Frage
All script tools should have at least one output, even if that means using a derived parameter based on the input.
Antworten
  • True
  • False

Frage 5

Frage
Consider the tool dialog shown here. Which parameter is controlled using the "obtained from" property?
Antworten
  • Side Type
  • Output Feature Class
  • Linear unit
  • Field
  • Input Features
  • Dissolve Type

Frage 6

Frage
Which ArcPy function is used to retrieve all messages from a previously run tool, regardless of severity, in order to print them to the Results window?
Antworten
  • ReturnMessages
  • AddAllMessages
  • AddReturnMessage
  • AddMessage

Frage 7

Frage
When executing a script tool, which type of progessor allows you to show the percentage completed during an iteration over a large number of datasets?
Antworten
  • percent progressor
  • position progressor
  • default progressor
  • step progressor

Frage 8

Frage
In order to facilitate the sharing of script tool, you should generally not enable relative paths in the properties of the script tool.
Antworten
  • True
  • False

Frage 9

Frage
When running a script tool, how can you determine the location of the script file itself?
Antworten
  • sys.path[1]
  • os.getcwd[1]
  • os.getcwd[0]
  • sys.path[0]

Frage 10

Frage
When sharing a script tool, if you do not want to share your actual Python code, you can simply embed your script in a toolbox and your code will not be accessible by others.
Antworten
  • True
  • False
Zusammenfassung anzeigen Zusammenfassung ausblenden

ähnlicher Inhalt

Geography Quiz
PatrickNoonan
Geography Coastal Zones Flashcards
Zakiya Tabassum
Using GoConqr to study geography
Sarah Egan
All the Countries of the World and their Capital Cities
PatrickNoonan
Tectonic Hazards flashcards
katiehumphrey
Volcanoes
1jdjdjd1
River Processes and Landforms
1jdjdjd1
GCSE Geography - Causes of Climate Change
Beth Coiley
The Rock Cycle
eimearkelly3
Plate Tectonics
eimearkelly3
Characteristics and Climate of a hot desert
Adam Collinge