To Lecture Notes

IT 231 -- 9/11/12

 

Review Questions

  1. Why should you set the Windows Explorer to show file extensions?
    Ans: So that you see exactly what the filename looks like. If the file extension is hidden, you can't change it and will have to guess what the file extension is, based on the icon associated with the file.
     
  2. What would you write in your XHTML source code file to get the browser to literally display this tag?
  3. Show HTML source code to literally display the answer to Question 1.
  4. How is a non-breaking space different than an ordinary space in HTML?
    Ans: Nonbreaking spaces cannot be eliminated by the browser. Two words joined by a non-breaking space cannot be split across two lines if the width of the browser window is reduced.
     
  5. List four things that are wrong with this XHTML tag:
  6. What is the difference between a property and a value in CSS?
    Ans: Examples of properties are color, background-color, font-family; examples of property values are red, beige, Verdana.
     
  7. What are the delimiters for a comment in these languages?
     
  8. Explain the difference between static and dynamic webpages.
    Ans: a static webpage is not changed after it is displayed; a dynamic webpage can change its content based on user or other input.
     
  9. Explain the difference between server-side and client-side processing.
    Ans: Client-side processing is performed by the browser without any help from the server; server-side processing means that information is sent from the page back the the server and processed there. The results can be sent back to the client and displayed on a new webpage.
     
  10. What are some server-side scripting languages, other than Ruby? Ans: PHP, ASP.Net, Python/Django, Cold Fusion. Less common server-side scripting languages are Lua, Lasso, WebDNA, SMX.
     
  11. What is a CSS class? How do you define and use such a class?
    Ans: A CSS class is a style with a name given by the programmer. Here is an example:

 

The DRY and CoC Principles

 

The HTML5 Header

 

What are Ruby and Rails?

 

What You Need to Create Rails Projects

 

Command Prompt Windows and DOS Commands

 

The Windows Explorer

 

Introduction to Rails

 

Project 1

 

Submitting Projects