IT 117: Intermediate Scripting
Class 18 Ungraded Quiz

  1. Write a constructor method for the class Car that sets the following attributes
    • manufacturer
    • model
    • year
    • color

  2. Write the method get_manufacturer that returns the manufacturer.

  3. Write the method get_model that returns the model.

  4. Write the method get_year that returns the year.

  5. Write the method get_color that returns the color.

  6. Write the method get_model_year that returns the model and the year separated by a space.