To Exam Info

IT231 -- Review Guide for Final

Bring to Final

Study

Exam Format

Definitions

Be Able To

  1. Create a Rails project.
     
  2. Create a Rails controller with some views.
     
  3. Explain the three steps of adding a new view to a controller after the controller has already been created.
     
  4. Modify the HTML and CSS files of a Rails project.
     

  5. Convert a base-10 color code to a hex color code and vice versa.
     
  6. Know the hex color codes for the 17 standard HTML named colors.
     
  7. Write views that are compatible with a layout.
     
  8. Use the Rails helper functions stylesheet_link, image_link, link_to.
     
  9. Create a Rails application using scaffold software, according to a simple database design.
     
  10. Create a model using Rails model creation software, according to a simple database design.
     
  11. Modify a Ruby command line application to display output from the controller on a web page using IRB.
     
  12. Write a Rails project that displays an image on a form according to calculations in the controller (like Project 4).
     
  13. Use these Rails ActiveRecord methods to extract or modify the data in the database.
     

  14. Explain what an array is and how it is used in Rails.
     
  15. Test these methods of the Array class:
     

  16. Know what FormTagHelper or FormHelper controls are most appropriate to use.
     
  17. Use FormTagHelper or FormHelper controls to input data.
     
  18. Convert a page that contains FormTagHelper controls to a page with FormHelper controls that stores input data in a database.
     
  19. Write views that use the ActiveRecord methods to store or access data.
     
  20. Manipulate a database by issuing Ruby statements at the Rails console window.
     
  21. Set up a one-many relationship between two models.
     
  22. Set up validation for controls on a form: validates_presence_of, validates_numeriality_of, validates_uniqueness_of, validates_format_of.
     
  23. Explain what a session variable is.
     
  24. Use a session variable to hold state information.
     
  25. Use Digest::SHA2.hexdigest to encode passwords.
     
  26. Write Rails migrations to add a column or remove a column from a database.
     
  27. Given source code for a Rails project, find the errors.
     
  28. Given scaffold-generated source code for a Rails project with a one-to-many relationship, modify the source code as requested.