Solution file below in this page

Questions No. 01 Marks (12)
Alice and Bob are playing a game by encoding their messages in an 8bit binary. Trudy wants to understand or modify their messages. You have to help Trudy to convert encoded messages into a readable format by performing the following operations.
 Note: Perform all the required steps in detail for each operation.
 Convert the above 8digit binary numbers into decimals. (6 marks)
Solution:
01001000
0×2^{7}+1×2^{6}+0×2^{5}+0×2^{4}+1×2^{3}+0×2^{2}+0×2^{1}+0×2^{0}
0+64+0+0+8+0+0+0
72 ans
01101001
0×2^{7}+1×2^{6}+1×2^{5}+0×2^{4}+1×2^{3}+0×2^{2}+0×2^{1}+1×2^{0}
0+64+32+0+8+0+0+1
105Ans
00101100
0×2^{7}+0×2^{6}+1×2^{5}+0×2^{4}+1×2^{3}+1×2^{2}+0×2^{1}+0×2^{0}
0+0+32+0+8+4+0+0
44ans
Convert the 8digit binary into hexadecimal. (3 marks)
Solution:
01001000
split into 2 groups
0100 1000
4 8
48_{16}
01101001
split into 2 groups
0110 1001
6 9 =69_{16}
_{ }
00101100
split into 2 groups
0010 1100
2 c
2c_{16 ans }
 Decode the 8digit binary in textual form. (Hint: using the ASCII table). (3 marks)
Solution:
01001000 01101001 00101100
Aschii code 72 105 44
H i ,
Answer in texual form is= Hi,
Questions No 02 Marks (04)
The diagram below shows a circuit with four gates and four inputs (A, B, C and D).
If the final output is 0, what are the possible states of inputs A, B, C and D?
A  1 
B  1 
C  1 
D  1 
Questions No. 03 Marks (04)
The following table lists the extensions of some file formats used by the website of “Virtual University of Pakistan”. Match each extension to an example of data that it can store:
Extension  Example  Answer 
.mp3  The logo of the Virtual University of Pakistan  .gif 
.zip  The photo of the Rector on the faculty page.  .jpeg 
.gif  The audio tracks of programming talkthroughs.  .mp3 
.jpeg  A compressed folder of admission documents.  .zip 
cs101 assignment 1 solution,cs101 assignment 1 solution 2022,cs101 assignment 1 solution spring 2022,cs101 assignment 1,cs101 assignment 1 solution 2021,cs101 assignment no 1 solution 2022,cs101 assignment 1 solution spring 2021,cs101 assignment solution 2022,cs101 assignment solution 2021,cs101 assignment solution spring 2022,cs101 assignment 2 solution 2021,assignment solution,assignment solution spring 2022,cs101 assignment 2 solution