Answer:
57
Explanation:
Since the 5 and the 7 don't represent integers instead they represent strings so it would come out as 57 hope I helped!
Answer:embedded computers are found in cats, appliances like light switches and voic actived tvs, security cameras, dvd players and elevators
Explanation:
Answer: (C) MAC
Explanation:
MAC is stand for the message authentication code and it is one of the key dependent hash function. Message authentication provide the data integrity and also the origin of data authentication.
- It basically allow the specific recipients known as the holder of the symmetric key.
- The message authentication code uses the CBC (Cipher block chaining) mode for constructing the MAC algorithm and it also uses the block cipher for the conjunction by using the CBC operations.
On the other hand, all the options are incorrect as they are not the key dependent hash function.
Therefore, Option (C) is correct.
Answer:
- common = []
- num1 = 8
- num2 = 24
- for i in range(1, num1 + 1):
- if(num1 % i == 0 and num2 % i == 0):
- common.append(i)
- print(common)
Explanation:
The solution is written in Python 3.
Firstly create a common list to hold a list of the common factor between 8 and 24 (Line 1).
Create two variables num1, and num2 and set 8 and 24 as their values, respectively (Line 3 - 4).
Create a for loop to traverse through the number from 1 to 8 and use modulus operator to check if num1 and num2 are divisible by current i value. If so the remainder of both num1%i and num2%i will be zero and the if block will run to append the current i value to common list (Line 6-8).
After the loop, print the common list and we shall get [1, 2, 4, 8]