Answer: A) Battery backup
Explanation:
A battery backup are used to provide the source of power backup to various hardware components and desktop computers. In many cases, the devices are plugged into UPS ( uninterruptible power supply) for backup power and it is also depend upon the size of the UPS.
All the battery backups are located inside so that is why, the devices are heavy in weight. Usually, the battery backup front required additional button for performing various functions.
And the battery backup devices are manufacture by using the varying degree of backup abilities.
missing DLL files
installation issues
configuration issues
applications running slowly
kernel panic
power cords not being plugged in
The common problems experienced with software applications will be missing DLL files, installation issues, configuration issues, applications running slowly, and kernel panic. Then the correct options are B, C, D, E, and F.
Today's world depends heavily on technology. Technology now controls not just how businesses run but also how quickly many different sectors across the world are developing. The pace of technical development dictates the rate of development and company growth, leaving human progress and economic expansion at the whim of technology.
Some of the common problems are as follows:
The normal issues experienced with programming applications will be missing DLL documents, establishment issues, arrangement issues, applications running gradually, and part alarms. Then the right choices are B, C, D, E, and F.
More about the common problems with software applications link is given below.
#SPJ12
Answer:
All but the top and bottom on edge 2020
Explanation:
Answer:
See explaination
Explanation:
#include <iostream>
#include <fstream>
#include <string>
#include <vector>
#include <map>
#include <sstream>
using namespace std;
// structure to hold the word, frequency and list of lines in which word appears
struct wordFrequency
{
string word;
int frequency;
vector<int> lineNumber;
};
// main method
int main()
{
// input file name. You can change the input file name if your file name is different
string inputFileName = "data.txt";
// creating a map class object to hold words uniquely
map<string, wordFrequency> map_word;
// ifstream class object to open and read from file
ifstream fin(inputFileName);
// validating if file is opened or not
if (!fin.is_open())
{
cout << "Error in opening file!";
exit(1);
}
// string to hold line from file
string line;
// int variable to keep track of line number
int lineNumber = 0;
// fetching lines from file
while (getline(fin, line))
{
// increasing the lineNumber count because we fetch another line
++lineNumber;
// breaking a line into words using stringstream class object
string word;
stringstream iss(line);
// iterating over all the words in a line
while (iss >> word)
{
// if the word is not in the map then we create and add a new pair
auto it = map_word.find(word);
if (it == map_word.end())
{
// creating a new struct object to store new word
wordFrequency w;
w.word = word;
w.frequency = 1;
w.lineNumber.push_back(lineNumber);
map_word.insert({word, w});
}
else
{
// if the word is already there then incresing frequency and push line number into list
it->second.frequency += 1;
it->second.lineNumber.push_back(lineNumber);
}
}
}
// closing the input file
fin.close();
// creating a new output file
ofstream fout("WordFrequency.txt");
if (fout.is_open())
{
// iterating over a map
for (auto word : map_word)
{
// writing data to a output file
fout << "Word is : " << word.second.word << endl;
fout << "Frequency is : " << word.second.frequency << endl;
fout << "Appears in line : ";
for (auto i : word.second.lineNumber)
{
fout << i << " ";
}
fout << endl
<< endl;
}
// closing output file
fout.close();
}
else
{
cout << "Error! Not able to create output file!";
}
}
Answer:
The program written in C++ is as follows; (See Explanation Section for explanation)
#include <iostream>
using namespace std;
void revstring(string word)
{
string stringreverse = "";
for(int i = word.length() - 1; i>=0; i--)
{
stringreverse+=word[i];
}
cout<<stringreverse;
}
int main()
{
string user_input;
cout << "Enter a string: ";
getline (std::cin, user_input);
getstring(user_input);
return 0;
}
Explanation:
The method starts here
void getstring(string word)
{
This line initializes a string variable to an empty string
string stringreverse = "";
This iteration iterates through the character of the user input from the last to the first
for(int i = word.length() - 1; i>=0; i--) {
stringreverse+=word[i];
}
This line prints the reversed string
cout<<stringreverse;
}
The main method starts here
int main()
{
This line declares a string variable for user input
string user_input;
This line prompts the user for input
cout << "Enter a string: ";
This line gets user input
getline (std::cin, user_input);
This line passes the input string to the method
revstring(user_input);
return 0;
}
int number = input.nextInt(); if (number <= 0) System.out.println(number);
1) The if statement is wrong, because it does not have the else clause;
2) System.out.println(number); must be placed inside braces;
3) If number is zero, number is displayed;
4) If number is positive, number is displayed.
5) number entered from the input cannot be negative.
Answer:
3) If number is zero, number is displayed;
Explanation:
The code snippet created is supposed to take any input number from the user (positive or negative) and print it to the console if it is less than 0. In this code the IF statement does not need an else clause and will work regardless. The System.out.println() statement does not need to be inside braces since it is a simple one line statement. Therefore, the only statement in the question that is actually true would be ...
3) If number is zero, number is displayed;
Answer:
If number is zero, number is displayed
Explanation:
Given
The above code segment
Required
What is true about the code segment
Analyzing the options, we have:
(1) Wrong statement because there is no else clause
The above statement is not a requirement for an if statement to be valid; i.e. an if statement can stand alone in a program
Hence, (1) is false
(2) The print statement must be in { }
There is only one statement (i.e. the print statement) after the if clause. Since the statement is just one, then the print statement does not have to be in {} to be valid.
Hence, (2) is false
(3) number is displayed, if input is 0
In the analysis of the program, we have: number <=0
i.e. the if statement is true for only inputs less than 0 or 0.
Hence, number will be printed and (3) is false
(4) number is displayed for positive inputs
The valid inputs have been explained in (3) above;
Hence, (4) is false.
(5) is also false
Answer:
False
Explanation:
A password in a one factor or multi-factor authentication is a mechanism not of what an entity has but what they know.
One factor authentication makes use of passwords only, to secure a user account. A multi-factor authentication uses two or more mechanisms for securing user accounts. It ask the question of what the users know (for password), what they have (security token, smart cards), and who they are(biometrics).
Answer:
False
Explanation:
The authentication mechanism especially the multi-factor authentication uses three types of authentication form factors.
i. What the entity knows: This includes what the entity knows and can always remember. Such as passwords and PINs
ii. What the entity has: This includes physical items that belong to the entity such as smart cards and token generators.
iii. What the entity really is: This includes natural or body features of the entity such as its thumbprint and its palm which can be used for verification.
According to these three factors, it is evident that password is based on "what an entity knows" and not "what an entity has".