Chapter 1 Programming Problems

Réussis tes devoirs et examens dès maintenant avec Quizwiz!

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 ____"


Ensembles d'études connexes

economic growth review questions

View Set

Exam 2: Chapter 50 and 51: Bone Fractures, etc.

View Set

Bio 100 Exam 1 - mastering biology questions

View Set

DCO/N - Protocols with Packet Analysis

View Set

Essentials of Pediatric Nursing - Chapter 21

View Set

Health Assessment: Assessing Head and Neck

View Set

baseball midterm 2 - identifications

View Set