1 / 4

What is maximum value you can put in an 8-bit unsigned integer?

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.

aqua
Télécharger la présentation

What is maximum value you can put in an 8-bit unsigned integer?

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. What is maximum value you can put in an 8-bit unsigned integer? • 15 • 255 • 256 • 32767 • 65535

  2. What is the result of “1”+”1”? • 1 • 2 • 11 • “2” • “11” • Something else

  3. 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

  4. What is the maximum value that can be in a 16-bit signed integer? • 255 • 256 • 32767 • 32768 • 65535 • 65536

More Related