Sem resumo de edição |
|||
| Linha 13: | Linha 13: | ||
<br> | <br> | ||
===Lesson 0 - Prerequisites:=== | ===Lesson 0 - Prerequisites:=== | ||
Install Linux (Ubuntu 20.04) on a virtual machine // https://www.youtube.com/watch?v=Vl6f8_vin9M | *Install Linux (Ubuntu 20.04) on a virtual machine // https://www.youtube.com/watch?v=Vl6f8_vin9M | ||
Create a GitHub account // https://docs.github.com/pt/get-started/start-your-journey/creating-an-account-on-github | *Create a GitHub account // https://docs.github.com/pt/get-started/start-your-journey/creating-an-account-on-github | ||
===Lesson 1 - Introduction to Linux=== | ===Lesson 1 - Introduction to Linux=== | ||
Present the system, | *Present the system, | ||
Advantages and disadvantages, | *Advantages and disadvantages, | ||
Why use Ubuntu 20.04 and not later versions? | *Why use Ubuntu 20.04 and not later versions? | ||
Explaining the teaching method | *Explaining the teaching method | ||
(Here I will give a presentation for the first class) | *(Here I will give a presentation for the first class) | ||
===Lesson 2 - Using the Terminal=== | ===Lesson 2 - Using the Terminal=== | ||
"cd/", "cd.." commands | *"cd/", "cd.." commands | ||
Creating Folders | *Creating Folders | ||
Creating files | *Creating files | ||
Creating Folders and Files within existing folders | *Creating Folders and Files within existing folders | ||
Understanding the "path" of a file | *Understanding the "path" of a file | ||
"Sudo", "pip".. | *"Sudo", "pip".. | ||
(https://ubuntu.com/tutorials/command-line-for-beginners#1-overview) | *Link to the supporting material - (https://ubuntu.com/tutorials/command-line-for-beginners#1-overview) | ||
====(Mini-Project L2)==== | ====(Mini-Project L2)==== | ||
Step 1)) Create a main Folder called "Conversation Code", inside this folder create a second folder named "Ubuntu_20_04" and inside this second folder create the files "Lesson_2.txt", "Lesson_2_to_delete" and "Lesson_2_rename". | *Step 1)) Create a main Folder called "Conversation Code", inside this folder create a second folder named "Ubuntu_20_04" and inside this second folder create the files "Lesson_2.txt", "Lesson_2_to_delete" and "Lesson_2_rename". | ||
Step 2)) Delete the folder named "to delete", and rename the folder "Rename" to "Lesson_2_+Your_name+birthdate". | *Step 2)) Delete the folder named "to delete", and rename the folder "Rename" to "Lesson_2_+Your_name+birthdate". | ||
Step 3)) Obtain the .zip file provided in the course, extract it to your computer and: | *Step 3)) Obtain the .zip file provided in the course, extract it to your computer and: | ||
Find all the folders present in the .zip | **Find all the folders present in the .zip | ||
Find the names of the files present in the "images" folder | **Find the names of the files present in the "images" folder | ||
Open the image "brain" | **Open the image "brain" | ||
Insert your created folders into the "insert_here" folder extracted from the .zip | **Insert your created folders into the "insert_here" folder extracted from the .zip | ||
Step 4)) Zip your new folder with all the documents from steps 1 to 3, collect all the commands used (screenshots), and upload them to your personal GitHub. | *Step 4)) Zip your new folder with all the documents from steps 1 to 3, collect all the commands used (screenshots), and upload them to your personal GitHub. | ||
===Lesson 3 - Main Installations=== | ===Lesson 3 - Main Installations=== | ||
Install Python 3 | *Install Python 3 | ||
Install C++/C# | *Install C++/C# | ||
Install JS | *Install JS | ||
Install "git" commands | *Install "git" commands | ||
"source.devel/setup.bash" | *"source.devel/setup.bash" | ||
Install Jupyter | *Install Jupyter | ||
Confirm installation of programs/installed version | *Confirm installation of programs/installed version | ||
====(Mini-Project L3)==== | ====(Mini-Project L3)==== | ||
Verify the version of all installations and check if updates are available | *Verify the version of all installations and check if updates are available | ||
Create a folder inside the "Ubuntu_20_04" folder named "Lesson_3". Inside this folder, create one file for each type .py, .cpp, .js, etc. | *Create a folder inside the "Ubuntu_20_04" folder named "Lesson_3". Inside this folder, create one file for each type .py, .cpp, .js, etc. | ||
For each file created in the previous step, print "Hello world" to be used in Lesson 4. | *For each file created in the previous step, print "Hello world" to be used in Lesson 4. | ||
Upload the screenshots of the commands and the .zip of the folders from this lesson to your GitHub. | *Upload the screenshots of the commands and the .zip of the folders from this lesson to your GitHub. | ||
===Lesson 4 - Main Commands=== | ===Lesson 4 - Main Commands=== | ||
How to clone a repository from GitHub | *How to clone a repository from GitHub | ||
How to run a Python file... (the Hello world files created in the previous project) | *How to run a Python file... (the Hello world files created in the previous project) | ||
Identifying errors when running programs | *Identifying errors when running programs | ||
====(Mini-Project L4) ==== | ====(Mini-Project L4) ==== | ||
Step 1)) Create the folder "Lesson_4" inside the "Ubuntu_20_04" folder and copy repository X from GitHub Y. Remember to check if the files are executable. | *Step 1)) Create the folder "Lesson_4" inside the "Ubuntu_20_04" folder and copy repository X from GitHub Y. Remember to check if the files are executable. | ||
Step 2)) Go to the "Codes" folder and request the list of files from the copied repository. | *Step 2)) Go to the "Codes" folder and request the list of files from the copied repository. | ||
Step 3)) Run the list of files present in this Folder. | *Step 3)) Run the list of files present in this Folder. | ||
Step 4)) Print the results and upload them along with the complete folder to your GitHub. | *Step 4)) Print the results and upload them along with the complete folder to your GitHub. | ||
===Lesson 5 - Adapting My Library=== | ===Lesson 5 - Adapting My Library=== | ||
Install necessary programs to run files | *Install necessary programs to run files | ||
Installation of: "Pandas", "TensorFlow", "PyTorch", "Numpy" | *Installation of: "Pandas", "TensorFlow", "PyTorch", "Numpy" | ||
"matplotlib", "Scikit-learn", "Keras"... | *"matplotlib", "Scikit-learn", "Keras"... | ||
Copy the X2 Folder from GitHub Y2 to the "Lesson 5" folder in the "Ubuntu_20_04" folder. | *Copy the X2 Folder from GitHub Y2 to the "Lesson 5" folder in the "Ubuntu_20_04" folder. | ||
====(Mini-Project L5) ==== | ====(Mini-Project L5) ==== | ||
Try to run more complex programs with small errors that can be identified using the terminal (possibly the need to install an extension, or indentation error..., simple things to discover via the terminal) | *Try to run more complex programs with small errors that can be identified using the terminal (possibly the need to install an extension, or indentation error..., simple things to discover via the terminal) | ||
Upload the codes with corrections as well as the screenshots of the errors found and how you arrived at the proposed solution. | *Upload the codes with corrections as well as the screenshots of the errors found and how you arrived at the proposed solution. | ||
== Team in charge == | == Team in charge == | ||
Edição das 17h38min de 12 de junho de 2024
Goals
The aim of this training is to introduce participants to the Linux operating system, in this case Ubuntu 20.04, and to enable them to use the terminal quickly and intuitively, as well as to identify errors and find solutions. In addition, we'll talk briefly about github and libraries that are widely used in programming.
J.A.C.I. Method
- Meanig:
Just: Adapts to the level of each participant. Autodidact: Material for reading and use the chat group to debate Collaborative: The main goal of this project is to help each other learn more about programming by sharing your knowledge. Intense: Since day one the students have exercises and a final project.
Planning
Lesson 0 - Prerequisites:
- Install Linux (Ubuntu 20.04) on a virtual machine // https://www.youtube.com/watch?v=Vl6f8_vin9M
- Create a GitHub account // https://docs.github.com/pt/get-started/start-your-journey/creating-an-account-on-github
Lesson 1 - Introduction to Linux
- Present the system,
- Advantages and disadvantages,
- Why use Ubuntu 20.04 and not later versions?
- Explaining the teaching method
- (Here I will give a presentation for the first class)
Lesson 2 - Using the Terminal
- "cd/", "cd.." commands
- Creating Folders
- Creating files
- Creating Folders and Files within existing folders
- Understanding the "path" of a file
- "Sudo", "pip"..
- Link to the supporting material - (https://ubuntu.com/tutorials/command-line-for-beginners#1-overview)
(Mini-Project L2)
- Step 1)) Create a main Folder called "Conversation Code", inside this folder create a second folder named "Ubuntu_20_04" and inside this second folder create the files "Lesson_2.txt", "Lesson_2_to_delete" and "Lesson_2_rename".
- Step 2)) Delete the folder named "to delete", and rename the folder "Rename" to "Lesson_2_+Your_name+birthdate".
- Step 3)) Obtain the .zip file provided in the course, extract it to your computer and:
- Find all the folders present in the .zip
- Find the names of the files present in the "images" folder
- Open the image "brain"
- Insert your created folders into the "insert_here" folder extracted from the .zip
- Step 4)) Zip your new folder with all the documents from steps 1 to 3, collect all the commands used (screenshots), and upload them to your personal GitHub.
Lesson 3 - Main Installations
- Install Python 3
- Install C++/C#
- Install JS
- Install "git" commands
- "source.devel/setup.bash"
- Install Jupyter
- Confirm installation of programs/installed version
(Mini-Project L3)
- Verify the version of all installations and check if updates are available
- Create a folder inside the "Ubuntu_20_04" folder named "Lesson_3". Inside this folder, create one file for each type .py, .cpp, .js, etc.
- For each file created in the previous step, print "Hello world" to be used in Lesson 4.
- Upload the screenshots of the commands and the .zip of the folders from this lesson to your GitHub.
Lesson 4 - Main Commands
- How to clone a repository from GitHub
- How to run a Python file... (the Hello world files created in the previous project)
- Identifying errors when running programs
(Mini-Project L4)
- Step 1)) Create the folder "Lesson_4" inside the "Ubuntu_20_04" folder and copy repository X from GitHub Y. Remember to check if the files are executable.
- Step 2)) Go to the "Codes" folder and request the list of files from the copied repository.
- Step 3)) Run the list of files present in this Folder.
- Step 4)) Print the results and upload them along with the complete folder to your GitHub.
Lesson 5 - Adapting My Library
- Install necessary programs to run files
- Installation of: "Pandas", "TensorFlow", "PyTorch", "Numpy"
- "matplotlib", "Scikit-learn", "Keras"...
- Copy the X2 Folder from GitHub Y2 to the "Lesson 5" folder in the "Ubuntu_20_04" folder.
(Mini-Project L5)
- Try to run more complex programs with small errors that can be identified using the terminal (possibly the need to install an extension, or indentation error..., simple things to discover via the terminal)
- Upload the codes with corrections as well as the screenshots of the errors found and how you arrived at the proposed solution.
Team in charge
- Lucas Gomes(AI instructor)
- Luigi Negrini(Inscripton Manager)