GEOM 73 - Python Quiz 4

Description

Geography Quiz on GEOM 73 - Python Quiz 4, 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
58
2

Resource summary

Question 1

Question
When working with raster data using the Describe function, which 3 different raster data elements could be returned?
Answer
  • raster band
  • raster file
  • raster image
  • raster dataset
  • raster catalog
  • raster collection

Question 2

Question
Which property(ies) of a raster object can you use to determine whether a raster has more than one band? (select all that apply)
Answer
  • format
  • bandCount
  • dataType
  • pixelType
  • isMultiband

Question 3

Question
Which of the following properties are associated with individual raster bands, but not with multiband raster datasets? (select all that apply)
Answer
  • noDataValue
  • format
  • compressionType
  • pixelType
  • bandCount
  • meanCellWidth

Question 4

Question
Consider the following code: import arcpy arcpy.env.workspace = "C:/Mydata" rasterlist = arcpy.ListRasters() for raster in rasterlist: print raster The result is as follows: elevation What file format is the file called elevation?
Answer
  • ERDAS IMAGINE
  • TIFF
  • raster
  • Esri GRID
  • feature class
  • DEM

Question 5

Question
Raster is a class of the arcpy.sa module.
Answer
  • True
  • False

Question 6

Question
When using arcpy.sa, what does a map algebra expression by default?
Answer
  • a raster file
  • a raster dataset
  • a describe object
  • a raster object
  • a geoprocessing object

Question 7

Question
Consider the following script: import arcpy from arcpy import env from arcpy.sa import * env.workspace = "C:/raster" mynbr = NbrRectangle(5, 5, "CELL") outraster = FocalStatistics ("landuse", mynbr, "VARIETY") outraster.save("C:/raster/lu_var") Which of the following is (are) a class of the arcpy.sa module? (select all that apply)
Answer
  • NbrRectangle
  • env
  • save
  • FocalStatistics

Question 8

Question
Consider the following code: import arcpy from arcpy.sa import * What does import * accomplish?
Answer
  • imports the arcpy.sa module so all the properties and method can be utilized
  • imports any of the submodules associated with the arcpy.sa module so they don't need to be called separately
  • imports all the functions and other elements from the arcpy.sa module so they can be called directly
  • imports all the raster objects

Question 9

Question
Which of the following are classes are part of the arcpy.sa module and are used to define parameters of raster tools?
Answer
  • ValueTable
  • SearchNeighborhoodStandard
  • NbrCircle
  • RadiusFixed
  • RemapValue
  • Raster

Question 10

Question
The arcpy.sa module only has one function. Which one is it?
Answer
  • RasterObject
  • SpatialReference
  • MapAlgebra
  • ApplyEnvironment
Show full summary Hide full summary

Similar

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