Answer:
int main()
{
double pH;
int neutral;
int base;
int acid;
cout<<"Enter a pH Value";
cin>> pH;
if(pH<7.0){
neutral =0;
base=0;
acid= 1;
}
else if (pH=7.0){
neutral =1;
base=0;
acid= 0;
}
else{
neutral =0;
base=1;
acid= 0;
}
cout <<"The neutral, Base and Acid Values are: "<<neutral<<","<<base<<","<<acid<<" Respectively"<<endl;
return 0;
}
Explanation:
Using multiple if/elseif/else statement the following problem is solved with C++
Answer:
word = input('Enter a single word: ', 's');
n = length(word);
nodupWord = [];
for i = 1:n
dup = false;
c = word(i);
for j = 1:i-1
if word(j) == c
dup = true;
break;
end
end
if ~dup
nodupWord = [nodupWord, c]; %add the non-duplicate char to end
end
end
disp(['Adjusted word: ', nodupWord])
Explanation:
The code is in Python.
Answer:WAN
Explanation:
This means Wide Area Network. It is a combination of about two local area networks designed to serve a large geographical area such as a city.
Answer:
Network Operating System (NOS)
Explanation:
A network operating system (NOS) is an operating system that makes different computer devices connect to a common network in order to communicate and share resources with each other using a server. A network operating system can be used by printers, computers, file sever among others, and they are connected together using a local area network. This local area network which they are connected to works as the server.
The NOS also acts as a network security because it could be used as an access control or even user authentication.
There are two types of NOS
1) Peer to peer network operating system.
2) Client/server network operating system
A network operating system (NOS) is a server-based operating system oriented to computer networking and may include directory services, network management, network monitoring, network policies, user group management, network security, and other network-related functions.
A Cryptographich hash is created by using a secure hash function to generate a hash value for a message and then encrypting the hash code with a private key.