Answer:
Object-oriented programming
Explanation:
When used in object-oriented programming , a class is a factory for creating object. An object is a collection of data and behavaiors that represent some entity(real or abstract).
The answer is (C) Rating scale test
These are set of categories designed to get a response from
set information about a qualitative or a quantitative attribute. Common
examples include a 1-10 rating scale or the Likert response scale. One is
required to select a number or an option considered to reflect the perceived
quality of something, say a product.
Answer: See Explanation
Explanation:
The uses of ICT in health department include:
1. ICT helps in the improvement of the safety and the satisfaction of patients as new technologies are being developed to endure that patients are treated faster and their chance of survival increase.
2. ICT helps in looking for prevention measures which will be used to eradicate diseases.
3. ICT helps in the storage of medical data electronically. This will help in the easy retrieval of information.
4. ICT helps in the spread of information and also ensures distant consultation which are essential to achieving health related goals. e.g telemedicine.
5. ICT helps in the easy and fast spread of information and also facilitates cooperation and enhances teamwork among the health workers.
6. ICT brings about efficiency and effectiveness of administrative systems.
answer:
(i) #include <iostream>
using namespace std;
int main() {
int n1,n2,max;
cin>>n1>>n2;
if(n1>n2)//finding maximum between n1 and n2 in the program directly.
max=n1;
else
max=n2;
cout<<max;
return 0;
}
(ii)
#include <iostream>
using namespace std;
int maximum(int n1 ,int n2)
{
if(n1>n2)//finding maximum between n1 and n2 using function.
return n1;
else
return n2;
}
int main() {
int n1,n2,max;
cin>>n1>>n2;
max=maximum(n1,n2);
cout<<max;
return 0;
}
(iii)
#include <iostream>
using namespace std;
inline int maximum(int n1 ,int n2)
{
return (n1>n2)? n1:n2;
}
int main() {
int n1,n2,max;
cin>>n1>>n2;
max=maximum(n1,n2);//Finding maximum using inline function.
cout<<max;
return 0;
}
Output:-
54 78
78
all three codes give the same output.
Explanation:
In part (i) I have done the operation in the main function directly.
In part(ii) I have used function to calculate the maximum.
In part(iii) I have used inline function to calculate maximum.