Latest Activity In Study Groups

Join Your Study Groups

VU Past Papers, MCQs and More

We non-commercial site working hard since 2009 to facilitate learning Read More. We can't keep up without your support. Donate.


CS101 Assignment 01 Spring 2021 Solution / Discussion Due Date: 24-05-2021

Views: 1080

Replies to This Discussion

Share the Assignment Questions & Discuss Here.... 

Stay touched with this discussion, Solution idea will be uploaded as soon as possible in replies here before the due date.

CS101 Assignment 01 Spring 2021 Solution 

Click on the below link to download the file

CS101_Assignment-01-Solution-Spring_2021-Complete-Solution.docx

#cs101 #cs101assignment #cs101assignmentsolution
CS101 Assignment 1 Solution Spring 2021 || Introduction to Computing || Complete Solution _ Part - 1

CS101 Assignment 1 Solution Spring 2021 || Introduction to Computing || Complete Solution

#cs101assignment1solution2021 #cs101assignemnt1solutionspring2021
CS101 Assignment 1 Solution Spring 2021 | CS101 Assignment 1 Solution 2021

Great video, completely understood these explanations, God bless you sir.

This is not correct. We need to execute the programs E2, E4, E6 and once the execution have been done, the answers have to be determined. 

CS-101 Assignment Solution required

Attachments:

cs101assignment1solution2021 #cs101assignment1solution2021pdf #cs101assignment12021
cs101 assignment 1 solution 2021 | cs101 assignment 1 2021 | cs101 assignment 1 solution 2021 pdf

Course Code: CS101

 

    Solution

 

 

     Answers of Questions No.1

 

  • Determine the contents of register 1 when the machine halts.

 

ANS = 15

 

  • Write down the bit pattern (in hexadecimal) at memory address F3 when the Halt instruction is executed.

 

ANS=0705

  • How many times the machine instruction at address EE is executed before the machine halts.

ANS = 6

  • Determine the contents of register 0 after the instruction at address EC is executed.

ANS=00

  • Determine the contents of register 2 when the instruction at address F0 is

            ANS=07

 

 

     Question No.2

 

 

  • Perform binary addition on given numbers:

20 161 and 7 14.

 

  • Convert the following binary number into ASCII code and then into its equivalent decimal representation.

 

01001001010000010100110101011100

 

Answer of Question.2

 

Part (a)

 

24

23

22

21

20

Radix

2-1

2-2

2-3

2-4

16

8

4

2

1

 

½

¼

1/8

1/18

1

0

1

0

1

 

1

0

1

0

 

 

      Ans== 10101.1010

 

22

21

20

Radix

2-1

2-2

4

2

1

 

½

¼

1

0

1

 

1

0

 

Ans== 101.10

Binary addition

 10101.1010

      101.10

100101.0010

 

 

Part (b)

 

27

26

25

24

23

22

21

20

Answer

128

64

32

16

8

4

2

1

 

0

1

0

0

1

0

0

1

73

0

1

0

0

0

0

0

1

65

0

1

0

0

1

1

0

1

77

0

1

0

1

1

1

0

0

92

 

73 = I

65 = A

 77 =M

 92 = /

IAM/= 01001001010000010100110101011100  ANS

 

 

CS101 Assignment 01 Spring 2021 Solution 

Click on the below link to download the file

CS101_Assignment-01-Solution-Spring_2021-Complete-Solution.docx

RSS

© 2021   Created by + M.Tariq Malik.   Powered by

Promote Us  |  Report an Issue  |  Privacy Policy  |  Terms of Service