BITL-CS2: Difference between revisions
| Line 40: | Line 40: | ||
| |
| |
||
'''Course Introduction''' |
'''Course Introduction''' |
||
Introduction to the course. [https://www.dropbox.com/s/gix0cxm82b1fgxj/Syllabus_CS2_2020-1.pdf?raw=1 Syllabus]. |
Introduction to the course. [https://www.dropbox.com/s/gix0cxm82b1fgxj/Syllabus_CS2_2020-1.pdf?raw=1 Syllabus]. |
||
| |
| |
||
| Line 50: | Line 52: | ||
'''IDE Setup. Scala Introduction''' |
'''IDE Setup. Scala Introduction''' |
||
* [https://www.dropbox.com/s/mgo4xacl5gfheol/L01_Scala_intro_1.pdf?raw=1 Slides] |
* [https://www.dropbox.com/s/mgo4xacl5gfheol/L01_Scala_intro_1.pdf?raw=1 Slides] |
||
'''Objective''': Setup your IDE (IntelliJ) for Scala and Python development on your laptop and write a simple Scala program. |
|||
'''Reading/Reference''': |
|||
* [https://docs.scala-lang.org/tour/basics.html Scala Basics] - Except for classes, cases classes, and traits, for now. |
|||
* [http://www.tutorialspoint.com/scala/scala_if_else.htm Scala Conditionals] |
|||
* [https://www.tutorialspoint.com/scala/scala_data_types.htm Scala: Basic Types] - We'll primarily use Int, Double, Char, String, Boolean, and Unit |
|||
| |
| |
||
| Line 78: | Line 88: | ||
'''Unit Testing''' |
'''Unit Testing''' |
||
* [https://www.dropbox.com/s/7zeact2v8k9a1y7/L03_Unit_testing.pdf?raw=1 Slides] |
* [https://www.dropbox.com/s/7zeact2v8k9a1y7/L03_Unit_testing.pdf?raw=1 Slides] |
||
'''Objective''': Test your own code without needing AutoLab |
|||
'''Reading/Reference''': |
|||
* [https://maven.apache.org/ Maven Homepage] - For reference only |
|||
* [https://www.dropbox.com/s/8z0k2pjjq8nij9c/pom.xml?dl=1 Example pom.xml] - You can copy this into your projects and expand it when needed |
|||
* [http://www.scalatest.org/ Scalatest Homepage] - For reference only |
|||
* [http://www.scalatest.org/getting_started_with_fun_suite Scalatest FunSuite Example] - A practical unit testing example"" |
|||
| |
| |
||
* [https://docs.google.com/document/d/1SSlynEeirnk10dXY4-cGDysqfS673y8qNHBe8e2KpZE/edit?usp=sharing '''Lab Activity 1'''] |
* [https://docs.google.com/document/d/1SSlynEeirnk10dXY4-cGDysqfS673y8qNHBe8e2KpZE/edit?usp=sharing '''Lab Activity 1'''] |
||
| Line 86: | Line 105: | ||
| |
| |
||
'''Practice Unit Testing''' |
'''Practice Unit Testing''' |
||
| |
| |
||
| Line 94: | Line 115: | ||
'''Classes and Objects''' |
'''Classes and Objects''' |
||
* [https://www.dropbox.com/s/wzljvj7tisf97gu/L04_Classes.pdf?raw=1 Slides] |
* [https://www.dropbox.com/s/wzljvj7tisf97gu/L04_Classes.pdf?raw=1 Slides] |
||
'''Objective''': Define and use classes |
|||
'''Reading/Reference''': |
|||
* [https://en.wikipedia.org/wiki/Class_(computer_programming) Wikipedia: Class] - Overview and reference (More detail than we'll cover in lecture) |
|||
* [https://docs.scala-lang.org/tour/classes.html Scala: Class] - Application of Classes using Scala syntax |
|||
* [https://www.w3schools.com/python/python_classes.asp Python: Class] - Application of Classes using Python syntax |
|||
* [https://www.scala-lang.org/api/2.12.9/ Scala API] - Reference for all Scala packages/classes/objects"" |
|||
| |
| |
||
| Line 102: | Line 132: | ||
'''Model of Execution 1''' |
'''Model of Execution 1''' |
||
* [https://www.dropbox.com/s/4ktq1dldxyt1j7v/L05_Execution_1.pdf?raw=1 Slides] |
* [https://www.dropbox.com/s/4ktq1dldxyt1j7v/L05_Execution_1.pdf?raw=1 Slides] |
||
'''Objective''': Describe how the program stack and heap store values in your program |
|||
'''Reading/Reference''': |
|||
* [https://medium.com/@nickteixeira/stack-vs-heap-whats-the-difference-and-why-should-i-care-5abc78da1a88 Program Stack and Heap] |
|||
* [https://www.jetbrains.com/help/idea/run-debug-and-test-scala.html#debug_scala_code Debugging in IntelliJ]"" |
|||
| |
| |
||
* [https://docs.google.com/document/d/1ZV0MK5Gud959EAQVAUNWxAy7X09fQso0LA0o8oCAtnw/edit?usp=sharing '''Lab Activity 2'''] |
* [https://docs.google.com/document/d/1ZV0MK5Gud959EAQVAUNWxAy7X09fQso0LA0o8oCAtnw/edit?usp=sharing '''Lab Activity 2'''] |
||
| Line 111: | Line 148: | ||
'''Model of Execution 2''' |
'''Model of Execution 2''' |
||
* [https://www.dropbox.com/s/hgiwb9r170usv34/L06_Execution_2.pdf?raw=1 Slides] |
* [https://www.dropbox.com/s/hgiwb9r170usv34/L06_Execution_2.pdf?raw=1 Slides] |
||
'''Objective''': Use a debugger to see the state of your program during execution |
|||
'''Reading/Reference''': |
|||
* [https://medium.com/basecs/a-deeper-inspection-into-compilation-and-interpretation-d98952ebc842 Compilers vs. Interpreters] - Scala/Java/C++ are compiled while Python/JavaScript are interpreted. What does this mean? |
|||
* [https://www.jetbrains.com/help/idea/run-debug-and-test-scala.html#debug_scala_code Debugging in IntelliJ]"" |
|||
| |
| |
||
| Line 118: | Line 162: | ||
| |
| |
||
'''Physics Engine Quiz''' |
'''Physics Engine Quiz''' |
||
| |
| |
||
* '''HW1: Physics Engine''' |
* '''HW1: Physics Engine''' |
||
| Line 127: | Line 173: | ||
'''Inheritance''' |
'''Inheritance''' |
||
* [https://www.dropbox.com/s/tc0hdxyhn2e78ej/L07_Inheritance.pdf?raw=1 Slides] |
* [https://www.dropbox.com/s/tc0hdxyhn2e78ej/L07_Inheritance.pdf?raw=1 Slides] |
||
'''Objective''': You will be able to write abstract classes and concreted classes that inherent an abstract class |
|||
'''Reading/Reference''': |
|||
* [https://www.geeksforgeeks.org/inheritance-in-scala/ Inheritance in Scala] |
|||
* [https://www.digitalocean.com/community/tutorials/understanding-class-inheritance-in-python-3 Inheritance in Python]"" |
|||
| |
| |
||
* '''Lab Activity 3''' |
* '''Lab Activity 3''' |
||
| Line 135: | Line 188: | ||
| |
| |
||
'''Level 1 Quiz''' |
'''Level 1 Quiz''' |
||
| |
| |
||
* '''Level 1 Quiz''' |
* '''Level 1 Quiz''' |
||
| Line 144: | Line 199: | ||
'''Polymorphism and JSON''' |
'''Polymorphism and JSON''' |
||
* [https://www.dropbox.com/s/zimg0h83faqu6uy/L08_Polymorphism.pdf?raw=1 Slides] |
* [https://www.dropbox.com/s/zimg0h83faqu6uy/L08_Polymorphism.pdf?raw=1 Slides] |
||
'''Objective''': You will study polymorphism and apply it to use JSON in a strongly typed language |
|||
'''Reading/Reference''': |
|||
* [https://beginnersbook.com/2013/03/oops-in-java-encapsulation-inheritance-polymorphism-abstraction/ OOP Overview] |
|||
* [https://overiq.com/python-101/inheritance-and-polymorphism-in-python/ Polymorphism in Python] |
|||
* [https://dev.to/jmcclell/inheritance-vs-generics-vs-typeclasses-in-scala-20op Polymorphism in Scala] - Just the Subtype Polymorphism (Inheritance) section |
|||
* [https://www.playframework.com/documentation/2.7.x/ScalaJson Play JSON library documentation] |
|||
* [https://mvnrepository.com/artifact/com.typesafe.play/play-json_2.12/2.7.1 Play JSON Maven artifact] |
|||
* [https://github.com/scalaj/scalaj-http scalaj-http library4]"" |
|||
| |
| |
||
| Line 151: | Line 217: | ||
| |
| |
||
'''Design Pattern: State Pattern 1''' |
'''Design Pattern: State Pattern 1''' |
||
'''Objective''': You will gain experience with the state design pattern to dynamically change the behavior of an object |
|||
'''Reading/Reference''': |
|||
* [https://en.wikipedia.org/wiki/State_pattern State Pattern on Wikipedia] |
|||
| |
| |
||
* '''Project Demo 1''' |
* '''Project Demo 1''' |
||
| Line 159: | Line 231: | ||
| |
| |
||
'''Design Pattern: State Pattern 2''' |
'''Design Pattern: State Pattern 2''' |
||
| |
| |
||
| Line 166: | Line 240: | ||
| |
| |
||
'''Design Pattern: State Pattern 3''' |
'''Design Pattern: State Pattern 3''' |
||
'''Objective''': Gain more familiarity with the state design pattern |
|||
| |
| |
||
| Line 173: | Line 250: | ||
| |
| |
||
'''GUI''' |
'''GUI''' |
||
'''Objective''': Build desktop GUIs |
|||
'''Reading/Reference''': |
|||
* [http://www.scalafx.org/ ScalaFX Homepage] - Adapter for JavaFX in Scala |
|||
* [https://openjfx.io/index.html JavaFX Homepage] |
|||
* [http://sjgpsoft.blogspot.com/2016/02/scalafx-button-positioning-with-hbox.html#more ScalaFX Button Example] |
|||
* [https://www.tutorialspoint.com/javafx/javafx_2d_shapes.htm JavaFX 2D Shapes] |
|||
* [https://www.youtube.com/watch?v=63Utq7Ht-w0&index=1&list=PLLMXbkbDbVt__x5VUQHbI8g25Phxi2yBy ScalaFX Videos] - Playlist by Mark Lewis |
|||
* [https://www.tutorialspoint.com/javafx/javafx_3d_shapes.htm JavaFX 3D Shapes] - Optional, but helpful if you're making a 3D app for your project |
|||
| |
| |
||
* '''Lab Activity 4''' |
* '''Lab Activity 4''' |
||
| Line 181: | Line 269: | ||
| |
| |
||
'''Design Architecture: MVC''' |
'''Design Architecture: MVC''' |
||
'''Objective''': Become familiar with the MVC architecture pattern and its benefits |
|||
'''Reading/Reference''': |
|||
* [https://en.wikipedia.org/wiki/Model%E2%80%93view%E2%80%93controller MVC on Wikipedia] |
|||
* [https://www.codecademy.com/articles/mvc MVC Analogies] |
|||
| |
| |
||
| Line 188: | Line 283: | ||
| |
| |
||
'''Calculator Quiz''' |
'''Calculator Quiz''' |
||
| |
| |
||
* '''HW2: Calculator''' |
* '''HW2: Calculator''' |
||
| Line 196: | Line 293: | ||
| |
| |
||
'''Actors Introduction''' |
'''Actors Introduction''' |
||
'''Objective''': Write programs with multiple pieces of code executing at the same time |
|||
'''Reading/Reference''': |
|||
* [https://mvnrepository.com/artifact/com.typesafe.akka/akka-actor_2.12/2.5.22 Akka Library] |
|||
* [https://doc.akka.io/docs/akka/2.5.22/actors.html?language=scala Akka Actors] |
|||
* [https://docs.scala-lang.org/tour/case-classes.html Case Classes] |
|||
* [https://en.wikipedia.org/wiki/Actor_model Actors Model (Wikipedia)] |
|||
| |
| |
||
* '''Lab Activity 5''' |
* '''Lab Activity 5''' |
||
| Line 204: | Line 310: | ||
| |
| |
||
'''Level 2 Quiz''' |
'''Level 2 Quiz''' |
||
| |
| |
||
* '''Level 2 Quiz''' |
* '''Level 2 Quiz''' |
||
| Line 212: | Line 320: | ||
| |
| |
||
'''Testing Actors and Database Connections''' |
'''Testing Actors and Database Connections''' |
||
'''Objective''': Write unit tests for actors and connect to a MySQL server |
|||
'''Reading/Reference''': |
|||
* [https://doc.akka.io/docs/akka/current/testing.html?language=scala Testing Actors] |
|||
* [https://dev.mysql.com/downloads/mysql/ MySQL download page] |
|||
* [https://alvinalexander.com/scala/scala-jdbc-connection-mysql-sql-select-example Connecting to MySQL] |
|||
* [https://www.w3schools.com/sql/default.asp SQL Tutorial] - |
|||
** [https://www.w3schools.com/sql/sql_create_table.asp Create Table] |
|||
** [https://www.w3schools.com/sql/sql_insert.asp Insert Into] |
|||
** [https://www.w3schools.com/sql/sql_select.asp Select] |
|||
** [https://www.w3schools.com/sql/sql_where.asp Where] |
|||
** [https://www.w3schools.com/sql/sql_update.asp Update] |
|||
| |
| |
||
| Line 219: | Line 341: | ||
| |
| |
||
'''Web Sockets 1''' |
'''Web Sockets 1''' |
||
'''Objective''': Enable 2-way communication between the browser and web server |
|||
'''Reading/Reference''': |
|||
* [https://github.com/mrniko/netty-socketio Scala socket.io Server] |
|||
* [https://en.wikipedia.org/wiki/WebSocket Web Sockets (Wikipedia)] |
|||
| |
| |
||
* '''Project Demo 2''' |
* '''Project Demo 2''' |
||
| Line 227: | Line 356: | ||
| |
| |
||
'''Web Sockets 2''' |
'''Web Sockets 2''' |
||
'''Objective''': Connect a Scala front end to a web socket server |
|||
'''Reading/Reference''': |
|||
* [https://github.com/socketio/socket.io-client-java Socket IO Library - Scala] |
|||
* [https://socket.io/docs/client-api/ socket.io Client Docs] |
|||
| |
| |
||
| Line 234: | Line 370: | ||
| |
| |
||
'''Actors Application with Web Sockets''' |
'''Actors Application with Web Sockets''' |
||
| |
| |
||
| Line 241: | Line 379: | ||
| |
| |
||
'''MMO Architecture 1''' |
'''MMO Architecture 1''' |
||
'''Objective''': See an example using the MMO architecture form this class |
|||
| |
| |
||
* '''Lab Activity 6''' |
* '''Lab Activity 6''' |
||
| Line 249: | Line 390: | ||
| |
| |
||
'''MMO Architecture 2''' |
'''MMO Architecture 2''' |
||
'''Objective''': Explore the MMO architecture applied to the course project |
|||
| |
| |
||
| Line 256: | Line 400: | ||
| |
| |
||
'''Clicker Quiz''' |
'''Clicker Quiz''' |
||
| |
| |
||
* '''HW3: Clicker''' |
* '''HW3: Clicker''' |
||
| Line 264: | Line 410: | ||
| |
| |
||
'''Custom Sorting with First-Order Functions''' |
'''Custom Sorting with First-Order Functions''' |
||
'''Objective''': Explore custom sorting in scala and gain experience with function and type parameters |
|||
'''Reading/Reference''': |
|||
* [https://alvinalexander.com/scala/how-sort-scala-sequences-seq-list-array-buffer-vector-ordering-ordered Custom Sorting - Scala] |
|||
* [https://en.wikipedia.org/wiki/Selection_sort Selection Sort on Wikipedia] |
|||
* [https://docs.scala-lang.org/tour/polymorphic-methods.html Type Parameters - Scala] |
|||
| |
| |
||
* '''Lab Activity 7''' |
* '''Lab Activity 7''' |
||
| Line 272: | Line 426: | ||
| |
| |
||
'''Level 3 Quiz''' |
'''Level 3 Quiz''' |
||
| |
| |
||
* '''Level 3 Quiz''' |
* '''Level 3 Quiz''' |
||
| Line 280: | Line 436: | ||
| |
| |
||
'''Merge Sort and Recursion''' |
'''Merge Sort and Recursion''' |
||
'''Objective''': Gain an understanding of recursion combined with first-order functions and type parameters |
|||
'''Reading/Reference''': |
|||
* [https://www.tutorialspoint.com/data_structures_algorithms/merge_sort_algorithm.htm Merge Sort Algorithm] |
|||
* [https://javascript.info/recursion Recursion - Also discussed Linked-List, which is the next lecture] |
|||
* [https://www.scala-exercises.org/scala_tutorial/tail_recursion Tail Recursion] |
|||
* [https://docs.scala-lang.org/tour/higher-order-functions.html Higher-Order Functions - Scala] |
|||
| |
| |
||
| Line 287: | Line 452: | ||
| |
| |
||
'''Linked List''' |
'''Linked List''' |
||
'''Objective''': Understand the structure of a linked list |
|||
'''Reading/Reference''': |
|||
* [https://www.tutorialspoint.com/data_structures_algorithms/linked_list_algorithms.htm Linked List] |
|||
* [https://www.interviewbit.com/tutorial/arrays-vs-linked-lists/ Array v. Linked List] |
|||
| |
| |
||
* '''Lab Activity 8''' |
* '''Lab Activity 8''' |
||
| Line 295: | Line 467: | ||
| |
| |
||
'''Linked List Algorithms''' |
'''Linked List Algorithms''' |
||
'''Objective''': Explore how various operations are performed on a linked list |
|||
'''Reading/Reference''': |
|||
* [https://www.tutorialspoint.com/data_structures_algorithms/linked_list_algorithms.htm Algorithm Examples] |
|||
* [https://www.codementor.io/codementorteam/a-comprehensive-guide-to-implementation-of-singly-linked-list-using-c_plus_plus-ondlm5azr Linked List and Operations] - Code is in C++ |
|||
| |
| |
||
| Line 302: | Line 481: | ||
| |
| |
||
'''Stack and Queue''' |
'''Stack and Queue''' |
||
'''Objective''': Use a linked list to implement the functionality of a stack and queue |
|||
'''Reading/Reference''': |
|||
* [https://www.tutorialspoint.com/data_structures_algorithms/stack_algorithm.htm Stack] |
|||
* [https://www.tutorialspoint.com/data_structures_algorithms/dsa_queue.htm Queue] |
|||
| |
| |
||
| Line 309: | Line 495: | ||
| |
| |
||
'''Binary Tree and Traversals''' |
'''Binary Tree and Traversals''' |
||
'''Objective''': Gain familiarity with the structure of binary trees and how to traverse existing trees |
|||
'''Reading/Reference''': |
|||
* [https://www.tutorialspoint.com/data_structures_algorithms/tree_data_structure.htm Trees] |
|||
* [https://en.wikipedia.org/wiki/Tree_traversal Tree Traversals (Wikipedia)] |
|||
* [https://en.wikipedia.org/wiki/Binary_expression_tree Expression Trees (Wikipedia)] |
|||
* [https://www.101computing.net/binary-expression-trees/ Expression Tree Examples] |
|||
* [https://www.hackerrank.com/contests/data-structure-tasks-binary-tree-union-find/challenges/binary-expression-tree Hacker Rank Question] |
|||
| |
| |
||
* '''Lab Activity 9''' |
* '''Lab Activity 9''' |
||
| Line 317: | Line 513: | ||
| |
| |
||
'''Binary Search Tree''' |
'''Binary Search Tree''' |
||
'''Objective''': Explore an application of binary trees by using them for searching and sorting |
|||
'''Reading/Reference''': |
|||
* [https://www.tutorialspoint.com/data_structures_algorithms/binary_search_tree.htm BST] |
|||
| |
| |
||
| Line 324: | Line 526: | ||
| |
| |
||
'''Genetic Algorithm Quiz''' |
'''Genetic Algorithm Quiz''' |
||
| |
| |
||
* '''HW4: Genetic Algorithm''' |
* '''HW4: Genetic Algorithm''' |
||
| Line 332: | Line 536: | ||
| |
| |
||
'''Graph Representations and Breath-First Search''' |
'''Graph Representations and Breath-First Search''' |
||
'''Objective''': Learn how to represent a graph in code and work with that representation |
|||
'''Reading/Reference''': |
|||
* [https://www.tutorialspoint.com/data_structures_algorithms/graph_data_structure.htm Graph Overview] |
|||
* [https://en.wikipedia.org/wiki/Adjacency_list Adjacency List] |
|||
* [https://www.tutorialspoint.com/data_structures_algorithms/breadth_first_traversal.htm BFS Overview] |
|||
| |
| |
||
* '''Project Demo 3''' |
* '''Project Demo 3''' |
||
| Line 340: | Line 552: | ||
| |
| |
||
'''Level 4 Quiz''' |
'''Level 4 Quiz''' |
||
| |
| |
||
* '''Level 4 Quiz''' |
* '''Level 4 Quiz''' |
||
| Line 348: | Line 562: | ||
| |
| |
||
'''Pathfinding with Breath-First Search''' |
'''Pathfinding with Breath-First Search''' |
||
'''Objective''': Find the shortest path between two nodes using BFS |
|||
| |
| |
||
| Line 355: | Line 572: | ||
| |
| |
||
'''Review and Examples''' |
'''Review and Examples''' |
||
| |
| |
||
* '''Project Demo 3 (alt)''' |
* '''Project Demo 3 (alt)''' |
||
| Line 363: | Line 582: | ||
| |
| |
||
'''MMO Quiz''' |
'''MMO Quiz''' |
||
| |
| |
||
* '''HW5: MMO''' |
* '''HW5: MMO''' |
||
| Line 371: | Line 592: | ||
| |
| |
||
'''Holiday''' |
'''Holiday''' |
||
| |
| |
||
| Line 378: | Line 601: | ||
| |
| |
||
'''Holiday''' |
'''Holiday''' |
||
| |
| |
||
| Line 385: | Line 610: | ||
| |
| |
||
'''Consultation week''' |
'''Consultation week''' |
||
| |
| |
||
| Line 392: | Line 619: | ||
| |
| |
||
'''Consultation week''' |
'''Consultation week''' |
||
| |
| |
||
* '''HWb: Bonus Homework''' |
* '''HWb: Bonus Homework''' |
||
| Line 400: | Line 629: | ||
| |
| |
||
'''(Exam week)''' |
'''(Exam week)''' |
||
| |
| |
||
| Line 407: | Line 638: | ||
| |
| |
||
'''Exam week - Final Exam''' |
'''Exam week - Final Exam''' |
||
| |
| |
||
* '''Final Exam''' |
* '''Final Exam''' |
||
| Line 415: | Line 648: | ||
| |
| |
||
'''(Exam week)''' |
'''(Exam week)''' |
||
| |
| |
||
Revision as of 19:10, 21 January 2020
Introduction to Computer Science II
Shortcuts: Calendar | Assignments | Resources | Today (if there is a class)
Introduction
What is Computer Science?
- From Wikipedia:
- Computer Science is the study of processes that interact with data and that can be represented as data in the form of programs. It enables the use of algorithms to manipulate, store, and communicate digital information.
- A video version from Udacity
Administrative information
Course Syllabus tba
Communication:
- via slack: workspace name: bitl-cs2-2019
- via email: use instructor's email address for personal communication
- office hours: by appt.
Calendar
| Date | Topic | Assignments, tests, deliverables |
|---|---|---|
06.01.20 |
Course Introduction
|
|
08.01.20 |
IDE Setup. Scala Introduction Objective: Setup your IDE (IntelliJ) for Scala and Python development on your laptop and write a simple Scala program. Reading/Reference:
|
|
10.01.20 |
Scala Types and Reading Files Objective: Write a program that can read the lines of a file in a strongly typed language (Scala) and store values in a data structure Reading/Reference:
|
|
13.01.20 |
Unit Testing Objective: Test your own code without needing AutoLab Reading/Reference:
|
|
15.01.20 |
Practice Unit Testing
|
|
17.01.20 |
Classes and Objects Objective: Define and use classes Reading/Reference:
|
|
20.01.20 |
Model of Execution 1 Objective: Describe how the program stack and heap store values in your program Reading/Reference: |
|
22.01.20 |
Model of Execution 2 Objective: Use a debugger to see the state of your program during execution Reading/Reference:
|
|
24.01.20 |
Physics Engine Quiz
|
|
27.01.20 |
Inheritance Objective: You will be able to write abstract classes and concreted classes that inherent an abstract class Reading/Reference: |
|
29.01.20 |
Level 1 Quiz
|
|
31.01.20 |
Polymorphism and JSON Objective: You will study polymorphism and apply it to use JSON in a strongly typed language Reading/Reference:
|
|
03.02.20 |
Design Pattern: State Pattern 1 Objective: You will gain experience with the state design pattern to dynamically change the behavior of an object Reading/Reference: |
|
05.02.20 |
Design Pattern: State Pattern 2
|
|
07.02.20 |
Design Pattern: State Pattern 3 Objective: Gain more familiarity with the state design pattern |
|
10.02.20 |
GUI Objective: Build desktop GUIs Reading/Reference:
|
|
12.02.20 |
Design Architecture: MVC Objective: Become familiar with the MVC architecture pattern and its benefits Reading/Reference: |
|
14.02.20 |
Calculator Quiz
|
|
17.02.20 |
Actors Introduction Objective: Write programs with multiple pieces of code executing at the same time Reading/Reference: |
|
19.02.20 |
Level 2 Quiz
|
|
21.02.20 |
Testing Actors and Database Connections Objective: Write unit tests for actors and connect to a MySQL server Reading/Reference: |
|
24.02.20 |
Web Sockets 1 Objective: Enable 2-way communication between the browser and web server Reading/Reference: |
|
26.02.20 |
Web Sockets 2 Objective: Connect a Scala front end to a web socket server Reading/Reference: |
|
28.02.20 |
Actors Application with Web Sockets
|
|
02.03.20 |
MMO Architecture 1 Objective: See an example using the MMO architecture form this class |
|
04.03.20 |
MMO Architecture 2 Objective: Explore the MMO architecture applied to the course project |
|
06.03.20 |
Clicker Quiz
|
|
09.03.20 |
Custom Sorting with First-Order Functions Objective: Explore custom sorting in scala and gain experience with function and type parameters Reading/Reference: |
|
11.03.20 |
Level 3 Quiz
|
|
13.03.20 |
Merge Sort and Recursion Objective: Gain an understanding of recursion combined with first-order functions and type parameters Reading/Reference: |
|
16.03.20 |
Linked List Objective: Understand the structure of a linked list Reading/Reference: |
|
18.03.20 |
Linked List Algorithms Objective: Explore how various operations are performed on a linked list Reading/Reference:
|
|
20.03.20 |
Stack and Queue Objective: Use a linked list to implement the functionality of a stack and queue Reading/Reference: |
|
23.03.20 |
Binary Tree and Traversals Objective: Gain familiarity with the structure of binary trees and how to traverse existing trees Reading/Reference: |
|
25.03.20 |
Binary Search Tree Objective: Explore an application of binary trees by using them for searching and sorting Reading/Reference: |
|
27.03.20 |
Genetic Algorithm Quiz
|
|
30.03.20 |
Graph Representations and Breath-First Search Objective: Learn how to represent a graph in code and work with that representation Reading/Reference: |
|
01.04.20 |
Level 4 Quiz
|
|
03.04.20 |
Pathfinding with Breath-First Search Objective: Find the shortest path between two nodes using BFS |
|
06.04.20 |
Review and Examples
|
|
08.04.20 |
MMO Quiz
|
|
10.04.20 |
Holiday
|
|
13.04.20 |
Holiday
|
|
15.04.20 |
Consultation week
|
|
17.04.20 |
Consultation week
|
|
20.04.20 |
(Exam week)
|
|
22.04.20 |
Exam week - Final Exam
|
|
24.04.20 |
(Exam week)
|
|
Assignments
TBD
Resources
GitHub
Scala
- Scala Basics - (Except for classes, cases classes, and traits which will be covered later in the semester)
- Scala Conditionals
- Scala: Basic Types - We'll primarily use Int, Double, Char, String, Boolean, and Unit