Answer:
Enter a number: 7
Enter a number: 10
Traceback (most recent call last):
File "main.py", line 3, in <module>
print (numi + num2)
NameError: name 'numi' is not defined
Explanation:
The typo in the print statement causes a run-time error, where obviously num1+num2 was expected, and an output of 17.
Explanation:
A centralized database (sometimes abbreviated CDB) is a database that is located, stored, and maintained in a single location.
Answer:
The main reason why we use hexadecimal numbers is because it provides a more human-friendly representation and is much easier to express binary number representations in hex than it is in any other base number system. Computers do not actually work in hex. Lets take an example, using a byte.
Hope this answer is right!!
the following C++ function will return true if the given non - negative number is multiple of 5 or 3 else it will return false.
bool function( int x ){
// variable to check if it is multiple of both or not
int number =0;
if(3%x == 0){
number++;
}
if(5%x == 0){
number++;
}
// Now returning by deciding
if( number <=1)
return true;
else
return false
}
Answer:
Linear.
Explanation:
The common name for the growth rate function N is linear.N growth rate is directly proportional to the input.So it grows linearly.It does not grow rapidly like other growth functions like quadratic,exponential and cubical.
Constant growth does not grow over time it stays as it is.
Hence the answer to this question is linear.