Answer:
/Question.h
#include<iostream>
#include<string>
using namespace std;
class Question
{
private:
string question;
string answer[4];
unsigned int correctAnswer;
public:
Question(string ques,string *ans,unsigned int x)
{
int i;
question.assign(ques);
for(i=0;i<4;i++)
{
answer[i]=ans[i];
}
correctAnswer=x;
}
~Question()
{
}
string getQuestion()
{
return question;
}
unsigned int getCorrectAnswer()
{
return correctAnswer;
}
string getAnswer1()
{
return answer[0];
}string getAnswer2()
{
return answer[1];
}
string getAnswer3()
{
return answer[2];
}string getAnswer4()
{
return answer[3];
}
int getNoOfPossibleAnswers()
{
return 4;
}
};
Explanation:
The Question class represents one question and the possible answers for that question.
The Question class contains the question text and the 4 possible answers. It also contains the answer number of the correct answer.
The answer number is an unsigned int in the range of 1 to 4.Your Question class needs to have one or more constructors and one destructor.
It needs a member function that returns the question text. It also needs member functions that return the answer text for a specific answer
(1 through 4). The class also needs a member function that returns the number of possible answers for this question. While this is 4 today,
it could change in future versions of the class. Finally there needs to be a member function that returns the answer number of the correct answer
(a value of 1 through 4).Do not make the data members public. You can have public and private member functions as needed.
Answer:
The answer is "Option A".
Explanation:
In the first 2 signatures in a string, the "ol" with both the "l" throughout the low byte environment is included, and so the initial bit layout becomes: Number of Its high 7 bits are moved to the lower 7 having come until the correct circular change of 7 is done:
You give the crown to who tho?
Answer:
We will make the other two server in the domain member .
Explanation:
The main objective of DHCP servers to dynamically connects and assigning the client devices with the IP addresses and the gateways with the defaut value.The DHCP server also provides the other service criteria.
In the DHCP server only four server are displayed in the IPAM network of the Inventory window if we displayed the other two server with the IPAM network we will making the other two server in the member of the domain .