Question: Complete the following functions below in c++ #include #include #include #include #include #include using namespace std; #define NUM_CHOICES 4 struct Responses { string text[4]; string

Complete the following functions below in c++

#include #include #include #include #include #include

using namespace std;

#define NUM_CHOICES 4

struct Responses { string text[4]; string answer; bool shuffle; };

struct Question { string ID; string text; Responses responses; int points; };

struct Summary { string questionID; bool correct; bool skipped; string answer; string givenAnswer; int points; };

Complete the following functions below in c++ #include #include #include #include #include

// This function creates the exam containing numExamQuestions, // where the questions are taken randomly from the Question Bank, // which contains numQuestions. Duplicate questions are not // allowed in the exam. void prepareExam Question questionBank[], int numQuestions, Question exan[], int numExamQuestions) { } // This function displays a question for the user to answer // while the exam is in progress. void displayExamQuestion (Question question) { } // After the exam is prepared, this function presents the // questions on the exam to the user, one by one. It also // records how the user responded to each question, for // the summary at the end. void generateExam (Question exam[], int numExamQuestions, Summary summary[]) { } // This function creates the exam containing numExamQuestions, // where the questions are taken randomly from the Question Bank, // which contains numQuestions. Duplicate questions are not // allowed in the exam. void prepareExam Question questionBank[], int numQuestions, Question exan[], int numExamQuestions) { } // This function displays a question for the user to answer // while the exam is in progress. void displayExamQuestion (Question question) { } // After the exam is prepared, this function presents the // questions on the exam to the user, one by one. It also // records how the user responded to each question, for // the summary at the end. void generateExam (Question exam[], int numExamQuestions, Summary summary[]) { }

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!