Answer:A) Packer sniffer
Explanation: Wireshark is analyzer of packet which are open sourced.It helps in providing the services like troubleshooting, development analysis etc with the help of sniffing activity.The sniffing of the packet that a user owns is the technique for analyzing.
Other options are incorrect because port scanner provides data regarding the technique for network connection,vulnerability scanner scan the vulnerability of the network and content filter is used for filtering the excess web pages.Thus, the correct option is option(A).
Answer:
See Explaination
Explanation:
Code below
#include<fstream>
#include<conio.h>
#include<iostream> //libraries required
using namespace std;
int main(){
ifstream fin("input.txt"); //reading the file from the computer
char character;
int alphabets=0;
int spaces=0,digits=0,pucntuations=0; //initializing the variables
while(fin){ //looping all the characters in the file
fin.get(character); //getting the character one at a time
if(isalpha(character)) // if the character is alphaber we increment the alphabet variable
alphabets++;
else if(character==' ') // if space
spaces++;
else if(isdigit(character)) // if digit
digits++;
else if(ispunct(character)) // if punctuation
pucntuations++;
}
cout<<"Number of Digits:"<<digits<<endl; //priting out the results
cout<<"Number of Spaces:"<<spaces<<endl;
cout<<"Number of Alphabets:"<<alphabets<<endl;
cout<<"Number of Pucntuations : "<<pucntuations<<endl;
return 0;
}
That answer would be internet explorer
Adjust the table size, column width, or row height manually or automatically. You can change the size of multiple columns or rows and modify the space between cells. If you need to add a table to your Word document.
i hope its right!!!!
Answer:
The corrected question is:
Write an SQL statement to display the WarehouseID, the sum of QuantityOnOrder and sum of QuantityOnHand, grouped by WarehouseID and QuantityOnOrder. Name the sum of QuantityOnOrder as TotalItemsOnOrder and the sum of QuantityOnHand as TotalItemsOnHand. Use only the INVENTORY table in your SQL statement.
Answer to this corrected question:
SELECT WarehouseID,
SUM(QuantityOnOrder) AS TotalItemsOnOrder,
SUM(QuantityOnHand) AS TotalItemsOnHand
FROM INVENTORY
GROUP BY WarehouseID, QuantityOnOrder;
According to the given question:
SELECT WarehouseID,
SUM(QuantityOnOrder) + SUM(QuantityOnHand) AS TotalItemsOnHand
FROM INVENTORY
GROUP BY WarehouseID, QuantityOnOrder;
Explanation:
- In the SQL statement SELECT statement is used to select the data from the table. Here the SELECT statement is used to select WarehouseID, Sum of the columns QuantityOnOrder and QuantityOnHand from INVENTORY table.
- The sum of QuantityOnOrder and QuantityOnHand columns are given the name of TotalItemsonHand (In case of the corrected question the sum of column QuantityOnOrder is named as TotalItemsOnOrder and the column QuantityOnHand is named as TotalItemsOnHand
) using Alias AS. Alias is the temporary name given to the columns or table to make them more readable.
- GROUP BY statement is used to arrange or "group" same data and is often use with aggregate functions like SUM function here. So the grouping here is done based on two columns WarehouseID and QuantityOnOrder.
- SUM function in this SQL statement is an aggregate function to calculate the sum of all value in the columns QuantityOnOrder and QuantityOnHand.