Giter Club home page Giter Club logo

batch-1-assignments's Introduction

header

Welcome to the ASS-G - Assignment Repository. The assignments will be posted here implement. Successfully completing an assignment implies proper conceptual understanding.

✅ Send a pull request only after completing an assignment.

✅ Please submit PRs (Pull Requests) after completion of every assignment.

Please follow this PR Template while submitting assignments

✅ Please read through the FAQ before proceeding with the assignment.

✅ Please follow proper file structure else the PR would be rejected

✅ Keep fetching the repository from here as we instruct so that you'd receive all assignments in time

What Do I Do?

One assignment for every week. Scroll down to take a look at them. All you need to do is fork this repository, complete the given assignment, send a pull request over to us and repeat the process for every assignment. Check out our FAQ for more information.

Index

Algorithms

Assignment 1 - Using Git

Assignment 2 - Python Basics and Strings

  • Problem 1 (robberThief.py)

    • Given an amount robbed by a thief ,who’s aim was to rob more than 20,000, classify the profit of the thief as following:

      • Loss if he has robbed less than 5000
      • Moderate if it is between 5000 to 19999
      • Good theft if more than 20000
    • Sample Input

    Enter the amount robbed by the thief: 9500
    
    • Sample Output
    Profit is Moderate
    
  • Problem 2 (occurances.py)

    • Print the characters in a string along with the number of occurances of those characters.

    • Sample Input

      Enter the String: aabbccddee
      
    • Sample Output

      Occurances:
      a -> 2
      b -> 2
      c -> 2
      d -> 2
      e -> 2
      
  • Problem 3 (attendanceStudents.py)

    • The details of students and their respective attendance details are given below. Using the concepts of lists and Strings in Python. Print the names of the students who were present

    • The name and their Attendance statuses are separated by "-"

    • P stands for Present while A stands for Absent

      Ram-P
      Malar-A
      Ahuja-P
      Vijay-P
      Harini-A
      
    • Sample Input

      Enter your String:
      Leena-P
      Steve-A
      Dinesh-P
      Pragya-P
      
    • Sample Output

      The present students were:
      Leena Dinesh Pragya
      
  • Resources

FAQ:

When should I submit the pull request?

Just submit it once you're done an assignment.

Fork? Pull request? What is all that? I don't know how to use GitHub!

If you are new to Git or GitHub, check out this small tutorial.

Where are the rest of the assignments?

Our code ninjas are hard at work preparing the rest of the problems. Don't worry, they'll be up soon.

How should I complete these programs?

We have a folder for each assignment. Simply create a folder with your registration_number , complete your code and move the file into that folder. Some examples: If your registration_number is 180501XXX submitting assignment Y then:

  1. Go to the folder assignment Y
  2. Create a folder 180501XXX inside assignment Y
  3. Upload your code in the path assignment Y\\180501XXX

🚫 Please do not modify any existing files in the repository.

I forked the repository but some problems were added only after that. How do I access those problems?

Not to worry! Open your nearest terminal or command prompt and navigate over to your forked repository. Enter these commands:

git remote add upstream https://github.com/ASS-G/Batch-1-Assignments.git
git fetch upstream
git merge upstream/master

If you're curious, the commands simply add a new remote called upstream that is linked to this repository. Then it 'fetches' or retrieves the contents of the repository and attempts to merge it with your progress. Note that if you've already added the upstream repository, you don't need to re-add it in the future while fetching the newer questions.

I received a merge error. What do I do?

This shouldn't happen unless you modify an existing file in the repository. There's a lot of potential troubleshooting that might be needed, but the simplest thing to do is to make a copy of your code outside the repository and then clone it once again. Now repeat the steps from the answer above. Merge it and then add your code. Now proceed as usual. :)

I'm facing difficulties with/need help understanding a particular question.

Contact one of the board members or open up an issue on this repository and we'll do our best to help you out.

wave

batch-1-assignments's People

Contributors

bearlike avatar nandha951 avatar ishu237 avatar jyuvaraj03 avatar swetha7799 avatar abhinesh77 avatar arivanand25 avatar athishreev avatar barath06 avatar daicy31 avatar devprasath2010 avatar dhivyadharshini11 avatar masteresk avatar gopika321 avatar hariharan3151 avatar harikishore4461 avatar harishraj337 avatar harshini-rs avatar indhu31karan avatar kamali1511 avatar kumarantr avatar karthyraj avatar krishnansriram122000 avatar lakshman-17 avatar themadhankumar avatar niranjani1104 avatar nivethaks-18 avatar palaniappansubramanian avatar pallavi7vijay avatar praveentp23 avatar

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.