If your on a website Ctrl+P and than chose your printer and print. or if downloaded it open it and find the print on the top left
Answer:
b) 01564 37928
e) 26 8 75 32 901
Explanation:
Pushes and pulls are the computer operations which enable the user to perform numerical tasks. The input commands are interpreted by the computer software and these tasks are converted into numeric values to generate output.
Answer:
The risk is a buffer overflow.
Explanation:
Whatever the user passes as a command line argument, will be copied into the buffer. If the user passes more than 499 characters, the end of the buffer will be overwritten.
To solve it, compare the string length of argv[1] to 500 before copying, or even better, start using the new strcpy_s( ) function.
Answer:
a) 228
b) 940
c) 255
Explanation:
To convert a hexadecimal number to decimal, multiply each hex digit by 16^(position-1) and add the components.
For example, 0x 34 = 3* 16^(2-1) + 4*16^(1-1) = 48 + 4 = 52
Evaluating the given numbers:
a) 0xE4 =>
E corresponds to 14. So the decimal representation is 14*16 + 4 = 228
b) 0x3AC =>
A corresponds to 10 and C to 12. So the decimal representation is 3*16^2 + 10*16 + 12 = 940
c) 0xFF =>
F corresponds to 15. So the decimal representation is 15*16 + 15 = 255