Answer:
a)
#include <iostream>
using namespace std;
int main() {
bool a,b,c;
cin>>a>>b;
if(a^b)//X-OR operator in C++.
c=true;
else
c=false;
cout<<c;
return 0;
}
b)
#include <iostream>
using namespace std;
int main() {
bool a,b,c,d;
cin>>a>>b>>c;
if((a^b)^c)//X-OR operator in C++.
d=true;
else
d=false;
cout<<d;
return 0;
}
Explanation:
The above written programs are in C++.There is an operator (^) called X-OR operator in C++.It returns true if the number of 1's are odd and returns false if the number of 1's are even.
In the if statement I have user X-OR operator(^) to find the result and storing the result in another boolean variable in both the questions.
For a decentralized software application we associate a blockchain server.
<h3>What is a server?</h3>
A server can be defined as a dedicated computer system that is designed and developed to provide specific services to other computer devices or programs, which are commonly referred to as the clients.
<h3>Types of server.</h3>
In Computer technology, there are different types of server and these include the following:
- Web server
- Email server
- File server
- Database server
- Proxy server
- Distributed communication server
- Centralized Server
- Distributed application server
- Blockchain server
Generally, a web software application is associated with a web server, a mobile software application is associated with a mobile server, and a decentralized software application we associate a blockchain server.
Read more on web server here: brainly.com/question/27960093
#SPJ1
Answer:
a) Viruses
Explanation:
Vulnerability assessment is performed by variety of tools and these can be protocol analyzer, vulnerability scanner, Honeypots, port scanners, honey nets and banner grabbing tools.
Port scanners : they are used to scan the ports which can be exploited by attackers. Most of TCP/IP applications communicate using different ports and attackers can exploit these ports if they are found vulnerable. for example : ports like 80 and 443 are commonly used for HTTP and SSL communication. 22 is used for SSH and if they are open to world then it will allow attackers to use those to get the entry into the system.
Protocol Analyzers : They are used to analyze the packet captures. tools like wireshark, tshark, these tools will help user to decode HTTP/SSL/HTTPS/FTP/RSTP or any application protocols communication. this will help user to understand any unwanted or non-anticipated traffic.
Vulnerability Scanners : They are used to detect the vulnerabilities in the network or systems. these will help administrators to get the alerts whenever there are unanticipated activity. It will have two types of scanners one is active scanner and other is passive scanner. Active scanners will keep on sending probes at the fixed time slots and passibe scanners will be in listening mode all the time. These scanners will alert when a new nodes comes up or goes down or if any system gets compromised.
Honeypots and Honey nets : They are devices or softwares which are having limited security. These devices are made vulnerable purposefully so that attackers can try and attack. This will help softwares to detect the attackers when they try to exploit these open vulnerabilities. They are deceptions created with purpose.
Banner grabbing Tools : These are tools which will capture the banner information like HTTP protocol version, underlying operating system, open ssl versions being used, server software and similar information. these are important as it will open up potential vulnerabilities in the underlying software. for ex : SSLv3 has a vulnerability known to world and can be exploited by anyone.
read that hope this helped