We Provide you here CS101 Assignment 1 Solution 2021. View your Latest Assignment Solution and Download your Solution File Easily. Get to View CS101 Assignment 1 Solution Spring 2021.
Check Here Latest Assignment
CS101 Assignment 2 Solution 2022 PDF Download
ENG101 Assignment 2 Solution 2022 PDF - DOWNLOAD
ENG201 Assignment 2 Solution 2022 - DOWNLOAD
CS101 ASSIGNMENT 1 SOLUTION SPRING 2021
SUBMIT ASSIGNMENT FORMAT
Submit your assignment in .doc or Docx format only.
QUESTION NO 1:
Given is a snapshot of memory addresses E2 to F4 and CPU registers 0 to F. All bit patterns in the memory cells are represented in hexadecimal notation.
CS101 Assignment 1 2021 |
Assume that the Program Counter has E2 as its initial value. Using the information provided in the above Figure 1, answer the following questions.
Note: Use the table provided in Appendix C on page 581 of the book.
SOLUTION:
Q.1) Determine the contents of register 1 when the machine halts.
ANSWER:
15
Q.2) Write down the bit pattern (in hexadecimal) at memory address F3 when the halt instruction is executed.
ANSWER:
0705
Q.3) How many times the machine instruction at address EE is executed before the machine halts
ANSWER:
6
Q.4) Determine the contents of register 0 after the instruction at address EC is executed.
ANSWER:
91
Q.5) Determine the contents of register 2 when the instruction at address F0 is executed.
ANSWER:
07
QUESTION NO 2:
a. Perform binary addition on given numbers:
SOLUTION:
Find 20116
The final Answer is 20 116=10100.0001
Find 714
The final Answer is 7 14=111.01
b. Convert the following binary number into ASCII code and then into its equivalent decimal representation.
01001001010000010100110101011100
SOLUTION:
Divide from left in 8 Characters
01001001
01000001
01001101
01011100
=73 =I
=65 =A
=77 =M
=92 =\
So
01001001010000010100110101011100 = IAM/s
PLEASE NOTE:
Don't copy-paste the same answer.
Make sure you can make some changes to your solution file before submitting copy-paste solution will be marked zero.
If you found any mistake then correct yourself and inform me.
Before submitting an assignment check your assignment requirement file.
If you need some help and question about files and solutions.
CS101 Assignment 1 Solution 2021
Download CS101 Assignment 1 Solution 2021
CS101 Assignment 1 Solution Spring 2021
1 Comments
JzaqAllah
ReplyDelete