JavaScript isn't enabled in your browser, so this file can't be opened. Enable and reload.
Quiz - QGIS Expressions Masterclass
This is a short quiz to test your understanding of QGIS Expressions.
- Each question carries 2 points.
- You will see the results immediately after submitting the quiz.
Sign in to Google
to save your progress.
Learn more
* Indicates required question
What does the expression "NAME" = 'SELECTED' mean?
*
2 points
Compare the value of the NAME attribute with the text SELECTED
Compare the text NAME with the value of the attribute SELECTED
Assign the value SELECTED to the column NAME
Rename the column NAME to SELECTED
Select the correct expression to extract all non-null values from the column NAME
*
2 points
"NAME" != NULL
"NAME" || NULL
"NAME" IS NOT NULL
"NAME" <> ''
The function maximum() calculates the maximum value from a field. Select the correct expression to select the feature having the highest value for the field "COUNT"
*
2 points
"COUNT" = maximum()
maximum("COUNT")
maximum("COUNT") < "COUNT"
maximum("COUNT") = "COUNT"
You have a vector layer with a field named "start_date" with date values stored as strings of the format '01/01/2021'. How will you convert it to a field of type "Date"?
2 points
to_date('01/01/2021', 'dd/MM/yyyy')
to_date("start_date", 'dd/MM/yyyy')
to_date("start_date")
to_date('01/01/2021')
Clear selection
The function randf() generates a random floating point number between the specified range. The function signature is as follows, where [] marks optional parameters.
randf
([
min:=0.0
][,
max:=1.0
][,
seed:=NULL
])
Select all the valid expressions from the list below
*
2 points
randf()
randf(0, 100)
randf(max:=100)
randf(min:=0, max:=100)
Required
Submit
Clear form
This form was created inside of Spatial Thoughts.
Does this form look suspicious?
Report
Forms
Help and feedback
Contact form owner
Help Forms improve
Report