May 02, 2026  
MCOs for Faculty and Staff 
    
MCOs for Faculty and Staff [ARCHIVED CATALOG]

CS 240 - JavaScript II


Credits: 1-5
This course covers the fundamentals of algorithm data structures within JavaScript (JS) and server-side JS. Students build template-assembled web pages, store and retrieve site information from databases, and build Restful API endpoints. Students perform data handling of forms, usage of middleware, and user-authentication.
Course Outcomes:
  1. Create industry-grade JavaScript code using common design patterns
  2. Use basic data structures such as arrays, lists, stacks, queues, and trees (optional)
  3. Employ common sorting and searching algorithms: graphs, hash tables, heaps, linked lists, queues, sets, stacks
  4. Create server-based web applications with server-side Javascript
  5. Maintain full-stack JS application codebases using a package manager to oversee modules
  6. Create web application servers using JavaScript based routing

Course Topics:
  1. Review of OOP principles
  2. Review of FP principles
  3. Asynchronous design patterns
  4. Commonly use data sorting algorithm
  5. Graphs, hash tables, heaps, linked-lists, queues, sets, stacks
  6. Basic algorithm performance: O(n), O(log n), O(1)
  7. Algorithm modeling in Node.js Ecosystem
  8. Code review of arrays, lists, stacks, and queues
  9. Node.js
  10. Modules
  11. Asynchronous patterns
  12. Events
  13. Simple HTTP server
  14. Express.js
  15. Server-side rendered application with templates
  16. API RESTful endpoints
  17. Server routing
  18. Middleware design patterns
  19. Authentication methods

LEC Credits: 5
LEC hours per week: 5
Prerequisite(s): Grade of C or higher in CS 140 .
Course Attribute(s): None
OEE Permitted: Yes
Grading Basis: Graded
Instructor/Department Consent Required: No Consent
CIP Code: 11.0901
Default Section Size/Cap: 25
Quarter(s) offered:
  • Winter