Final Review December 1 5 2005 Final Format
Final Review December 1, 5, 2005
Final Format • Some multiple choice • Some short answer – Max 1 -2 sentences – Anything written after 2 sentences will not be marked • Some longer answers – Writing html, css, xml, xsl, or python – Finding errors or correcting html, css, xml, xsl, or python
Units Covered • You are responsible for units 1 -11 in your course pack – Must know material even if it was not covered in lecture • You are also responsible for all of the lecture notes – Even if it wasn’t in the course pack – Anything I said in class not written in the presentations as well
Format of the Review • I am only going to hit the major high points • Not really going to cover the material • More like a list of items you should be really aware of • If you have questions, please ask – Please know the date of the lecture the question pertains to so we can pull up those lecture notes
Main Topics- Sept 7 • History of the Internet – ARPANET – TCP/IP • The Basics of the Internet – Internet organization • • PCs, gateways, backbones Servers, routers, PCs How traffic is routed Protocols – MIME types – Parts of a URL
Main Topics- Sept 9 • • WWW Web crawlers and how they word WYSIWYG Markup – Markup languages – Why use markup – Types of markup • HTML
Main Topics – Sept 12 • • • Attributes Entities Comments Relative and absolute URLs Image specification – Size – Alt attribute • Deprecated tags and attributes
Main Topics-Sept 14 • Tables – <tr>, <td>, <th> – Width, align, cell-spacing, cell-padding – Rowspan, colspan • Type of HTML tags – Top level, head, block, inline • Doctypes • Namespace attribute
Main Topics-Sept 16 • Tristimulus Theory • Color Models – RYB, RGB, HSB, CMY(K) • Color Harmony Schemes: – Monochromatic – Complimentary – Analogous – Triadic • Web-safe colors
Main Topics-Sept 19 • • • Visual Organization Proximity Alignment Contrast Consistency
Main Topics- Sept 21 • Content organization • Organizational Systems: – Organizational Schemes • Exact and ambiguous • Topical, task oriented, audience specific, metaphor, hybrid – Organizational Structures • Hierarchy (breadth, depth), hyperlink, database, combinations
Main Topics- Sept 26 • Bits, bytes – Max values – Number ranges • Bases – Converting from one base to another • How we measure storage • Character sets, fonts, glyphs • Word Processors and text editors
Main Topics – Sept 28 • Computer graphics • Bitmap and vector graphics – Paint and drawing programs • File formats – Type, portability, color depth, compression, transparency • Bit depth • Palettes • Dithering
Main Topics- Oct 3 • Why use CSS • Cascading – Order • • • Types: external, inline Where best to define Part of a css rule Grouping Applying external, internal, and inline style
Main Topics-Oct 5 • Classes and ids • Anchors or fragments • When to use classes or ids
Main Topics- Oct 7 • Div and span
Main Topics – Oct 12 • • • Underlying box model of css display property How to use float How to use clear Creating multiple columns and navigation bars
Main Topics – Oct 19 • Type, class, and id selectors
Main Topics- Oct 24 • XML – Difference between xml and html – What it’s for • • Root elements Creating tags XML schemas Why use XML
Main Topics- Oct 31 • Naming conventions for tags • Attributes in xml • Parent, child, and sibling relationships with xml documents • Element content – Element, simple or text, mixed, none
Main Topics- Nov 2 • XSL – XSLT, XPath, XSL-FO • Template matching • Linking XML document to XSL • <xsl: template match = “/”>, <xsl: for-each>, <xsl: sort> (descending as well)
Main Topics- Nov 7 • • <xsl: sort data-type = “number”> Sorting on multiple tags <xsl: if> <xsl: choose>, <xsl: when>, <xsl: otherwise> Adding additional templates Well-formedness Validation of XML documents
Main Topics- Nov 9 • Programming, computer programs, programming languages • Difference between programming language and markup language • High-level and low-level languages • Compilers and interpreters
Main Topics- Nov 14 • Values and types – Strings, integers, floats – Why types are important • Evaluating math expressions • Variables – Assignment statements – Store the value of an expression • raw_input() • Type conversion: int(), float(), string() • Concatenation: – Strings – Concatenating number and string using type conversion
Main Topics- Nov 16 • Conditional statements – If, elif, else • Boolean expressions • Nesting if statements • Libraries, modules – Accessing functions in a module • Use random. randint() to generate a random number
Main Topics-Nov 18 • • Iteration While loops Counters or counter variables Functions – How to define functions – Arguments – Return values • Calling functions – Passing variables into functions – Variables to store return values
Main Topics-Nov 21 • Web scripts or cgi scripts • Dynamic and static web pages and files • Simple HTML file from python script – Content-type: text/html and a blank line – Html • Triple quoted strings – Print statements span more than 1 line – Print statements with html tags that have attributes • <form action = “something. py”> • Adding controls – – Input tag Text, checkbox, submit Name and value attributes Maxlength and size attributes
Main Topics-Nov 23 • CGI • Getting information from form into a variable – Form = cgi. Field. Storage() – Dictionary • Accessing the values in a form • Key errors • Storing values from form in a variable
Main Topics-Nov 28 • Local and global variables • Global keyword • Lists – – – Accessing individual elements Indexes Using lists with a for loop Using list. append(item) Deleting items using del keyword Concatenation and multiplication • range() function – range(10) – range(1, 11) – range(10, 0, -1)
Main Topics- Nov 30 • • • How files transferred from server to browser HTTP request and response PC caching ISP caching Redirects Content negotiation – File type, language, character set • DNS – What it is, some idea of how it works • Domains – First-level and second-level • ICANN – Domain and ip administration
Main Topics- Unit 10 • Security Basics – Careful of user input – Do not execute any user input code • Cookies – What they are used for • Performance – When you should use a web script – Reducing memory – Reducing number of loops
Questions?
- Slides: 32