Answer:
√ 1. Cellphone
<h3>Product Description:</h3>
A cellphone is any portable telephone that uses cellular network technology to make and receive calls.
The program is an illustration of loops.
Loops are used to perform repetitive and iterative operations.
The program in Python where comments are used to explain each line is as follows:
#This intializes the list
nums = [5,4,4,2,1]
#This gets the length of the list
size = len(nums)
#This iterates through the list
for i in range(size):
#The following if condition determines the repeating number
if nums[abs(nums[i])-1] > 0:
nums[abs(nums[i])-1] = -nums[abs(nums[i])-1]
else:
repeating = abs(nums[i])
#The following if condition determines the missing number
if nums[i]>0:
missing = i + 1
#This calculates and prints the sum of the missing and the repeating numbers
print(repeating+missing)
Read more about similar programs at:
brainly.com/question/13549861
Answer:
use the TO_DATE function to remove the time values from the dates in each column
Explanation:
DATE types are involved in most obfuscations. One database that has been considered vulnerable in this regard is the Oracle database due to the fact that a time component is always included in its DATE type. Usually, the common practice would be to use the TRUNC function for the purpose of removing the time component, when in real sense, this function does not actually remove the time. Hence to avoid search problems when searchinc for rows with a specific date in a column defined with the DATE data type, it is most effective to use the TO_DATE function to remove the time values from the dates in each column.
Answer:
#include <iostream>
using namespace std;
int main()
{
int mt, day, yr, magic;
cout << "Enter a month(numeric form)"<< endl;
cin >> mt;
cout << "please enter a day"<<endl;
cin >> day;
cout << "please enter a year"<< endl;
cin >> yr;
// Input Validation
if (mt<1 || mt>12){
cout<<"Invalid Month";
}
else if (day<1||day>31){
cout<<"Invalid Day";
}
else if (yr>99||yr<0){
cout<<"Invalid Year";
}
else{
// Calculates magic
magic = (mt * day);
if (magic == yr)
{
cout << "it is a magic year"<<endl;;
}
else
cout << "It is not a magic year" << endl;
}
return 0;
}
Explanation:
Using C++ we request the user to enter values for Month, day and year (two digits). We carry out input validation to ensure the user enters a valid month, day and year. Using if/elseif/if statements we ensure the conditions given in the question.
Answer:
Hash condition is the correct answer to the following question.
Explanation:
Hash condition provided more security than the applocker file path rule and it is manually for the files.
- It is more secure than the path rule because each file has its separated hash condition.
- Drawback of hash file is every time whenever when file is updated then we have to update the file hash condition.