Code Monkey home page Code Monkey logo

ce101-c's Introduction

CE101

Fundamentals of programming course resources in AUT CE.

How To Use

The bank folder contains problems categorized by topic. you can find a problem from the bank, then copy the content of ***.md file into Quera. If there is a tc directory, you can use the generator.sh script in scripts/generator.sh to create a ready-to-import zip file.

as an example:

./scripts/generator.sh functions capitallize_strings

Note: It's better to manually check the test case's zip file with inputs from {problem}/tc/in and samples in the probelm description before uploading them.

How to Add Problems

There are five types of questions in the bank.

  1. Non-code
  2. Manual Input & Output
  3. Manual Input + Generated Output
  4. Generated Input + Generated Output
  5. Generated Input + tester.cpp
  • All types of questions must contain a Markdown file with problem description.
  • All Coding problems must contain tc/in and tc/out folders.
  • avoid using - or () in problem names as it BREAKS the generator.sh script.
  • For automatic output generation, you must write a solution in either python/go and save them in the problem's root directory.
    • Solutions must read input from stdin and print output directly to stdout.
    • Example solution in Go and Python
  • For automatic Input generation. You must create a generator.go file in {problem}/tc/generator.go. Each test case is divided by ; character.
  • For tester.cpp documentation refer to Quera.

A sample problem in the pointer category might look like this:

pointer\
    |
    |- new_question\
    |    |
    |    |- new_question.md
    |    |- new_question.go
    |    |- tc\
    |	 |     |- generator.go
    |    |     |- in
    |    |     |- out
    |
    |- other_questions\

Many thanks to those who helped us get here :)

ce101-c's People

Contributors

1995parham avatar alinowrouzii avatar amirhosein avatar amirmohamadbabaee avatar aylarsedaei avatar elahehakbari avatar elhamrazi avatar fatemehvaleh avatar hanizaheri avatar rojinakashefi avatar smf8 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

ce101-c's Issues

pointer

Some pointer questions were missing. Added in branch pointer.

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.