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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started