GEOM 73 - Python Quiz 5

Description

Geography Quiz on GEOM 73 - Python Quiz 5, created by Maggie Samson on 14/04/2019.
Maggie Samson
Quiz by Maggie Samson, updated more than 1 year ago
Maggie Samson
Created by Maggie Samson over 5 years ago
68
2

Resource summary

Question 1

Question
Consider the following code: mapdoc = arpy.mapping.MapDocument("CURRENT") What does the keyword CURRENT refer to?
Answer
  • a variable called CURRENT in preceding lines of code in the script
  • the map document current loaded into ArcMap
  • the map document in the current workspace
  • the most recently saved map document by ArcMap

Question 2

Question
Which of the following is (are) not a propery of a data frame object when using the ListDataFrames function? (check all that apply)
Answer
  • scale
  • extent
  • showLabels
  • dataSource
  • visible
  • name

Question 3

Question
Which of the following is (are) a method of the DataFrame object? (check all that apply)
Answer
  • getExtent
  • panToExtent
  • delete
  • save
  • zoomToSelectedFeatures
  • mapUnits

Question 4

Question
Not all layers have the same properties. Which method is used to determine whether a particular property (such as showLabels) applies to a specific layer?
Answer
  • supports
  • contains
  • isValid
  • exists

Question 5

Question
Which one of the following functions of the ArcPy mapping module allows you to to add a layer before or after an already existing layer in a data frame?
Answer
  • AddLayer
  • InsertLayer
  • AddLayerToGroup
  • UpdateLayer

Question 6

Question
Which method (s) can be used on map documents to update or fix broken data sources? (check all that apply)
Answer
  • findAndReplaceWorkspacePath
  • replaceWorkspaces
  • ListBrokenDataSources
  • findAndReplaceWorkspacePaths
  • FixBrokenDataSources
  • replaceDataSource

Question 7

Question
Which of the following is (are) not a layout element type that can be used in scripting using the ListLayoutElements function of the ArcPy mapping module? (check all that apply)
Answer
  • GRAPHIC_ELEMENT
  • DATA_ELEMENT
  • TEXT_ELEMENT
  • LEGEND_ELEMENT
  • SCALE_ELEMENT

Question 8

Question
Consider the following code: import arcpy mapdoc = arcpy.mapping.MapDocument("C:/Project/Study.mxd") Which of the following correctly creates a list of the all the text elements on a layout?
Answer
  • textlist = arcpy.mapping.ListLayoutElements(mapdoc, "", "Text")[0]
  • textlist = arcpy.mapping.ListLayoutElements(mapdoc, "TEXT_ELEMENT")
  • textlist = arcpy.mapping.ListLayoutElements(mapdoc, "", "Text")
  • textlist = arcpy.mapping.ListLayoutElements(mapdoc, "TEXT_ELEMENT")[0]

Question 9

Question
Which of the following is the ArcPy function used to create a PDF file of a map document?
Answer
  • SaveToPDF
  • PrintMapToPDF
  • PDFDocumentCreate
  • ExportToPDF

Question 10

Question
Which of the following cannot be accomplished by using the ArcPy mapping module in a Python script? (check all that apply)
Answer
  • Add a new data layer to a data frame
  • Add a new data frame to a map document
  • Create a new empty map document
  • Add a scale bar to a map layout
Show full summary Hide full summary

Similar

Geography Coastal Zones Flashcards
Zakiya Tabassum
Geography Quiz
PatrickNoonan
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