Explain why each of the following names does or does not...

This preview shows page 1 - 3 out of 31 pages.

Programming Logic and Design, 9e Solutions 2-1 Programming Logic and Design, 9th Edition Chapter 2 Review Questions THE REVIEW QUESTIONS HAVE BEEN OMITTED FROM THE AVAILABLE RESOURCES FOR STUDENTS BECAUSE SOME OF THE QUESTIONS MAY BE USED ON THE QUIZ. Programming Exercises 1. Explain why each of the following names does or does not seem like a good variable name to you.
Programming Logic and Design, 9e Solutions 2-2 2. If productCost and productPrice are numeric variables, and productName is a string variable, which of the following statements are valid assignments? If a statement is not valid, explain why not.
3. Assume that speed = 10 and miles = 5 . What is the value of each of the following expressions? Answer :
4. Draw a typical hierarchy chart for a program that produces a monthly bill for a cell phone customer. Try to think of at least 10 separate modules that might be included.

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture