Answer:
Docking Station is the correct answer of the following question.
Explanation:
A docking station is a technology system that is able to communicate capacities touchscreens with the other machines with few or no work.
The docking station is a system connecting a machine to many devices.
- The docking station lets you attach to gadgets you have not been able to use in the future.
- Not always connected with machines are docking station items such as sloped-panel displays and interchangeable lens cameras.
Answer:
/*C++ program that prompts user to enter the name of input file(input.txt in this example) and print the sum of the values in the file to console. If file dosnot exist, then close the program */
//header files
#include <fstream>
#include<string>
#include <iostream>
#include <cstdlib> //needed for exit function
using namespace std;
//function prototype
int fileSum(string filename);
int main()
{
string filename;
cout << "Enter the name of the input file: ";
cin >> filename;
cout << "Sum: " << fileSum(filename) << endl;
system("pause");
return 0;
}
/*The function fileSum that takes the string filename and
count the sum of the values and returns the sum of the values*/
int fileSum(string filename)
{
//Create a ifstream object
ifstream fin;
//Open a file
fin.open(filename);
//Initialize sum to zero
int sum=0;
//Check if file exist
if(!fin)
{
cout<<"File does not exist ."<<endl;
system("pause");
exit(1);
}
else
{
int value;
//read file until end of file exist
while(fin>>value)
{
sum+=value;
}
}
return sum;
}//end of the fileSum
Explanation:
This is a C++ program that prompts user to enter the name of input file(input.txt in this example) and print the sum of the values in the file to console. If file dosnot exist, then close the program.
Check attachment for sample output screenshot.
Answer:
The Security Account Manager
Explanation:
The Security Account Manager (SAM), This is a database file found in Windows Operating Systems.... Windows XP, Windows Vista, Windows 7, 8.1 and 10 that stores users' passwords. It can be used to authenticate local and remote users. It is an important and vital component of how Windows stores passwords locally on the computer.
Answer:
The C code for the problem is given below
Explanation:
#include <stdio.h>
int main() {
int highwayNumber;
int primaryNumber;
scanf("%d", &highwayNumber);
if (highwayNumber >= 1 && highwayNumber <= 999) {
if (highwayNumber <= 99) {
if (highwayNumber % 2 == 0) {
printf("I-%d is primary, going east/west.\n", highwayNumber);
} else {
printf("I-%d is primary, going north/south.\n", highwayNumber);
}
} else {
primaryNumber = highwayNumber;
highwayNumber %= 100;
if (highwayNumber % 2 == 0) {
printf("I-%d is auxiliary, serving the I-%d, going east/west.\n", primaryNumber, highwayNumber);
} else {
printf("I-%d is auxiliary, serving the I-%d, going north/south.\n", primaryNumber, highwayNumber);
}
}
} else {
printf("%d is not a valid interstate highway number.\n", highwayNumber);
}
return 0;
}
Answer:
The major characteristics of computers are the following:
Speed : A powerful computer is capable of executing about 3 million calculations per second.
Accuracy : A computer's accuracy is consistently high; if there are errors, they are due to errors in instructions given by the programmer.
Reliability : The output generated by the computer is very reliable as long as the data is reliable.
Memory/Storage Capacity : The computer can store large volumes of data and makes the retrieval of data an easy task.
Versatility: The computer can accomplish many different things. It can accept information through various input-output devices, perform arithmetic and logic operations, generate a variety of outputs in a variety of forms, etc.
Automation: Once the instructions are fed into computer it works automatically without any human intervention.
Diligence: A computer will never fail to perform its task due to distraction or laziness.
Convenience: Computers are usually easy to access, and allow people to find information easily that without a computer would be very difficult.
Flexibility: Computers can be used for entertainment, for business, by people who hold different ideals or who have varied goals. Almost anyone can use a computer, and computers can be used to assist with almost any goal.
<em>I hope it helps you!!!!</em>