The Web Technologies Series Assignments

Class Participation (20%)

The focus of this course is collaboration and discussion. Students should arrive at class prepared to share their views on the week's assignments and readings by posting to the class listserv. Professional conduct is required of each student. This includes but is not limited to: attendance, polite discussions, listserve participation, weblog (blog) commentary , finding and tagging Web resouces , sharing ideas and Web resources and group participation in class work.

Students will use RSS readers, blogging software and a tagging system to discover and share information about class topics. Students should spend a great deal of time each week using the Web to find and read about class topics and sharing this information with others. This effort will require a shift in some students work habits or research philosophies, but is a significant element of this course.

Students will continually contribute to the class weblog throughout the semester.

Contributing includes (but is not limited to):

  • Discussing class issues
  • Following up on class discussion topics
  • Linking to other Web resources and providing contextual commentary
  • Commenting on Web resources provided by others
  • Reviewing relevant Semantic Web tools, social computing systems, Web 2.0 applications and Application Programming Interfaces

Overview notes of the weekly Primary Readings are also requited and must be turned in at the end of class. These notes should serve as discussion notes for class as well as an overview and commentary of the weekly readings.

Students are also required to use a Web tagging application such as delicious.com to organize their own Web browsing and retrieval as well as to share found resources with others in class. Tagged resources can be used to build a Web-based bibliography ("tagograhy"?) for use as a Web development reference

Technology Topic Presentation (20%) [Top]

Students should be prepared to review and lead a discussion of their assigned topic with these resources:

  • Displayable presentation (e.g. a Powerpoint presentation) that may include a review of the relevant assigned readings for the discussion topic, if applicable
  • Questions about the topic to provoke class discussion
  • Graphics or links to applicable Web resources
  • Demonstrations of relevant technologies and applications (if additional setup or hardware/software is required - notify 24 hours prior to class time)

Class presentations will be evaluated based on a number of different criteria. The grading criteria for your class presentations is outlined in the Presentation Evaluation form.

Stephanie Metadata ppt 10/7/2008
Hamid Ontology Creation Tools pdf 10/14/2008
Ame Maps/Mashups/GIS   11/18/2008
Iantha Greasemonkey ppt 11/4/2008
Sarah   11/11/2008
Brittany Anne AJAX   11/25/2008

Vertical Research Overview (20%)

The Vertical Presentation topic reviews a industry vertical and how Semantic Web Technologies affect that market or industry. Each presentation should be 20 minutes plus an additional 10 minutes for questions and discussion.

Research Paper or Development Project (40%) [Top]

Research Paper

The Research Paper is a scholarly work, approximately 10 pages in length, that should be suitable for an academic publication. Students will target an academic conference or publication venue and prepare the paper for submission by the end of the semester. Paper topics might include:

  • The use of tagging systems to aid information retrieval
  • Automatic classification of Web resources using an ontology
  • The impact of Web 2.0 applications
  • Microformats vs. structured ontologies
  • Machine Learning and the Semantic Web
  • AJAX(dynamic HTML and XMLHttprequest) strengths and weaknesses.

It is essential that the Research Paper include novel, thoughtful analysis of the and its impacts. Referencing and expanding on ideas from souces from outside the class readings are highly required.

Development Project

A development project is a demonstration -quality application that espouses the Semantic Web, Web Services or Web 2.0 functionalities and philosophies discussed in this course. Suitable projects include:

  • AJAX application development
  • GreaseMonkey scripts
  • Taxonomy generation for a set of resources
  • GUIs for applications using Web vendor APIs (e.g. the Amazon API)
  • Novel, functional visualization interfaces for viewing ontologies, taxonomies or tag clouds

Applications can be gradually built, deployed and tested throughout the semester. Class time will be devoted to using the computers in the classroom to prototype and discuss potential application ideas.

Deadlines for Papers or Projects

  1. Research Paper and Project Discissions - ongoing in class.
  2. Research Paper and Projects due December 2.
  3. A 10-minute presentation overview of your paper or 10-minute walkthrough presentation of the application in class December 2.
  4. Send digital copy of paper or link to project to classs TA by noon CST, December 5 .

Late submissions on any of these deadlines will reduce your overall grade for this assignment.

An assignment operator assigns a value to its left operand based on the value of its right operand.

The source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone https://github.com/mdn/interactive-examples and send us a pull request.

Overview

The basic assignment operator is equal (), which assigns the value of its right operand to its left operand. That is, assigns the value of to . The other assignment operators are usually shorthand for standard operations, as shown in the following definitions and examples.

Assignment

Simple assignment operator which assigns a value to a variable. The assignment operation evaluates to the assigned value. Chaining the assignment operator is possible in order to assign a single value to multiple variables. See the example.

Syntax

Operator: x = y

Examples

// Assuming the following variables // x = 5 // y = 10 // z = 25 x = y // x is 10 x = y = z // x, y and z are all 25

Addition assignment

The addition assignment operator adds the value of the right operand to a variable and assigns the result to the variable. The types of the two operands determine the behavior of the addition assignment operator. Addition or concatenation is possible. See the addition operator for more details.

Syntax

Operator: x += y Meaning: x = x + y

Examples

// Assuming the following variables // foo = 'foo' // bar = 5 // baz = true // Number + Number -> addition bar += 2 // 7 // Boolean + Number -> addition baz += 1 // 2 // Boolean + Boolean -> addition baz += false // 1 // Number + String -> concatenation bar += 'foo' // "5foo" // String + Boolean -> concatenation foo += false // "foofalse" // String + String -> concatenation foo += 'bar' // "foobar"

Subtraction assignment

The subtraction assignment operator subtracts the value of the right operand from a variable and assigns the result to the variable. See the subtraction operator for more details.

Syntax

Operator: x -= y Meaning: x = x - y

Examples

// Assuming the following variable // bar = 5 bar -= 2 // 3 bar -= 'foo' // NaN

Multiplication assignment

The multiplication assignment operator multiplies a variable by the value of the right operand and assigns the result to the variable. See the multiplication operator for more details.

Syntax

Operator: x *= y Meaning: x = x * y

Examples

// Assuming the following variable // bar = 5 bar *= 2 // 10 bar *= 'foo' // NaN

Division assignment

The division assignment operator divides a variable by the value of the right operand and assigns the result to the variable. See the division operator for more details.

Syntax

Operator: x /= y Meaning: x = x / y

Examples

// Assuming the following variable // bar = 5 bar /= 2 // 2.5 bar /= 'foo' // NaN bar /= 0 // Infinity

Remainder assignment

The remainder assignment operator divides a variable by the value of the right operand and assigns the remainder to the variable. See the remainder operator for more details.

Syntax

Operator: x %= y Meaning: x = x % y

Examples

// Assuming the following variable // bar = 5 bar %= 2 // 1 bar %= 'foo' // NaN bar %= 0 // NaN

Exponentiation assignment

This is an experimental technology, part of the ECMAScript 2016 (ES7) proposal.
Because this technology's specification has not stabilized, check the compatibility table for usage in various browsers. Also note that the syntax and behavior of an experimental technology is subject to change in future version of browsers as the spec changes.

The exponentiation assignment operator evaluates to the result of raising first operand to the power second operand. See the exponentiation operator for more details.

Syntax

Operator: x **= y Meaning: x = x ** y

Examples

// Assuming the following variable // bar = 5 bar **= 2 // 25 bar **= 'foo' // NaN

Left shift assignment

The left shift assignment operator moves the specified amount of bits to the left and assigns the result to the variable. See the left shift operator for more details.

Syntax

Operator: x <<= y Meaning: x = x << y

Examples

var bar = 5; // (00000000000000000000000000000101) bar <<= 2; // 20 (00000000000000000000000000010100)

Right shift assignment

The right shift assignment operator moves the specified amount of bits to the right and assigns the result to the variable. See the right shift operator for more details.

Syntax

Operator: x >>= y Meaning: x = x >> y

Examples

var bar = 5; // (00000000000000000000000000000101) bar >>= 2; // 1 (00000000000000000000000000000001) var bar -5; // (-00000000000000000000000000000101) bar >>= 2; // -2 (-00000000000000000000000000000010)

Unsigned right shift assignment

The unsigned right shift assignment operator moves the specified amount of bits to the right and assigns the result to the variable. See the unsigned right shift operator for more details.

Syntax

Operator: x >>>= y Meaning: x = x >>> y

Examples

var bar = 5; // (00000000000000000000000000000101) bar >>>= 2; // 1 (00000000000000000000000000000001) var bar = -5; // (-00000000000000000000000000000101) bar >>>= 2; // 1073741822 (00111111111111111111111111111110)

Bitwise AND assignment

The bitwise AND assignment operator uses the binary representation of both operands, does a bitwise AND operation on them and assigns the result to the variable. See the bitwise AND operator for more details.

Syntax

Operator: x &= y Meaning: x = x & y

Example

var bar = 5; // 5: 00000000000000000000000000000101 // 2: 00000000000000000000000000000010 bar &= 2; // 0

Bitwise XOR assignment

The bitwise XOR assignment operator uses the binary representation of both operands, does a bitwise XOR operation on them and assigns the result to the variable. See the bitwise XOR operator for more details.

Syntax

Operator: x ^= y Meaning: x = x ^ y

Example

var bar = 5; bar ^= 2; // 7 // 5: 00000000000000000000000000000101 // 2: 00000000000000000000000000000010 // ----------------------------------- // 7: 00000000000000000000000000000111

Bitwise OR assignment

The bitwise OR assignment operator uses the binary representation of both operands, does a bitwise OR operation on them and assigns the result to the variable. See the bitwise OR operator for more details.

Syntax

Operator: x |= y Meaning: x = x | y

Example

var bar = 5; bar |= 2; // 7 // 5: 00000000000000000000000000000101 // 2: 00000000000000000000000000000010 // ----------------------------------- // 7: 00000000000000000000000000000111

Examples

Left operand with another assignment operator

In unusual situations, the assignment operator (e.g.) is not identical to the meaning expression (here ). When the left operand of an assignment operator itself contains an assignment operator, the left operand is evaluated only once. For example:

a[i++] += 5 // i is evaluated only once a[i++] = a[i++] + 5 // i is evaluated twice

Specifications

Browser compatibility

The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.

DesktopMobileServer
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidEdge MobileFirefox for AndroidOpera for AndroidiOS SafariSamsung InternetNode.js
Addition assignment ()Full support YesFull support YesFull support YesFull support YesFull support YesFull support YesFull support YesFull support YesFull support YesFull support YesFull support YesFull support Yes ? Full support Yes
Bitwise AND assignment ()Full support YesFull support YesFull support YesFull support YesFull support YesFull support YesFull support YesFull support YesFull support YesFull support YesFull support YesFull support Yes ? Full support Yes
Bitwise OR assignment ()Full support YesFull support YesFull support YesFull support YesFull support YesFull support YesFull support YesFull support YesFull support YesFull support YesFull support YesFull support Yes ? Full support Yes
Bitwise XOR assignment ()Full support YesFull support YesFull support YesFull support YesFull support YesFull support YesFull support YesFull support YesFull support YesFull support YesFull support YesFull support Yes ? Full support Yes
Division assignment ()Full support YesFull support YesFull support YesFull support YesFull support YesFull support YesFull support YesFull support YesFull support YesFull support YesFull support YesFull support Yes ? Full support Yes
Exponentiation assignment ()Full support 52 ? Full support 52No support NoFull support Yes ? Full support 51Full support 52 ? Full support 52Full support Yes ? ? Full support Yes
Left shift assignment ()Full support YesFull support YesFull support YesFull support YesFull support YesFull support YesFull support YesFull support YesFull support YesFull support YesFull support YesFull support Yes ? Full support Yes
Multiplication assignment ()Full support YesFull support YesFull support YesFull support YesFull support YesFull support YesFull support YesFull support YesFull support YesFull support YesFull support YesFull support Yes ? Full support Yes
Remainder assignment ()Full support YesFull support YesFull support YesFull support YesFull support YesFull support YesFull support YesFull support YesFull support YesFull support YesFull support YesFull support Yes ? Full support Yes
Right shift assignment ()Full support YesFull support YesFull support YesFull support YesFull support YesFull support YesFull support YesFull support YesFull support YesFull support YesFull support YesFull support Yes ? Full support Yes
Assignment ()Full support YesFull support YesFull support YesFull support YesFull support YesFull support YesFull support YesFull support YesFull support YesFull support YesFull support YesFull support Yes ? Full support Yes
Subtraction assignment ()Full support YesFull support YesFull support YesFull support YesFull support YesFull support YesFull support YesFull support YesFull support YesFull support YesFull support YesFull support Yes ? Full support Yes
Unsigned right shift assignment ()Full support YesFull support YesFull support YesFull support YesFull support YesFull support YesFull support YesFull support YesFull support YesFull support YesFull support YesFull support Yes ? Full support Yes

Legend

Full support
Full support
No support
No support
Compatibility unknown
Compatibility unknown

See also

Document Tags and Contributors

 Contributors to this page:wbamberg, stephaniehobson, fscholz, jameshkramer, nmve, kdex, torazaburo, samuele-artuso, io-ma, Sebastianz, JDurston, phylasnier, Havvy, Delapouite, Meghraj, Sheppy, trevorh, ethertank, Potappo, Mgjbot, Marcoos, Dria

 Last updated by:wbamberg,

0 Replies to “The Web Technologies Series Assignments”

Lascia un Commento

L'indirizzo email non verrà pubblicato. I campi obbligatori sono contrassegnati *