To Exam Info

IT231 -- Review Guide for Take-home Midterm

Study

Exam Format

Definitions

Be Able to

  1. Answer short essay questions. Here are some sample questions:
     
    1. Explain how to create a Rails controller with some views.
    2. Explain how to create a Rails application using scaffold software, according to a simple database design.
    3. Explain what DRY means and why it is important for Rails probramming.
    4. Explain what REST means and what it means for Rails programming.

  2. Find mistakes in the source code for a Ruby project.

  3.  
  4. Modify the HTML and CSS files of a Rails project.
     

  5. Write views that are compatible with a layout.
     
  6. Use the Rails helper functions stylesheet_link, image_link, link_to.
     
  7. 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.
     
  8. Predict the output of a Ruby script.
     
  9. Modify a Ruby command line application to accept user input.
     
  10. Modify a Ruby command line application to display output from the controller on a web page using ERB.
     
  11. Write a Rails project that displays an image on a form according to calculations in the controller (like Project 4).
     
  12. Determine the instance variables and methods of a class by looking at a UML Diagram or Ruby source code.
     
  13. Create a UML Diagram based on the source code for a Ruby class.
     
  14. Write Ruby source code statements to test a Ruby class as specified by Ruby source code.
     
  15. Write a command line statement to create a Rails model.
     
  16. Add validations to a Rails model (validates_presence_of, validates_length_of, validates_numericality_of).
     
  17. Manipulate the contents of a Rails database by using ActiveRecord methods loaded from the Rails console (like Project 3, Item 4.