Question: Questions: 1) What decimal value does the 8-bit word 11000011 2 represent, if the word is interpreted as a signed magnitude number? Type a numerical

Questions:

1) What decimal value does the 8-bit word 110000112 represent, if the word is interpreted as a signed magnitude number? Type a numerical answer; e.g., 123.

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

2) Which of the following assignment statements create a Python variable? Click all that apply.

a) my_var = 34

b) my_var = previously_created_var + 5

c) my_var = my_var + 3

d) my_var

--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

3) This statement is typed in the Python shell:

>>> p = 20

Which Python statement will change variable p so that it refers to the integer 10? Select all correct choices.

a) p - 10 = p

b) p -= 10

c) p = 10

d) p = p - 10

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!