GithubHelp home page GithubHelp logo

ikokkari / pythonproblems Goto Github PK

View Code? Open in Web Editor NEW
85.0 3.0 94.0 108.2 MB

The graded lab problems for the author's course CCPS 109 Computer Science I.

License: GNU General Public License v3.0

Python 100.00%
python labs ilkka-kokkarinen acceptance-tester students

pythonproblems's Introduction

109 Python Problems for CCPS 109

Beginner Python coders can watch the video Solving 109 Python Problems for CCPS 109 on YouTube for a demonstration of how to solve these problems and use the automated tester.

This repository contains the problem specifications, the automated tester and the necessary data files for the graded lab problems for the course CCPS 109 Computer Science I, as taught by Ilkka Kokkarinen for the Chang School of Continuing Education, Toronto Metropolitan University, Toronto, Canada. The lecture material and example Python programs of that course are also freely available in the GitHub repository ikokkari/PythonExamples.

The specifications for all these lab problems are collected in the file 109 Python Problems.pdf. Another set of problems is being collected to the ongoing document Additional Python Problems.pdf, currently holding 85 fresh problems in addition to the main problem collection. Both collections use the same automated tester script tester109.py to verify the correctness of student solutions.

These problems are suitable for students who have already completed some introductory collection of finger practice exercises on Python language basics, such as CodingBat Python. The author also has a similar collection of Java problems suitable for a second course on object oriented programming in Java and the first course on data structures and algorithms. Everyone teaching or learning Python is welcome to use, adapt and distribute these problems and the associated acceptance tester for their own purposes as they see fit.

A bounty for each bonus problem is available to the first person to solve that problem. The file bounty.md contains more information.

Obfuscated model solutions are available in the file obfuscated.txt, to give students the idea of the length and general complexity of the instructor's private solutions.

The lab specification document and the automated tester software tester109.py are released under the GNU General Public License v3, with no warranties implied by the author.

Wordlist words_sorted.txt adapted from dwyl/english-words.

The author welcomes feedback by email at [email protected] from computer science instructors who use these problems in their courses. There is room for all races on Earth to live, prosper and get strong at coding by solving the 109 Python Problems.

pythonproblems's People

Contributors

ikokkari avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

pythonproblems's Issues

Issue with All Branches Lead to Rome

In the instructions for this question, a strict ban on entering tabu lattice grid locations exists. The objective it to get to location (0, 0). Therefore, if (0, 0) is included in the tabu location list, entering it should be impossible (return 0).

Instead, because of the order of returns given in the suggested solution, the tester allows the program to move into this space even when it is on the tabu list. At least one test case gave me a "wrong solution" for returning 0 when (0, 0) was on the tabu list.

Note: Please do not fix this before grading my assignment! I'm handing it in now, and it passes the tests at they exist at this point in time.

is it a bug or i'v been careless about question

ARGUMENTS: [1, 2, 3]
EXPECTED: False
RETURNED: True

This is for the problem with function -> is_ascending(items)

The question is Ascending list

Well if its not ascending then what is it ?

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.