Answer:
Option 4 i.e., RDP, port 3389.
Explanation:
The User has informed the helpdesk with such an issue that involves the specialist to link to the remote server utilizing Remote Assist to access the user's screen with a quite informative and ambiguous error. Every attempt made by the technician to link to the virtual server outcomes in a message saying that the link has been denied.
So the combinations of RDP and port 3389 would be enabled on the remote computer’s firewall to allow this connection.
#include <iostream>
#include <vector>
using namespace std;
class Student
{
public:
Student(int mark)
{
this->mark = mark;
if (mark >= 90 && mark <= 100)
grade = 'A';
else if (mark >= 80 && mark <= 89)
grade = 'B';
else if (mark >= 70 && mark <= 79)
grade = 'C';
else if (mark < 70 && mark >= 0)
grade = 'D';
else
cout << "Invalid mark, grade not assigned";
}
int getMark()
{
return mark;
}
char getGrade()
{
return grade;
}
private:
int mark;
char grade;
};
int main()
{
vector<Student> students;
int num, mark;
cout << "Enter number of students: ";
cin >> num;
if (num <= 0)
cout << "Invalid number of students, exiting";
else
{
for (int i = 1; i <= num; i++)
{
cout << "Enter marks for student " << i << ": ";
cin >> mark;
Student s(mark);
students.push_back(s);
}
}
// do whatever you like with the vector from here onwards, such as:
/*
for (int i = 0; i < students.size(); i++)
{
cout << "Student " << i + 1 << " grade: " << students[i].getGrade() << endl;
}
*/
return 0;
}
Answer: The working of the CPU is defined as a three-step process. First, an instruction is fetched from memory. Second, the instruction is decoded and the processor figures out what it's being told to do. Third, the instruction is executed and an operation is performed.
Explanation: Hope this helps