To Exam Info

IT231 -- Review Guide for Midterm

Bring to Midterm

Study

Exam Format

Definitions

Be Able to

  1. Explain how to create a Rails controller with some views.
     
  2. Modify the HTML and CSS files of a Rails project.
     

  3. Write views that are compatible with a layout.
     
  4. Use the Rails helper functions stylesheet_link, image_link, link_to.
     
  5. Explain how to create a Rails application using scaffold software, according to a simple database design.
     
  6. Modify the years displayed in the year of a date entered on the form included in the new or edit view of a scaffold. (Recall that the form is defined in _form.erb.html.
     
  7. Predict the output of a Ruby script.
     
  8. Modify a Ruby command line application to accept user input.
     
  9. Modify a Ruby command line application to display output from the controller on a web page using ERB.
     
  10. Write a Rails project that displays an image on a form according to calculations in the controller (like Project 4).
     
  11. Determine the instance variables and methods of a class by looking at a UML Diagram or Ruby source code.
     
  12. Create a UML Diagram based on the source code for a Ruby class.
     
  13. Write Ruby source code statements to test a Ruby class as specified by Ruby source code.
     
  14. Write a command line statement to create a Rails model.
     
  15. Add validations to a Rails model (validates_presence_of, validates_length_of, validates_numericality_of).
     
  16. Manipulate the contents of a Rails database by using ActiveRecord methods loaded from the Rails console (like Project 3, Item 4.
     
  17. Find mistakes in the source code for a Ruby project.