Module 7.2- Programming Tools Flashcards

(26 cards)

1
Q

Visual Studio Code (VS Code)

A
  • developed by Microsoft, it’s a free and open-source code editor designed to make writing and managing code simple and efficient
  • popular because of its versatility and user-friendly features
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Why is VS Code popular among Developers?

A
  • Mulit-language Support
  • Integrated Terminal
  • Extensions and Plug-ins
  • Code Intelligence and Autocompletion
  • Built-in Git Support
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Multi-Language Support

A
  • VS Code supports a wide variety of programming languages out of the box, including Python, JavaScript, C++, and many more
  • can also install additional language extensions to customise for specific needs
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Integrated Terminal

A
  • can run command-line commands directly within VS Code without switching between windows, making it easier to execute scripts, install packages, or run tests
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Extensions & Plug-ins

A
  • VS Code has a marketplace filled with extensions that can add features like code linting, version control integration, or debugging tools
  • e.g. the Python extension adds powerful capabilities for Python developers, including IntelliSense (smart autocompletion), code navigation, and debugging
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Code Intelligence & Autocompletion

A
  • the editor offers smart code suggestions and autocompletes based on your code and the libraries you’re using, which speeds up the coding process and reduces errors
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Built-in Git Support

A
  • VS Code includes Git integration, which allows you to manage your code repository, commit changes, and even resolve conflicts without leaving the editor
  • e.g. if writing a Python script in VS Code, you’ll benefit from its intelligent code suggestions, syntax highlighting, and integrated terminal-all in one tool
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

CoLab (Google Colaboratory)

A
  • a cloud-based platform that allows you to write and execute Python code directly in your browser
  • ideal for data science, machine learning, scientific computing because of its integration with Google Cloud and support for powerful computing resources
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What makes CoLab special?

A
  • Cloud-based
  • Free access to GPUs
  • Integration with Google Drive
  • Jupyter Notebook Format
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Cloud Based

A
  • runs entirely in the cloud, which means you don’t need to install any software on computer; can simply open your browser and start coding
  • this makes it especially convenient for people who don’t want to manage local development environments
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Free Access to GPUs

A
  • CoLab provides free access to GPUs (Graphics Processing Units) and TPUs (Tensor Processing Units), which are useful for resource-intensive tasks like training machine learning models
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Integration with Google Drive

A
  • can easily save and share your notebooks through Google Drive, making collaboration simple
  • can also load datasets directly from your Drive, which is especially useful in data analysis workflows
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Jupyter Notebook Format

A
  • CoLab supports Jupyter Notebooks, which means you can write code in cells, run code interactively, and see output directly within the notebook; this is great for testing and iterative development
  • e.g. if you’re working on a machine learning project, CoLab allows you to train your model using GPUs in the cloud without the need for powerful hardware on your local machine
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Jupyter Notebook

A
  • another powerful tool, especially popular in the world of data science, education, and research
  • provides an interactive environment where you can write and run code in cells, allowing you to see the output immediately after execution
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Why are Jupyter Notebooks popular?

A
  • Interactive Coding
  • Data Science and Visualisation
  • Supports Multiple Languages
  • Documentation with Markdown
  • Sharing Notebooks
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Interactive Coding

A
  • Jupyter’s cell-based structure allows you to write code, execute it, and see the results immediately
  • this is great for exploratory coding, such as testing algorithms or visualising data
17
Q

Data Science and Visualisation

A
  • Jupyter Notebooks are particularly useful for data analysis and visualisation
  • Libraries like Matplotlib, Seaborn, and Pandas integrate seamlessly, allowing you to plot graphs and analyse data within the notebook
18
Q

Supports Multiple Languages

A
  • while primarily used for Python, Jupyter can also support other programming languages like R, Julia, and Scala via different kernels
19
Q

Documentation with Markdown

A
  • can combine code with text (written in Markdown) to create well-documented workflows, making Jupyter a great tool for educational tutorials or research papers
20
Q

Sharing Notebooks

A
  • Jupyter notebooks can be easily shared via platforms like GitHub or JupyterHub, allowing others to run and modify your code
21
Q

Other Programming Tools

A
  • while VS Code, CoLab, and Jupyter are among the most commonly used tools, there are several other programming environments worth exploring, depending on your needs:
  • IDLE (Python’s Integrated Development Environment)
  • PyCharm
  • Sublime Text
  • Atom
  • GitHub and GitLab
  • e.g. if you’re working on a larger Python project, PyCharm might offer more advanced features for managing your codebase compared to a lighter tool like IDLE
22
Q

IDLE

A
  • simple, beginner-friendly IDE that comes with Python by default
  • great for writing simple scripts and learning Python, but it lacks advanced features like code completion or debugging tools
23
Q

PyCharm

A
  • developed by JetBrains, PyCharm is a more advanced IDE specifically for Python development
  • packed with features like smart code navigation, debugging, and integrated testing, making it a favorite among Python professionals
24
Q

Sublime Text

A
  • a lightweight and fast code editor known for its simplicity and performance
  • while it lacks the deep integration and features of VS Code, it’s a favorite for quick script editing
25
Atom
- another open-source editor, is similar to VS Code in its flexibility and extensive library of plugins - while it's highly customisable, some users find it slower than other editors
26
GitHub & GitLab
- these are not IDEs or code editors but code hosting platforms where you can store and collaborate on code - they also offer useful tools for version control and project management, such as issue tracking and CI/CD pipelines