<span>When you sit for a typing test, what is the first thought that crosses your mind?
posture</span>
Answer:
#include <iostream>
using namespace std;
void swap(int *a,int *b)
{
int temp;
temp=*a;
*a=*b;
*b=temp;
}
bool consecutive(int k1,int k2,int k3)
{
int arr[]={k1,k2,k3}; //storing these variables into an array
int i,j;
for(i=0;i<3;i++)
{
for(j=i;j<3;j++)
{
if(arr[i]>arr[j])
{
swap(arr[i],arr[j]); //swapping to sort these numbers
}
}
}
if((arr[1]==arr[0]+1)&&(arr[2]==arr[0]+2)) //checks if consecutive
return true;
else
return false;
}
int main()
{
int result=consecutive(6,4,5); //storing in a result variable
if(result==0)
cout<<"false";
else
cout<<"true";
return 0;
}
OUTPUT :
true
Explanation:
In the above code, it stores three elements into an array and then sorts the array in which it calls a method swap() which is also defined and interchanges values of 2 variables. Then after sorting these numbers in ascending order , it checks if numbers are consecutive or not, if it is true, it returns true otherwise it return false.
Answer:
Explanation:
ICT simply refers to Information technology and it is the digital technologies used in various sectors to help economic agents make use of information.
The importance of ICT include:
1. Communication: ICT is vital for communicating in organizations as information are spread faster and employees have quicker access to information.
2. Marketing and Sales: ICT is vital for the marketing of products as products can be advertised on social medias etc.
3. Efficiency and effectiveness: There's efficiency and effectiveness on the part of the organization as the needs of the customers are attended to quickly.
4. Improvement in management decision: ICT is also vital in the enhancement of management decisions.
5. It is also vital is the storage of vital data's in the organization.
Answer:
a.) This could be a phishing attempt. If the situation is as described in the email, this is also serious, but the method suggested is the same methods used by social hackers. Look up your IT Departments; phone number and call them about the email.
Explanation:
This makes sense because many people do these types of scams to trick people into logging into their accounts and actually hack them from there, I actually got an email like this last week to my iCloud address. Make sure that the email actually came from the IT department by checking the domain the email comes from, and call the IT department to make sure.
Hope this helps!
I don't see why this is on a computer section but either way I would chose D because naturally when you park on a hill you would be cautious about your car going into motion down the hill so therefore you would think of which way gravity would pull your vehicle