Giter Club home page Giter Club logo

homework's Introduction

CIS 198 Homework - Fall 2016

This repo stores the homework assignments for CIS 198.

We are using Classroom for GitHub. That means each student can create a private GitHub repository to do their work in. Except for hw0 (which has almost no submitable content), these links are public for anyone to use! If you're a Penn student enrolled in the class, this is also how you submit assignments: just push to your repository by the due date.

Pull requests or issues are welcome and highly appreciated!

homework's People

Contributors

cbarcenas avatar terrynsun avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

homework's Issues

hw01: 2nd param of filter function

I have been studying Rust programming lately, and come across this wonderful resource from cis198-2016f. Currently, I am using Rust 1.38. When I try to compile problem1.rs, there is a problem with the second parameter of filter function. Rust has changed a lot since 2016, and I want to bring attention to this issue. What I decided to do was to change the parameter with function pointer fn (I read about this in section 19.4 of the online Rust programming book). Maybe function pointer would be the right replacement.

Homework 2 repo created empty

When I accept the homework 2 assignment, the repository is created empty.

Also the link in You can see the starter code as its own repo, as well. seems to be broken.

Problem 3 function description does not appear to match function signature

In problem 3, the following is stated about the function:

This function will take in a number of discs, and the names of the three pegs, and return a vector of (u8, u8) tuples. Each tuple represents one move between (source, destination).

The function signature provided is:

pub fn hanoi(num_discs: u32) -> Vec<(u8, u8)>

The part of the quoted sentence that says "and the names of the three pegs" does not appear to match this function signature. Perhaps I am misunderstanding what is meant by this?

Is the GitHub classroom intended to be available for people who are not Penn students?

Homework 02 includes an invitation link to join your GitHub Classroom.

In case this is intended to be available for people who are not Penn students, I will gladly join.

In case this is not intended to be available outside of Penn, I suggest removing the link from the public repo and using a non-public channel for distributing the invitation to Penn students. In such case, if possible, you might also want to revoke the invitation and generate a new one.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.