Skill Building Exercises

 < Day Day Up > 



  1. Variable Naming Conventions: Using the suggested naming conventions for variables derive a variable name for each of the concepts listed below:

    Number of oranges

    Required waivers

    Day of week

    Month

    People in line

    Next person

    Average age

    Student grades

    Final grade

    Key word

  2. Constant Naming Conventions: Using the suggested naming convention for constants derive a constant name for each of the concepts listed below:

    Maximum student count

    Minimum employee pay

    Voltage level

    Required pressure

    Maximum array size

    Minimum course load

    Carriage return

    Line feed

    Minimum lines

    Home directory

  3. Function Naming Conventions: Using the suggested naming convention for functions derive a function name for each of the concepts listed below:

    Sort employees by pay

    List student grades

    Clear screen

    Run monthly report

    Engage clutch

    Check coolant temperature

    Find file

    Display course listings

    Display menu

    Start simulation



 < Day Day Up > 



C++ for Artists. The Art, Philosophy, and Science of Object-Oriented Programming
C++ For Artists: The Art, Philosophy, And Science Of Object-Oriented Programming
ISBN: 1932504028
EAN: 2147483647
Year: 2003
Pages: 340
Authors: Rick Miller

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net