num_answered

Declaration

num_answered: INTEGER

Description

Number of questions with an answer in the current query.

See Also

num_correct
total_items
database functions
Database

Example

script grade_test is
  if num_correct > 10 then
    -- passing grade
  else
    if num_answered < (total_items / 2) then
      -- answered less than half
    end
  end
end