danzin
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights New
    • Engagement control
    • Make a copy
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Note Insights Versions and GitHub Sync Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Make a copy Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       Owned this note    Owned this note      
    Published Linked with GitHub
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    # CS101 Fall 2024 * [ ] 04 Text Analysis * [ ] fix dummy dummy test case * [ ] 06 Virtual Moped * [ ] turning does not cost gas # CS101 Spring 2024 * 01 Hello World * 02 Basic Programming * 03 Blackjack (Tobias) * Skeleton with seed passed in as arg for random numbers (see 05 Sudoku Validator) * txt output files * more simple tests * instructions say dealer uses `nextBoolean()` * specify behaviour when user/dealer hits exactly 21 * double bust on deal case (tie?) * 04 Text Analysis (Zhouyuan) * more tests * refactor assignment with tests in mind (more small methods, less functionality in main) * the instructions in the pdf, in the source code, and the test behaviour do not always seem to match, e.g. in the {dummy dummy} testcase * Some students got confused by the sample output in the PDF being incorrect even though it uses the same .txt * 05 Sudoku Validator (Savina) * rephrase writing for utility method * 06 Virtual Moped (Milind) * mention boundary in text * add tests for boundary * code mentions gas is used for turning * Autograder messages might be wrong? "Expected a moped facing 'north' going [right, straight, left, straight, left, straight, right, straight, left, straight] from [10, 5] to end up at [200, 3] facing 'west'" * 07 Language (Savina) * move description from GitHub to Overleaf * `OrderedThing` description * `equals(Object obj)` method * 08 Tic Tac Toe (Tobias) * # CS101 Fall 2023 ## Slides 1. Syllabus 2. Basic Computer Concepts 3. Unix 4. Java Paradigm 5. Starter Code 6. Branching 7. Loops 8. Methods 9. Arrays 10. Multidimensional Arrays 11. OOP 1 12. OOP 2 13. Strings 14. Inheritance 15. Interfaces 16. Abstract Classes 17. Exception Handling 18. Recursion ### TODOs - [X] throw out "jokes" and quotes - [X] remove "Thank you. Bye." - [X] remove Javadoc slides (Lecture 13) - [ ] (reduce Apache Commons references) - [X] post mortem --> discussion - [X] split OOP slides in two parts - [ ] add "How to use ChatGPT" slides? - ChatGPT generates text - Based on some input text, it computes the next most reasonable word (based on probability). - It does **not** know anything about the content. - **It does not follow any logic** - Good for drafting. - Bad in facts and logic - it will always give you an answer but it does not know if it's right or wrong. - It can significantly improve productivity when performing simple tasks. - It might even be able to solve all the assignments for you. - **BUT** whenever you work with ChatGPT, you must be able to understand its output. It can do some writing for you but not the thinking! As you are here to learn something, I advise you to not use it for the assignments. - **Don't** use it for learning a new topic. Chances are that you learn something wrong. - **Do** use it for generating exercises or for brainstorming, e.g. when searchin for good variable names. ## Quizzes One quiz for each lecture. - [ ] remove wrong or confusing questions - [ ] add new questions ## Assignments 0. Install Instructions (JDK, VS Code) 1. GitHub practice run (deprecated) 2. Basic programming - some math stuff in a predefined class 3. Blackjack (Decision making exercise) 4. Text Analysis 5. Open Data (deprecated) 6. Virtual Moped 7. Interfaces and Abstract Classes 8. Recursion ### New / Additional Assignments - Hello World - ASCII Art - Coin Flip - Tic Tac Toe - Numbers - Sudoku - [w3resource](https://www.w3resource.com/java-exercises/) New assignments: 1. Hello World (set up coding environment) - [ ] write text - [ ] jdk download - [ ] vscode - [ ] text for hello world (to be copy pasted) - [ ] execution 3. Basic Programming (Java Paradigm & Starter Code / VS Code Project - Debugging) - [ ] write text - [ ] tracing through function with debugger - [ ] do some arithmetic tasks 5. Blackjack (Branching & Loops) - [ ] refine text + reduce skeleton - [ ] define testable interface (specify function/class names) 6. Text Analysis? (Arrays) - [ ] refine text - [ ] specifically deal with ambiguities - [ ] run our solutions for example outputs 8. **Sudoku Validator**? (Multidimensional Arrays) - [ ] write text - [ ] definition of differnt validations - [ ] print out errors - [ ] CSV reader 10. Virtual Moped / **New York Tourist** (OOP) - [ ] update text - [ ] make motions holonomic - [ ] use cardinal directions (but specify when turns happen) - [ ] clarify what classes are required and function names for testing (for all assignments) 12. Language, prev. just Interface (Interface & Inheritance) - [ ] update text - [ ] create specific desired inputs/outputs 14. **Sudoku Solver**? (Recursion) - [ ] update text - [ ] starter code - [ ] CSV reader (use the Sudoku Validator) - [ ] write solution to a file ### Todo - [ ] assignments without sceleton code (later assignments might have a java lib given that can be used) - [ ] VS Code solution assignment approx. at Lecture _Methods_ - [ ] Unix theory assignment / write a bash script?

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully