Python - Introduction Flashcards

1
Q

Describe what the Python Programing Language is.

A

Python is a well-established general-purpose programming language, first released by its creator, Guido van Rossum, in 1991.

Python is a general-purpose programming language: its traits are useful in almost any area of software development.

Python programs can stand alone or cooperate with a variety of other software components, making it the right language for gluing together components in other languages.

Python is an object-oriented programming language, but it lets you program in both object-oriented and procedural styles, with a touch of functional programming too, mixing and matching as your application requires.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What does it mean that Python is a “very high-level language?”

A

Python is a very high-level language (VHLL). This means that it uses a higher level of abstraction, conceptually further away from the underlying machine, than classic compiled languages such as C, C++, and Rust, traditionally called “high-level languages.”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the process for develop a program in the Python Programming Language?

A

To develop a program:
. write Python source code in a text file using any text editor.
. process the source files with a python compiler and interpreter.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

List and Briefly Describe: implementations of the Python Programing Language.

A

CPython: known as Classic Python or often just called Python

Pypy: is a fast and flexible implementation of Python, coded in a subset of Python.

Jython: implements Python on top of a Java Virtual Machine (JVM), an open source project.

GraalVM:

IronPython: implements Python on top of Microsoft’s .NET platform.

Numba: is an open source just-in-time (JIT) compiler focusing on numeric processing by translating a subset of Python and the NumPy numerical code model.

Pyjion: Pyjion is an open source project, originally started by Microsoft, with the key goal of adding an API to CPython to manage JIT compilers. It is a code module that you import to CPython code that lets you translate CPython’s bytecode, “just in time,” into machine code for several different environments. including Microsoft’s open source CLR environment

IPython: enhances CPython’s interactive interpreter to make it more powerful and convenient. IPython has made particular strides in the scientific and data-focused world. It has slowly morphed Jupyter Notebook, previously called IPython Notebook, and interactive programming environment (IDE).

MicroPython: with MicroPython, the Python language can fully play in the Internet of Things. Used with single-board computers like Raspberry Pi and Beagle boards and with microcontrollers (programmable chips with configurable hardware).

Anaconda: is a open source package of many Python code modules that has become very popular.

Miniconda: is the same as Anaconda but it’s modules are downloaded as needed.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Describe CPython.

A

CPython—also known as Classic Python or often just called Python—is an implementation of Python with the most up-to-date, solid, and complete production-quality. It is the “reference implementation” of the language.

CPython is a bytecode compiler, interpreter, and set of built-in and optional modules, all coded in standard C.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Describe PyPy.

A

PyPy is a fast and flexible implementation of Python, coded in a subset of Python itself, able to target several lower-level languages and virtual machines using advanced techniques such as type inferencing.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is the Python Standard Library?

A

Python standard library supplies many Python code modules for convenient reuse. It includes code modules for such tasks as:
. representing data,
. processing text,
. interacting with the operating system and filesystem, and
. web programming

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Describe the Python Software Foundation (PSF).

A

Besides holding the intellectual property rights for the Python programming language, the PSF promotes the Python community. It sponsors user groups, conferences, and sprints, and provides grants for development, outreach, and education, among other activities.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is a PEP (Python Enhancement Proposal)

A

PEP stands for Python Enhancement Proposal. A PEP is a design document providing information to the Python community, or describing a new feature for Python or its processes or environment. The PEP should provide a concise technical specification of the feature and a rationale for the feature.

We intend PEPs to be the primary mechanisms for proposing major new features, for collecting community input on an issue, and for documenting the design decisions that have gone into Python.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is ‘pyenv’ in the Python Programming Environment?

A

The basic purpose of pyenv is to make it easy to access as many different versions of Python as you need.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is Transcrypt system?

A

The Transcrypt system is a python code package used to convert python code into browser executable JavaScript.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is PyPI in the Python Programming Language?

A

PyPI is the Python Package Index which offers Python extension binaries.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly