WebFund 2015W: Assignment 5: Difference between revisions

From Soma-notes
Created page with "'''This Assignment is not yet finalized''' This assignment is due March 2, 2015. In this assignment you will create queryNotes.js, a program that will query the notes collec..."
 
No edit summary
Line 1: Line 1:
'''This Assignment is not yet finalized'''
'''This Assignment is not yet finalized'''
In this assignment you will create queryNotes.js, a program that will query the notes collection for matching notes.
Please submit your answers as a single zip file called "<username>-comp2406-assign2.zip" (where username is your MyCarletonOne username).  This zip file should unpack into a directory of the same name (minus the .zip extension of course).  This directory should contain your modified version of <tt>form-demo</tt> (one version with all code changes).
In addition to the points below, you also get up to 2 points for overall programming style.  In total, there are 10 points.  '''The questions below will be automatically graded for everything but style.'''


This assignment is due March 2, 2015.
This assignment is due March 2, 2015.


In this assignment you will create queryNotes.js, a program that will query the notes collection for matching notes.  This program will take several options:
  This program will take several options:
* number of documents to return
* number of documents to return
* file to output documents to (defaults to standard out)
* file to output documents to (defaults to standard out)

Revision as of 23:23, 23 February 2015

This Assignment is not yet finalized

In this assignment you will create queryNotes.js, a program that will query the notes collection for matching notes.

Please submit your answers as a single zip file called "<username>-comp2406-assign2.zip" (where username is your MyCarletonOne username). This zip file should unpack into a directory of the same name (minus the .zip extension of course). This directory should contain your modified version of form-demo (one version with all code changes).

In addition to the points below, you also get up to 2 points for overall programming style. In total, there are 10 points. The questions below will be automatically graded for everything but style.

This assignment is due March 2, 2015.

 This program will take several options:
  • number of documents to return
  • file to output documents to (defaults to standard out)
  • query as a query object
  • query by specific fields (title, author, substring in contents)

More specifics for automated grading will be forthcoming by end of Tuesday.