lecture 38 week13 Python PHP

lecture 38 week13 Python PHP - Python & C Unix C + GNU HTML...

Info iconThis preview shows pages 1–13. Sign up to view the full content.

View Full Document Right Arrow Icon
Unix C + GNU HTML Perl Python COMP 206 - Joseph Vybihal 2007 Software Systems 1 (Overview) (And an introduction to PHP) Comp-206 : Introduction to Software Systems Week 13 Joseph Vybihal Computer Science McGill University
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Unix C + GNU HTML Perl Python COMP 206 - Joseph Vybihal 2007 Software Systems 2 Announcements Extension Ass#5? TA Tutorials – going over previous final exam (posted) Final Exam Date December 10, 9AM Final exam office hours Every day from 13:00-14:00 ENGMC 323 Open door policy
Background image of page 2
Unix C + GNU HTML Perl Python COMP 206 - Joseph Vybihal 2007 Software Systems 3 Final Exam Review
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Unix C + GNU HTML Perl Python COMP 206 - Joseph Vybihal 2007 Software Systems 4 Topics on Exam C Programming and the pre-processor The internet and networks HTML with CSS Programming CGI Programming PYTHON Programming GNU Tools RCS Make GCC
Background image of page 4
Unix C + GNU HTML Perl Python COMP 206 - Joseph Vybihal 2007 Software Systems 5 Concepts on Exam File structures ASCII Files Strings The pre-processor Linked-lists GET and POST How to manage the development of an application program (RCS, make)? Python data types & CGI processing
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Unix C + GNU HTML Perl Python COMP 206 - Joseph Vybihal 2007 Software Systems 6 Questions on Exam 4 Questions Each 25% of grade 1 GNU 1 C 1 HTML/CSS/CGI 1 Python No calculators, no notes permitted No Bash, no Unix
Background image of page 6
Unix C + GNU HTML Perl Python COMP 206 - Joseph Vybihal 2007 Software Systems 7 How to Study Study: Assignments, problems from textbook Language syntax Practice GNU Tools on Unix/Linux
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Unix C + GNU HTML Perl Python COMP 206 - Joseph Vybihal 2007 Software Systems 8 Questions?
Background image of page 8
Unix C + GNU HTML Perl Python COMP 206 - Joseph Vybihal 2007 Software Systems 9 Problems C: Stack linked-list C: Delete all occurrences of WORD in file C: Module with private array of grades Add w/ password, view, average Array of students, linked-list of students C: An array of bank accounts (checking and savings), with functions like deposit, withdraw and new. Login page to Python script that generates a special menu with hidden session number. This new page calls another Python script that verifies sessions number when submitted.
Background image of page 9

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Unix C + GNU HTML Perl Python COMP 206 - Joseph Vybihal 2007 Software Systems 10 Problems What does this code do (see next slides)?
Background image of page 10
Unix C + GNU HTML Perl Python COMP 206 - Joseph Vybihal 2007 Software Systems 11 #!/usr/local/bin/python import string, sys if len(sys.argv)==1: print 'Usage: celsius temp1 temp2 . ..' sys.exit(0) for i in sys.argv[1:]: try: fahrenheit=float(string.atoi(i)) except string.atoi_error: print repr(i), "not a numeric value" else: celsius=(fahrenheit-32)*5.0/9.0 print '%i\260F = %i\260C' % (int(fahrenheit), int(celsius+.5)) PYTHON
Background image of page 11

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Unix C + GNU HTML Perl Python COMP 206 - Joseph Vybihal 2007 Software Systems
Background image of page 12
Image of page 13
This is the end of the preview. Sign up to access the rest of the document.

This document was uploaded on 01/30/2011.

Page1 / 90

lecture 38 week13 Python PHP - Python & C Unix C + GNU HTML...

This preview shows document pages 1 - 13. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online