From 54ce07a908f4ad37bf95a3d10aefecb41821d9e2 Mon Sep 17 00:00:00 2001
From: Nehal Khan <128951002+Nehal-Khan-29@users.noreply.github.com>
Date: Mon, 29 Jul 2024 20:59:39 +0530
Subject: [PATCH] Add files via upload
---
Archives/Task - 1.md | 145 +++++++++++++++++++++++++++++++++++++
Archives/Task - 5.md | 167 +++++++++++++++++++++++++++++++++++++++++++
Archives/Task-4.md | 103 ++++++++++++++++++++++++++
3 files changed, 415 insertions(+)
create mode 100644 Archives/Task - 1.md
create mode 100644 Archives/Task - 5.md
create mode 100644 Archives/Task-4.md
diff --git a/Archives/Task - 1.md b/Archives/Task - 1.md
new file mode 100644
index 0000000..b9da045
--- /dev/null
+++ b/Archives/Task - 1.md
@@ -0,0 +1,145 @@
+---
+title: TASK 1 [GIT & GITHUB]
+tags:
+ - General
+ - Git & GitHub
+author: Open Source Domain
+date: 2022-02-21
+---
+## Creating an GitHub account
+1. Go to [GitHub](https://github.com/join).
+2. Sign up for GitHub.
+
+*Video Reference*: [Setup GitHub Account](https://youtu.be/XaMiHHu_rb4)
+
+
+
+
+
+
+
+## Install Git In Your desktop
+#### Kindly see the video and install git bash in your system and set your username and user-email in the Git Bash.
+*Video Reference*: [Installing Git](https://www.youtube.com/watch?v=YXXp_ht4pwQ&list=PLB5jA40tNf3v1wdyYfxQXgdjPgQvP7Xzg&index=6)
+
+
+
+
+
+
+## Git operations
+#### To use Git, developers use specific commands to copy, create, change, and combine code. These commands can be executed directly from the command line or by using an application like GitHub Desktop or Git Kraken.
+
+
+
+**Basic Operations**
+#### The following is a summary of basic git operations:
+**git add**
+
+Puts current working files into the stage.
+
+
+**git checkout**
+
+Replaces the current working files with files from a branch.
+
+
+**git checkout -b**
+
+Creates a new local branch from the current branch's tip.
+
+
+**git clone**
+
+Clone an existing repository into a new directory.
+
+
+**git commit**
+
+Commits staged changes to a local branch.
+
+
+**git commit -a**
+
+
+ Commits all modified files to a local branch(shorthand for "git add" followed by "git commit" for each modified file).
+
+
+**git fetch**
+
+Downloads changes from a remote repository into the local clone.
+
+
+**git merge**
+
+Merges files from a given branch into the current branch.
+
+
+**git pull**
+
+Fetches remote changes on the current branch into the local clone, and merges them into the current working files.
+
+
+**git push**
+
+Uploads changes from all local branches to the respective remote repositories.
+
+
+**git reset**
+
+Makes the current branch point to some specific revision or branch
+
+
+**git rebase**
+
+Integrates changes from one branch into another. It is an alternative to the better known "merge" command.
+
+
+**git fork**
+
+Fork will create a copy of the repository in your GitHub account so that you can make changes to the project.
+
+
+
+
+*Video Reference*: [Basic Operations](https://www.youtube.com/playlist?list=PLB5jA40tNf3v1wdyYfxQXgdjPgQvP7Xzg)
+
+
+
+
+
+# Task
+Take a screenshot of all the Git operations above that you performed in your system and compile it in a single PDF.
+Then visit our GitHub repository https://github.com/cognizance-amrita/PT-1 and follow the below instructions as part of Sumbission Process. Also fill the forms at the end of the page.
+1. On the top right corner of the repository's page, you'll find a "Fork" button. Click on it.
+2. A popup will appear, asking where you want to fork the repository. By default, your personal GitHub account should be selected. Click on your username to fork the repository to your account.
+3. GitHub will create a copy of the repository in your account.
+4. Once the forking process is complete, you will be redirected to your forked repository's page. The repository name will include your GitHub username to differentiate it from the original repository.
+5. Now, navigate to the repository you created by forking and create a branch and name it "submission".
+6. In the directory create a new directory with your own name.
+8. Inside "Your-Name" directory, upload the pdf file with screenshots.
+10. Commit changes.
+11. Create a new pull request from your "submission" branch to "main" branch of the original repository.
+12. Don't merge the pull request yet!
+
+
+
+
+
+# Other References
+Check out these sources if you want to explore more about Git and GitHub apart from the scope of the Task
+
+1.[Complete Git and GitHub Tutorial](https://www.youtube.com/watch?v=apGV9Kg7ics).
+
+2.[Git and GitHub for Beginners - freeCodeCamp](https://www.youtube.com/watch?v=RGOj5yH7evk)
+
+There are many sources apart from these to learn extensively about Git and GitHub, so you can explore those too.
+
+
+
+# Submission Link
+## Deadline: 16th September 2023 @ 23:59
+[Task 1 Submission](https://forms.gle/hB7iLuFtHo6EgGEb7)
+
+
+
diff --git a/Archives/Task - 5.md b/Archives/Task - 5.md
new file mode 100644
index 0000000..5c1f55c
--- /dev/null
+++ b/Archives/Task - 5.md
@@ -0,0 +1,167 @@
+---
+title: 'TASK 5 [WEBSITE DESIGNING]'
+tags:
+ - Open Source
+ - Web Design
+ - Designing
+author: Author - Umme Rooman & Harine Vidyasekaran
+date: 2023-09-29
+---
+
+# Part - 1 (Web Designing)
+## Adobe XD
+#### Adobe XD Is A Powerful And Easy-To-Use Vector-Based Experience Design Platform, It Helps You Craft Prototypes That Look And Feel Like The Real Thing, So You Can Communicate Your Design Vision
+
+ For More Information Visit [Adobe XD](https://www.adobe.com/in/products/xd/learn/get-started/what-is-adobe-xd-used-for.html)
+
+
+
+
+
+## Figma
+
+#### Figma is a web-based graphics editing and user interface design app. You can use it to do all kinds of graphic design work from wireframing websites, designing mobile app interfaces, prototyping designs, crafting social media posts, and everything in between.
+
+ Visit The Official Site [Figma](https://www.figma.com/)
+
+
+
+
+
+## How To Install These Softwares?
+
+#### 1. Adobe XD
+
+- Download the latest version of Adobe XD from [Adobe Xd](https://www.adobe.com/sg/products/xd/switcher.html)
+- Close The Pop-Up Displayed For Selecting The Regional Site, Without Selecting Any Of Them
+- You'll Now Be Able To See A Download Option In The Navbar, Click It And It'll Redirect You To A Page Where You'll Be Able To Download The File And Install It
+
+
+
+
+
+
+
+ Note: You Should Have An Adobe Account In-order To Access This Free Tool. But, You Shouldn't Login Before Downloading The .exe File, As Shown In The Above Pic
+
+- Once You Have Done Installing, Watch This Video [Adobe XD Basics](https://www.youtube.com/watch?v=JttI6YpmPGI)
+
+
+
+#### 2. Figma
+- There Are 2 Options To Use Figma
+ 1. Download the latest version of Figma from [Figma Downloads](https://www.figma.com/downloads/)
+ 2. Use The Online Version By Creating An Account In [Figma.com](https://www.figma.com/)
+- Once Decided, Installed, You Can Use Figma To Create A New Project, And Start Working On It, Watch This Video For Reference [Figma Basics](https://www.youtube.com/watch?v=jk1T0CdLxwU)
+
+
+
+
+
+# TASK
+
+#### Design A Landing Page On Any Genre Using Either Figma Or Adobe XD.
+**Video Reference**:
+- [Use Figma To Create An Landing Page](https://www.youtube.com/watch?v=NB1mn2YVF8Q)
+- [Use Adobe XD In Creating A Landing Page](https://www.youtube.com/watch?v=YxTngjYMufc)
+
+
+
+#### And For Submitting The Design Please Export Your Design To A .png File And Create A New Repository Named "Task-5" And Add The .png Design File.
+
+
+
+#### A Small Addition To The Task, While Submitting The Task, Please Mention Your Genre Of The Web Design So That It'll Be Easy For Evaluation Purposes.
+
+
+
+##### Note: Based on your performance of this task, we will consider you for our ART and Public Relations team at Cognizance.
+ Note: Please Know That Only PNG Files Accepted, All Other Formats Will Not Be Accepted
+
+
+
+
+
+
+
+
+
+# Part - 2 (Building Websites with HTML & CSS)
+### Create an attractive landing page using HTML, CSS, and JavaScript. This is a chance to showcase your creativity. The theme is up to you, and it should be user-friendly.
+
+Here's how to do it:
+
+#### Steps to Create the Landing Page:
+##### Step 1: VS Code
+
+1. If you haven't already, download and install Visual Studio Code from [VSCode](https://code.visualstudio.com/)
+2. Create a new folder on your computer where you want to store your project files. You can name it something like "MyProject".
+3. Open VS Code.
+4. Click on "File" in the top left corner.
+5. Select "Open Folder..."
+6. Choose the folder you created in Step 2 ("MyProject") and click "Open."
+7. In VS Code, right-click on your project folder in the sidebar (on the left).
+8. Select "New File."
+9. Name the file "index.html" and press Enter. This will be your HTML file.
+10. Repeat the process to create two more files: "styles.css" for your CSS and "script.js" for your JavaScript.
+11. Open each file by clicking on them in the sidebar.
+12. Write your HTML code in "index.html," CSS code in "styles.css," and JavaScript code in "script.js."
+13. Live Server Extension (Recommended)
+- In VS Code, go to the Extensions view by clicking on the square icon in the left sidebar.
+- Search for "Live Server" and install the extension by Ritwick Dey.
+- Once installed, you'll see a "Go Live" button at the bottom right of the VS Code window. Click it.
+- Your default web browser should open, displaying your HTML file. Any changes you make in your code will automatically refresh the page.
+15. Alternative: Without Live Server
+- Open your "index.html" file in your web browser directly by right-clicking the file and selecting "Open with..." and choosing your browser.
+- To see changes, you'll need to manually refresh the page (F5 or Ctrl+R).
+
+
+
+##### Step 2: GitHub Repository
+1. Go to GitHub (github.com) and sign in or create an account if you don't have one.
+2. Click the "+" sign in the top right corner and choose "New repository."
+3. Give your repository a name (e.g., "Cognizance-Landing-Page").
+4. Choose "Public" for the visibility so that others can see your work.
+5. Click "Create repository."
+
+
+
+##### Step 3: Organize Your Repository
+1. Inside your repository, click "Create new file" and name it "index.html."
+2. Create two more folders: "css" and "js" (if not already created).
+3. Inside the "css" folder, create a file named "styles.css."
+4. Inside the "js" folder, create a file named "script.js."
+5. Paste your code from VS code in the respective files
+
+
+
+##### Step 4: README Documentation
+1. In the root of your repository, create a file named "README.md."
+2. Describe your landing page project:
+ - Mention your chosen theme.
+ - Explain any special features.
+
+
+
+## Resources:
+### VS Code Installation
+- [Windows Installation](https://www.google.com/amp/s/www.geeksforgeeks.org/how-to-install-visual-studio-code-on-windows/amp/)
+- [MacOS Installtion](https://adamtheautomator.com/visual-studio-code-on-mac/)
+### Tutorials
+- [W3Schools (HTML)](https://www.w3schools.com/html/)
+- [W3 Schools (CSS)](https://www.w3schools.com/css/default.asp)
+- [W3 Schools (JavaScript) ](https://www.w3schools.com/js/default.asp)
+- [Beginner Tips](https://medium.com/swlh/6-beginner-html-css-tips-guidelines-to-make-your-life-easier-ffa826143152#ea6b)
+- [GitHub Pages ](https://www.geeksforgeeks.org/how-to-host-a-website-on-github-for-free/)
+### Simple Website using HTML, CSS, JavaScript
+- [Build a Simple Website with HTML, CSS, JavaScript – Course for Beginners](https://youtu.be/krfUjg0S2uI?si=fcWZYUG9S95RUflQ)
+### Video Tutorials
+- [Responsive Landing Page Website HTML CSS And JAVASCRIPT](https://youtube.com/playlist?list=PL07efmqYWHZ8jroJAkkFB2s4ZKpVNCOQa&si=GUmtDTjtdwo6MAE3)
+- [Vanilla JavaScript tutorial](https://youtu.be/Ttf3CEsEwMQ?si=KJxFOmwMpiUljN7r)
+
+This task aims to help you learn the basics of web development and showcase your creativity.
+
+
+# Submission Link
+## Deadline: 7th October 2023 ; 23:59
+[Task 5 Submission](https://forms.gle/pP4N8fMyxr9pCQRHA)
diff --git a/Archives/Task-4.md b/Archives/Task-4.md
new file mode 100644
index 0000000..b244180
--- /dev/null
+++ b/Archives/Task-4.md
@@ -0,0 +1,103 @@
+---
+title: Task 4 ( 22nd SEP 2023 )
+date: 2023-09-24 11:40:00
+tags: Preliminary tasks
+domain: AI
+---
+
+# Task-4
+
+Following are the few subtasks that will help you run through the python essentials for getting started with AI and ML.
+
+## Q1
+File Handling is one of the basic important task when it comes to building machine learning models or neural networks. Building a good model always starts with finding datasets and processing it, for which, file handling acts as a stepping stone.
+
+
+
+#### Write a python program that reads the contents from the given file 'onelinefile.txt'. The file contains a single line which is of the format (int)(string)(float)(string) repeatedly. For e.g.
+```
+1Aaa3.5Maths2Bbb4.2Physics3Ccc7.62Chemistry
+```
+
+
+#### Your main task is to split the contents of the given file based on their format and write it into a .csv file say 'Filename2.csv'. For e.g. the above txt file should be converted into a csv file such that the contents look like this:
+
+```csv
+1,Aaa,3.5,Maths
+2,Bbb,4.2,Physics
+3,Ccc,7.62,Chemistry
+```
+
+
+### Contents of 'onelinefile.txt'
+```
+1Aaa3.5Maths2Bbb4.2Physics3Ccc7.62Chemistry4Ddd9.55Biology5Eee4.0Social6Fff7.6English7Ggg3.111Maths8Hhh9.99Physics9Iii1.23Civics
+```
+
+
+
+**Q2**
+
+A Python library used for complex mathematical and statistical tasks and operations. It is one of the important libraries used in data preprocessing and ML/DL Algorithms. We can create from basic equations to some of the most complex Neural Network architectures using this. The first part of this task introduces you to the basics of Numpy.
+
+You can use this command in your terminal to install Numpy
+
+```
+pip install numpy
+```
+
+
+
+1. Create a single and multidimensional arrays using numpy and also create a array of numbers of a specified range.
+
+2. Convert the above array to a 3 x 12 array.
+
+3. Create a multidimentional square matrix and find the inverse of it.
+
+ ( _Use the the below formula to compute the inverse.
Use the inbuilt inverse command too to validate your results._ )
+
+$$ inv(A) = {adj(A) \over{ |A| } }$$
+
+4. Extract specific rows and columns using Slicing
+
+5. Import data from files directly into ndarray using the loadtxt function.
+
+
+
+### References 📖
+1. Numpy Docs : https://numpy.org/doc/stable/reference/index.html#numpy-reference
+2. Numpy Tutorial : https://www.youtube.com/watch?v=QUT1VHiLmmI&pp=ygUFbnVtcHk%3D
+3. Numpy Basics : https://medium.com/nerd-for-tech/a-complete-guide-on-numpy-for-data-science-c54f47dfef8d
+4. Numpy Linear Algebra class : https://numpy.org/doc/stable/reference/routines.linalg.html
+
+
+
+## Q3
+#### Read the file 'about.txt' and find the words with atleast 6 letters and the most frequently used word.
+
+
+
+Contents of the file 'about.txt':
+```
+Python has tools for almost every aspect of scientific computing. The Bank of America uses Python to crunch its financial data and Facebook looks upon the Python library Pandas for its data analysis. While there are many libraries available to perform data analysis in Python, here are a few: NumPy, SciPy, Pandas and Matplotlib.
+```
+
+
+
+## Q4
+#### Given food name, price, rating(out of 5) and their datatypes, create a structured array using NumPy and sort the array on rating
+
+> [Dataset link](https://github.com/cognizance-amrita/AI-Tasks/blob/main/Task-1/Q4-Dataset.csv)
+
+
+
+## Q5
+#### Let x be the size of houses in sq feet. x can take values between 700 to 2400 and is a multiple of 10. The price of the house (y) is found by the equation y = 10\*x^2 + 2\*x.
+#### Pass the values into a .csv file and plot a graph of the prices against the size of houses. Provide appropriate labels for the axes.
+
+
+
+
+## __Submission Link__
+[Submission Link](https://docs.google.com/forms/d/e/1FAIpQLSddEo2ZwppjMhXTnnXWKFvckpvluAyxH-j2MvCgkVLAUTWmlA/viewform?usp=sf_link)
+