QGIS and GDAL Raster Analysis: NoData, Grid Alignment and Resampling

QGIS and GDAL Raster Analysis: NoData, Grid Alignment and Resampling

Choose one answer. All questions are included, with explanations after checking. No time limit. Training target: 23/28. Diagnose missing-value masks, grid offsets, resampling choices, numeric types and output checks in raster analysis. Scenarios distinguish the QGIS 3.44 Raster menu calculator from GDAL utilities and specify their assumptions. This focused test is not a complete GIS course; CRS selection, georeferencing models and multiband mask policies are outside its scope. Sources: https://docs.qgis.org/3.44/en/docs/user_manual/working_with_raster/raster_analysis.html https://gdal.org/en/stable/programs/gdal_calc.html https://gdal.org/en/stable/programs/gdalwarp.html https://gdal.org/en/stable/tutorials/geotransforms_tut.html https://gdal.org/en/stable/user/raster_data_model.html https://numpy.org/doc/stable/reference/generated/numpy.mean.html https://numpy.org/doc/stable/user/basics.types.html https://gdal.org/en/stable/programs/gdalinfo.html
1 of 28
A coarse land-cover cell covers nine equal-area valid source cells with codes [2,2,2,2,2,7,7,7,9]. The required output is the most frequent source class. Which value should mode resampling return?