Change record status: 
Project: 
Introduced in branch: 
7.x-5.x
Introduced in version: 
7.x-5.4
Description: 

This function is no longer used and duplicates functionality provided by the Entity API.

Entity operations can be used like entity_load('quiz_result', [...]);

The data returned is more uniform (score vs. percent_score, num_random_questions vs number_of_random_questions) so they match the entity properties.

If you are calling this deprecated method, see https://cgit.drupalcode.org/course/commit/?id=c6d96b4 for an example of how to change it.

To get the number of random questions, check $quiz->number_of_random_questions.

Impacts: 
Module developers