CS101 Final Review - PowerPoint PPT Presentation

1 / 16
About This Presentation
Title:

CS101 Final Review

Description:

CS101 Final Review. Dengping Zhu. Boston University. Unix Commands ... a href='http://www.cnn.com' click here to enter CNN /a Relative link. Absolute link ... – PowerPoint PPT presentation

Number of Views:96
Avg rating:3.0/5.0
Slides: 17
Provided by: dengpi
Category:
Tags: cnn | com | cs101 | final | href | review | www

less

Transcript and Presenter's Notes

Title: CS101 Final Review


1
CS101 Final Review
  • Dengping Zhu
  • Boston University

2
Unix Commands
  • Common Unix Commands
  • ls ls -l
  • cd
  • mv
  • cp
  • mkdir
  • Pwd present working directory
  • Cat display the content of a file

3
Change mode
  • Mode is the file permission.
  • r w - r- - r - -
  • read is 4
  • write is 2
  • execute is 1
  • the example has permission 644
  • Change mode
  • chmod 755 filename or
  • chmod 755 directory

4
Create a file
  • Use pico
  • Eg pico test.txt
  • Ctrl O to save
  • Ctrl x to exit

5
Other unix issues
  • Relative path
  • Related to relative link
  • Absolute path
  • Related to absolute link

6
HTML
  • Basic Syntax.
  • lthtmlgt
  • ltheadgt
  • lttitlegtCS101 Final Reviewlt/titlegt
  • lt/headgt
  • ltbodygt
  • Final Review ltbrgt
  • lt/bodygt
  • lt/htmlgt

7
HTML
  • Display an image
  • ltimg src gt
  • Add a hyperlink
  • lta hrefhttp//www.cnn.comgtclick here to enter
    CNNlt/agt
  • Relative link
  • Absolute link

8
Dreamweaver
  • Frameset Frames
  • Tables
  • Insert images
  • mailto
  • Open a link a specific frame

9
Excel
  • Basic functions
  • Sum
  • Average
  • Small
  • Large
  • Median
  • How to use formula? (refer to HW2)

10
PHP
  • What is PHP?
  • What is the difference between PHP and HTML?
  • How does it work?

11
PHP
  • PHP embedded functions
  • date, time, print
  • User-defined functions
  • lt?
  • function printBold(inputText)
  • print("ltBgt" . inputText . "lt/Bgt")
  • print("This Line is not BoldltBRgt\n")
  • printBold("This line is Bold")
  • print("ltBRgt\n")
  • print("This Line is not BoldltBRgt\n")
  • ?gt

12
PHP
  • Generated HTML Code
  • This Line is not BoldltBRgt
  • ltBgtThis line is Boldlt/Bgt
  • ltBRgt
  • This Line is not BoldltBRgt

13
PHP
  • Variables
  • How to pass the value from HTML code to PHP code?
  • In HTML use a form and insert some form objects
    such as textbox
  • In PHP use _REQUESTname to retrieve the
    value
  • Link HTML with PHP
  • Refer to HW3

14
PHP
  • If (x ! 1 (x ! 2 x gt 3)) part 1
    else part 2
  • If ( ) elsif ( ) else
  • Advanced topics
  • Local variable and global variable
  • Recursive functions
  • While loop
  • While (condition) body
  • Print ()

15
Other topics
  • Photoshop
  • Paintshop Pro
  • Animationshop

16
The End
  • Computer part final exam is NEXT WEEK.
  • Good Luck!
Write a Comment
User Comments (0)
About PowerShow.com