40 likes | 342 Views
What is maximum value you can put in an 8-bit unsigned integer?. 15 255 256 32767 65535. What is the result of “1”+”1”?. 1 2 11 “2” “11” Something else.
E N D
What is maximum value you can put in an 8-bit unsigned integer? • 15 • 255 • 256 • 32767 • 65535
What is the result of “1”+”1”? • 1 • 2 • 11 • “2” • “11” • Something else
What will the following code produce:Count=0Message=“”while (Count<10): Message=Message+”,”+format(Count) Count+=2print(Message) • 0,2,4,6,8,10 • ,2,4,6,8,10 • 2,4,6,8,10 • 0,2,4,6,8 • 1,2,3,4,5,6,8,9,10 • ,0,2,4,6,8
What is the maximum value that can be in a 16-bit signed integer? • 255 • 256 • 32767 • 32768 • 65535 • 65536