Question
On all problems, please show your work. A 10% bonus on this assugnment will be awarded if it is completed on engineering paper! Suppose that your computer display is set to a resolution of 1024 x 768 pixels and that the color of each pixel is represented by a six-digit hexadecimal number. Your computer has a graphics card with 8Gb (gigabits) of memory. How many screens of information can the graphics card hold? Express your answer in decimal. Write a one-bit gray code, a 2-bit gray code, a 3-bit gray code, and a 5-bit gray code. A friend passes you a coded message in the form of " The letter is plus" Using your knowledge of the ASCII code, what is your one-letter answer? You have run across an old, obscure computer and are trying to back into it but all you can get working is the hex editor as shown below.
Explanation / Answer
S1.
There are 1024 x 768 resolution of the screen and and the color of each pixel is 6 digit hex code.
Each one digit hex code can be represented in 4 bit binary code, 6 x 4 = 24 bits.
Now total requirement to store one screen is = 1024 x 768 x 24 => 18874368 bits => 18432 Bytes => 18 MB
We know , 1 GB = 1024 MB
So total number of screen can be stored on 1 GB = 1024 MB / 18 MB
We have Graphics card of 8 GB so total numbers of screen that can be stored = 8 * (1024 /18) i.e. 455 (approx)