Skip to content

GLUG-REVA/SDP-Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SDP-Project

This will be the stage-two evaluation of the SDP on Open Source Tools. This document contains the details to complete your stage-two project successfully. This project prerequisites you to form groups, i.e. you will be working in groups. The project is designed in such a manner that, you will revise all the content that you've learnt during the 3 sessions and much more if you are willing to.

Make sure to read the entire README.md before you proceed.

Table of Contents

The Basics

The project shall focus on key areas of the SDP sessions namely:

  • Python
  • HTML
  • Git

We recommend that you go through the "Before the project" section below to get up and running.

General rules

This section has a set of rules that you need to follow:

  • You need to form a team of 3-5 members
  • The repository contails 5 sets of questions. You need to solve any 3 of your choice
  • Each and every person in the group must have their own repository i.e, you can divide the questions amongst your team members but, make sure all of you have your own repositories with all the solutions in it
  • The answer to one question must be one commit, i.e. if there are three questions, your repository must have three commits
  • On the day of presentation you will be asked to explain what you have done. So, you might as well know what you are doing so that you won't have a problem later.
  • You can submit partial answers, although you will be scored accordingly

Before the Project

We would just like to point out a few points before you start your project.

Setting-up Git on your system

We recommend that you work on Linux operating system, if for some unfortunate reasons this is not feasible, you can complete your project using Git for Windows.

For setting-up Git on Linux or macOS we recommend going through tutorials for respective operating systems.

Look here for instructions.

Note: Please, read the instructions carefully before you execute them.

Some useful links and pointers

We have listed some websites that you can visit if you get stuck anywhere:

  • Git documentation
  • HTML reference
  • For python, you could just simply google your need and Google will point you in the right direction. Python tutorials Point, Stackoverflow are some of the most trusted and used websites. If you are feeling adventurous you can seive through the python3 documentation😝😎
  • Please make sure that you google for python 3 instead fo python 2 as there are significant syntax changes and the scripts might not always be cross-compatible

The Projectwork

The project work has three parts to it. We will see them one by one now.

Part 1

This part deals with Python programming language. So, what you need to do is pretty simple.

You will be given a program in C programming language, you will need to port that code into a valid Python 3 code.

For, example conside the following C code:

#include <stdio.h>
#include <string.h>

int main()
{
   char source[1000], destination[1000];

   printf("Input a string\n");
   gets(source);

   strcpy(destination, source);

   printf("Source string:      \"%s\"\n", source);
   printf("Destination string: \"%s\"\n", destination);

   return 0;
}

If you haven't already guessed it, well, I am just copying a string from one location to another.

Now the valid Python 3 code for the above C code would be:

import copy
a = input()
print("Source string: " + a)
b = copy.deepcopy()
print("Destination string: " + b)

Hint: You can run the C code on your computer to figure out what it is doing to easily convert it to its corresponding Python script. Remember, you need not convert line by line. We expect an algorithm port from C to Python. If you do not prefer the former approach, you can do it in your own way. 😎

Part 2

The HTML part would be pretty straight foreword. This deals with presenting your answer. You need a render that looks something like this...

HTML render

Now this requires you to just Google for one tag in HTML that we haven't covered. We will be kind enough to provide you with a place where you can look for it.

Click here and you shall be directed to w3c website where you can find what you are looking for and much more.

Part 3

The last and the simple part is to push your code to git. A caveat here is that you will need to push your HTML file that looks like something that we showed you above, to your git repository.


And that's it. You are done with your project.

Submission

Alright, congratulations on completing the Projectwork. This section will highlight as to how the the projet work should be submitted and how it shall be evaluated.

How do I submit?

Well, you don't really need to submit us anything. Since you have pushed all the project work to your git repository online, you can access it so long as you don't forget your credentials.

You will just walk on the day of submission and give us your Git username and we can see all the hard work that you have put in.

How is my project evaluated?

Hush, hush, this part is a secret.

This is done so as to ensure everyone has the same rate of success.

Some secrets

I would like to share some secrets with you just since, you endured the pain and read all the stuff above and that you care about learning.

  1. On the day of evaluation you will be questioned about your project
  2. You will be asked questions from all the toipcs that we have covered
  3. Yes, you will be giving a viva-voce on the day(well technically anyway...). But, this will be like any other you had
  4. If you feel that your questions were hard, feel proud since, that means that you are doing really well
  5. Your evaluation won't last for more than 10 minutes

By the way...

The evaluation has to postponed to later this month If you have any queries, you can reach us at: k.saisomanath@gmail.com or akash.james2096@gmail.com


Good luck, padawans!