Chapter 1 Programming Problems
Use what you've learned about the binary numbering system in this chapter convert the following decimal numbers to binary: 11 65 100 255
1011 1000001 1100100 11111111
Use what you've learned about the binary numbering system in this chapter convert the following binary numbers to decimal: 1101 1000 101011
13 8 43
Look at the ASCII chart in Apprendix C and determine the codes for each letter of your first name.
Soku ---> 83111107117
Suppose your instructor gives three exams during the semester and you want to write a program that calculates your average exam score. Answer the following: a. What items of input must the user enter? b. Once the input has been entered, how will the program determine the average? c. What output will the program display?
A. number of exams, the score for each exam, B. The average will be determined by the number added by all 3 exam scores divided by the number of exams taken. C. "Your average score is ____"