Spatial representation allows information to be viewed at a glance without needing to address the individual elements of the information separately or analytically.
<h3>What do you mean information?</h3>
- Information is a stimulus with meaning for the receiver in a specific situation.
- Data is a broad term that refers to information that is entered into and stored in a computer.
- Data that has been processed, such as formatting and printing, can be interpreted as information again.
- When you communicate verbally, nonverbally, graphically, or in writing, you are passing on knowledge gained through research, instruction, investigation, or reading the news.
- Information is known by many different names, including intelligence, message, data, signal, and fact.
- Information helps to avoid study duplication. Information stimulates the cognitive processes of users, particularly scholars.
- Scientists, engineers, academics, and others benefit from the use of information.
To learn more about Information, refer to:
brainly.com/question/4231278
#SPJ4
Answer:
2
Explanation:
The second option is the only one that will work. The last would work but doesn't make the code any shorter.
Answer:
#include <iostream>
using namespace std;
int * reverse(int a[],int n)//function to reverse the array.
{
int i;
for(i=0;i<n/2;i++)
{
int temp=a[i];
a[i]=a[n-i-1];
a[n-i-1]=temp;
}
return a;//return pointer to the array.
}
int main() {
int array[50],* arr,N;//declaring three variables.
cin>>N;//taking input of size..
if(N>50||N<0)//if size greater than 50 or less than 0 then terminating the program..
return 0;
for(int i=0;i<N;i++)
{
cin>>array[i];//prompting array elements..
}
arr=reverse(array,N);//function call.
for(int i=0;i<N;i++)
cout<<arr[i]<<endl;//printing reversed array..
cout<<endl;
return 0;
}
Output:-
5
4 5 6 7 8
8
7
6
5
4
Explanation:
I have created a function reverse which reverses the array and returns pointer to an array.I have also considered edge cases where the function terminates if the value of the N(size) is greater than 50 or less than 0.
Answer:
rsort()
Explanation:
the sorting function is used to sort the elements in the array.
the sorting can be increasing or decreasing, depends on the function used.
let discuss the option:
a. sort()
this is the sorting function, it used to sort the array in ascending order.
b. arsort()
this is also sorting function, it used to sort the associated array in descending order according to the value.
d. asort()
this is also sorting function, it used to sort the associated array in ascending order according to the value.
c. rsort()
this is the sorting function, it used to sort the array in descending order.
Therefore, the correct answer is rsort().
A Business letter
6ix9ine