Question: Binary, Decimal, Hexadecimal. a single byte can be represented by numbers with various bases. Q1: fill in the missing entries in the following table, each

Binary, Decimal, Hexadecimal. a single byte can be represented by numbers with various bases. Q1: fill in the missing entries in the following table, each row of which denotes a byte with different bases. binary 1101 1001 Decimal Hex 183 CA 0101 1110 9E Endian and Bit. Imagine now you are in Pegasus galaxy, and you board an alien mothership and you are about to hack their computer system. First of all, you need to figure out (a) whether their system is 32-bit or 64-bit, and (2) they use little-endian or big-endian. Their operating system is even alien to you (so you cannot use OS-dependent command such as Iscpu of Linux to get the information). But surprisingly, they use C programming language! Imagine now you steal a chance to run your C program to print out the information. Q2: what your C program would be in order to tell whether the system is 32-bit or 64-bit, little-endian or big-endian? Write the program and submit it with filename of your ID
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
