To Lecture Notes

IT 130 -- 1/18/10

 

Review Questions

  1. How should the permissions be set on the students.depaul.edu server for files?
    Ans: Read permission for owner, group and other; Write permission for owner only.
     
  2. How should the permissions be set on the students.depaul.edu server for folders?
    Ans: Read permission for owner, group and other; Write permission for owner only; Execute permission for owner, group and other.
     
  3. What is a directory?
    Ans: It is the word in DOS and Unix for folder. It means exactly the same thing as folder.
     
  4. Write HTML code to display the image creepy-dog.jpg.
    Ans: <img src=creepy-dog.jpg />
     
  5. How do you reduce the size of an image file?
    Ans: Use MS-Paint. Open the image, select Image >> Strech/Skew. Enter equal percentages less than 100 for both the Horizontal and Vertical boxes. You can also crop the image by selecting a rectangle within the image.
     
  6. Write HTML code to display the following table:
     
    1 2 3
    4   5
    6 7 8

     
    Ans:
    <table>
    <tr> <td>1</td> <td>2</td> <td>3</td> </tr>
    <tr> <td>4</td> <td> </td> <td>5</td> </tr>
    <tr> <td>6</td> <td>7</td> <td>8</td> </tr>
    </table>
    

     
  7. Write a hyperlink tag, using an absolute address, that jumps to your Proj1 submission on the students.depaul.edu server.
    Ans:
    <a href=http://students.depaul.edu/proj1-ssmith.htm>
    My Favorites Page</a>
    

     
  8. What are two rules for naming files that you upload to the server?
    Ans: (1) No spaces, (2) no uppercase letters.

 

Absolute Addresses

 

Relative Addresses

 

Determining a Relative Address

 

Work on Project Proj3

  1. Work on the image collage of project 3.
     
  2. See the Tables Example.