You have been tasked to design a COVID-19 screening application for your campus. The guards at each gate will screen the students and enter their details on the application. The capabilities and features of the application should include a choice between the following functions: 1. A screening survey which will allow guards to record the students’ screening data. 2. Searching for a student’s details and status. Technical Requirements: 1. The application should make use of Parallel arrays that will hold the details of the student as it is entered along with their status (admitted/not admitted). No more than 300 students will be allowed on a campus at any given day and time. 2. No student should be allowed access to the campus after 12h00 in the afternoons regardless of whether capacity has been reached or not. 3. If a student’s temperature is 38 degrees or more, they will not be allowed entry into the campus.
Implementation the following function using Binary Search trees
I. Create BST.
II. Deletion of BST.
III. Searching maximum and minimum value in BST.
What is heap. Create maximum heap using built in function or using array list. Use any one method for creation max heap.
Unite Family
Given three objects
Sample Input
{'surname' : 'Jones', 'city': 'Los Angeles'}
{'dish': 'puddings'}
{'pet': 'Peter'}
Sample Output
Mr and Mrs Jones went to a picnic in Los Angeles with a boy and a pet Peter. Mrs Jones made a special dish "puddings"
Write an algorithm for finding the average of five numbers
Write a C++ program which perform the following:
1. Create a class
2. Create two objects and assign the values
3. Now compare the object values by using the Operator
Overloading on the following operator: a. Operator Overloading (>)
4. And print if the value of which object is greater.
Identify and correct the errors in each of the following statements.
1) firstnumber =+ total
2) answer = X *(5Y)2;
3) if (x = 1);
cout << "Equal to 1"
else
cout <<"Not Equal to 1;
4)int n=1;
while (n>10);
cout << "HELLO \n"
n++;
c++ programming
Write only the do while loop statements to print the following sequences.
1) 28 21 15 10 6 3 1 0
2) 12 11 9 6 2 -3
1.The number of times a program or item of data has been accessed is called?
2. To place data into a sequential file using BASIC programming language the ---------statement is used?
3.
Ordered Matrix
Given a M x N matrix, write a program to print the matrix after ordering all the elements of the matrix in increasing order.
Input
The first line of input will contain two space-separated integers, denoting the M and N.
The next M following lines will contain N space-separated integers, denoting the elements of each list.
Output
The output should be M lines containing the ordered matrix.
Note: There is a space at the end of each line.
Explanation
For example, if the given M is 3 and N is 3, read the inputs in the next three lines if the numbers given in the next three lines are the following.
1 20 3
30 10 2
5 11 15By ordering all the elements of the matrix in increasing order, the ordered matrix should be
1 2 3
5 10 11
15 20 30Sample Input 1
3 3
1 20 3
30 10 2
5 11 15
Sample Output 1
1 2 3
5 10 11
15 20 30
Sample Input 2
2 5
-50 20 3 25 -20
88 17 38 72 -10
Sample Output 2
-50 -20 -10 3 17
20 25 38 72 88