Answer:
Following is the program in C language :
#include <stdio.h> // header file
#define n 5 // macro
int main() main function
{
int a[n],k1; // variable and array declaration
printf("Enter the element:\n");
for(k1=0;k1<n;++k1) //iterating the loop
{
scanf("%d",&a[k1]);//Read the values by user
}
printf("Output in Reverse Order:\n");
for(k1=n-1;k1>=0;--k1)//iterating the loop
{
printf(" %d ",a[k1]); //Display the values
}
return 0;
}
Output:
Enter the element:
4
3
45
67
89
Output in Reverse Order: 89 67 45 3 4
Explanation:
Following is the description of the program
- Define a macro "n" with value 5 after the header file.
- Declared an array "a" and defined the size of that array by macro i.e "n".
- Read the value by the user by using scanf statement in the array "a"
- Finally In the last for loop display the values of array "a" by space.
Not every animation on the web is Flash but currently the
majority is. There exists simple GIF based animations as well as other
technologies for animation such as Silverlight and HTML5. Most believe HTML5
will eventually replace Flash.
def is_list_even(my_list):
for i in my_list:
if(i%2 != 0):
return False
return True
def is_list_odd(my_list):
for i in my_list:
if(i%2 == 0):
return False
return True
def main():
n = int(input())
lst = []
for i in range(n):
lst.append(int(input()))
if(is_list_even(lst)):
print('all even')
elif(is_list_odd(lst)):
print('all odd')
else:
print('not even or odd')
if __name__ == '__main__':
main()
Answer:
Key escrow.
Explanation:
If a full disk encryption (FDE) password is forgotten, a key escrow can be incorporated to securely store the encryption key to unlock the disk.
A key escrow can be defined as a data security method of storing very essential cryptographic keys.
Simply stated, key escrow involves a user entrusting his or her cryptographic key to a third party for storage.
As a standard, each cryptographic key stored or kept in an escrow system are directly linked to the respective users and are encrypted in order to prevent breach, theft or unauthorized access.
Hence, the cryptographic keys kept in an escrow system are protected and would not be released to anyone other than the original user (owner).
<em>Therefore, when a full disk encryption (FDE) password is forgotten, a key escrow if incorporated can be used to retrieve the password. Subsequently, the password would then be used to unlock or decrypt the disk.</em>