Module 1: Introduction to Programming Tools and Python/Jupyter Notebook

0.0(0)
studied byStudied by 0 people
GameKnowt Play
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/19

flashcard set

Earn XP

Description and Tags

A set of QUESTION_AND_ANSWER flashcards covering key concepts from the module: programming tools, Python and Jupyter Notebook, installation options, creating and running notebooks, basic commands, notebook cells, and related tips.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

20 Terms

1
New cards

What are programming tools?

Software applications that help you write, test, and debug code; they include code editors/IDEs (e.g., Visual Studio Code, PyCharm), interpreters/compilers (e.g., Python), command-line interfaces, and debuggers/terminals.

2
New cards

Which tools will be used in this course for programming?

Python (a beginner-friendly language) and Jupyter Notebook (an interactive tool for writing and running Python code).

3
New cards

Why is Python considered beginner-friendly?

Because of its simple and readable syntax and its use by both beginners and professionals.

4
New cards

What is Jupyter Notebook used for?

An interactive tool for writing and running Python code, allowing you to add explanations beside code and see immediate output.

5
New cards

What is a 'cell' in Jupyter Notebook?

A unit where you write and test code; code cells execute code, while Markdown cells hold notes or explanations.

6
New cards

What does the 'Run' button do in Jupyter Notebook?

Executes the currently selected cell.

7
New cards

What is a Markdown cell?

A cell used to add notes, titles, or explanations (optional).

8
New cards

What is the basic command to print 'Welcome to Python!'?

print("Welcome to Python!")

9
New cards

How do you declare variables and print their sum in Python (as shown in the notes)?

x = 5; y = 3; print("The sum is:", x + y)

10
New cards

How can you modify the output in the basic command to see different results?

Edit the numbers assigned to x and y and run the code again.

11
New cards

How do you create a new notebook in Jupyter Notebook?

Click New > Python 3 (ipykernel) to create a notebook with empty cells.

12
New cards

How do you run code in a Jupyter cell?

Click inside a cell, type code, and press Shift + Enter.

13
New cards

What are the steps to install Jupyter Notebook via Anaconda?

Go to the Anaconda distribution page, download for your OS, install with default settings, open Anaconda Navigator, and launch Jupyter Notebook (Anaconda installs Python and Jupyter in one package).

14
New cards

What are the steps for manual installation of Python and Jupyter Notebook?

Install Python from python.org, open the terminal/command prompt, run 'pip install notebook', then run 'jupyter notebook'.

15
New cards

What is a quick start to create your first notebook in Jupyter?

New > Python 3 (ipykernel); you’ll see an empty notebook; type code in a cell and press Shift+Enter to run.

16
New cards

What is a typical content of a code cell in a notebook (example shown)?

You write Python code such as print("Hello, world!").

17
New cards

What is the purpose of a Markdown cell in a notebook?

To add notes, titles, or explanations (optional).

18
New cards

What is the example bonus suggestion when starting a notebook?

Add a Markdown cell at the top with your name and today’s date.

19
New cards

What is a common reminder about saving progress in notebooks?

Always save your progress.

20
New cards

What does the flowchart tip suggest about structure?

Every flowchart should start with a Start symbol and end with an End symbol.