LESSON 2 Flashcards

1
Q

is a widely-used, interpreted,
object-oriented, and high-level
programming language with
dynamic semantics, used for
general-purpose programming.

A

Python

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

The Python Institute believes that

A

Python is the language of today
and tomorrow

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

Python was created by __ in 1989

A

Guido van Rossum

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

It is further developed by the Python
Software Foundation, and Python official
website is

A

python.org

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

python first released publicly on

A

February 20, 1991

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

While you may know the python as a large
snake, the name of the Python
programming language comes from an
old BBC television comedy sketch
series called

A

Monty Python’s Flying
Circus

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

specialized and typically used for nonprofit organizations

A

.Org domain

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

are more general purpose and suitable for businesses and other entities, such as charities.

A

.com domains

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

Python is known to be:

A

● General-Purpose
● High-Level
● Interpreted
● Interactive
● Object-Oriented
● Free and Open-Source
● Easy to Learn and Use
● Cross-Platform
● Integrated

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

An ____ language is a type of programming
language for which most of its implementations
execute instructions directly and freely, without
previously compiling a program into machine language instructions.

A

Interpreted

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

It is a programming language designed to be used for
writing software in the widest variety of application
domains

A

General-Purpose

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

It is a programming language designed to simplify
computer programming, high-level source code
contains easy-to-read syntax that is later converted
into a low-level language, which can be recognized
and run by a specific CPU

A

High-Level

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

Python supports __ mode Programming, It
provides us with a quick way of running blocks or a
single line of Python code.

A

Interactive

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

It is an ____ ___ ____ language, and it also
supports functional programming. It allows us to develop
applications using an Object-Oriented approach. In Python,
we can easily create and use classes and objects.

A

object-oriented programming

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

Python is developed under an OSI-approved open-source
license, making it freely usable and distributable, even for
commercial use. Python’s license is administered by the
Python Software Foundation.

A

Free and Open-Source

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

The time needed to learn Python is shorter than for many
other languages; this means that it’s possible to start the
actual programming faster. It is a developer-friendly and
high-level programming language.

A

Easy to Learn and Use

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

Python can run equally on different platforms such as
Windows, Linux, Unix, and Macintosh, etc. So, we can say
that Python is a portable language.

A

Cross-Platform

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

It can be easily integrated with languages like C, C++,
JAVA, and more

A

Integrated

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

Python has a number of alternative implementations
that are available for any development:

A

CPython
IronPython
Jython
PyPy
Stackless Python -
MicroPython
Anaconda Python
Ren’Py

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

The default implementation of the
Python programming language is __. As the
name suggests __ is written in C language

A

CPython -

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

Python running on Microsoft .NET

A

IronPython

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

– Python running on the Java Virtual
Machine

A

Jython

19
Q

A fast Python implementation with a JIT
compiler

A

PyPy

20
Q

Branch of CPython supporting
micro-threads

A

Stackless Python -

21
Q

is a free and opensource distribution of the Python and R
programming languages for scientific computing

A

Anaconda Python

21
Q

Python running on microcontrollers

A

MicroPython

22
Q

Is python interpreted or compiled?

A

interpreted

22
Q

implementation with JIT(Just in time)

A

PYPY

23
Q

A visual novel engine that helps you use
words, images, and sounds to tell interactive stories
that run on computers and mobile devices

A

Ren’Py

24
Q

pypy logo come from

A

ouroboros

25
Q

. The name, ___, comes from the core supported programming languages that it supports Julia, Python, and R.

A

Jupyter Notebook or Jupyter

26
Q

name of Renpy mascot

A

Eileen

26
Q

ren’ai meaning

A

true love

27
Q

Even Python is used on multiple applications on a wide range of
scenarios, Python still has its drawbacks

A

● Python has a slow speed of execution.
● Python language is seen as less suitable for mobile
development and game development.
● Python has high memory consumption and is not used in
web browsers because it is not secure.
● Python’s database access layer is primitive and
underdeveloped in comparison to popular technologies
like JDBC and ODBC.
● Python is a dynamically-typed language, so the data
type of a variable can change anytime. A variable containing
an integer number may hold a string in the future, which can
lead to Runtime Errors.

27
Q

Python is used to develop

A

● Desktop GUI (Graphical User Interface)
● iWeb and Internet Development (IoT – Internet
of Things)
● Games and 3D Graphics
● Scientific and Numeric Applications
● Machine Learning and Artificial Intelligence
● Data Science and Data Visualization
● Enterprise Applications (Such as e-commerce, ERP and many more.)
● Network Programming
● Embedded Applications
● Audio and Video Applications
● Education
● CAD (Computer-Aided Designing) Applications
● Software Testing / Writing automated tests
● Python for DevOps / System administration / Writing automation scripts.
● Video Games

28
Q

The Python Programming Language
Syntax has many similarities to

A

Perl,
C, and Java Programming
Languages.

29
Q

two modes in
programming with Python

A

● Interactive Mode
● Script Mode

29
Q

● If you have installed Python on your
computer (Windows, Linux, macOS),
you can invoke a Python
interpreter using the command
line
.
● Just type the command python, and
the interpreter will show as follows.
● You don’t have to find the installation
folder as long as you setup the
installer to include PATH

A

Interactive Mode

30
Q

● We can invoke the Python interpreter
with a script parameter which begins
the execution of the script and
continues until the script is finished.
● When the script is finished, the
interpreter is no longer active.
● You may write your script on any
notepad but remember to save the
file with a “.py” extension

A

Script Mode

31
Q

is a name used to
identify a variable, function, class,
module or other object.

A

identifier

32
Q

starts with a letter A to Z
/ a to z or an underscore (_) followed
by zero or more letters, underscores
and digits (0 to 9).

A

identifier

33
Q

Python does not allow punctuation
characters such as @, $, and % within
identifiers. (True or false)

A

True

34
Q

start with an uppercase letter. All other identifiers start
with a lowercase letter.

A

Class names

34
Q

Starting an identifier with a single leading underscore (_var)
indicates that the identifier is a

A

private identifier

35
Q

Starting an identifier with two leading underscores (__var) indicates
a

A

strongly private identifier

36
Q

If the identifier also ends with two trailing underscores (__main__), the
identifier is a

A

language-defined special name or names that has particular significance

37
Q

you cannot use them as
constant or variable or
any other identifier names

A

reserved words

38
Q

to
denote that the line should continue

A

line continuation character (
)

39
Q

Python accepts single (‘), double (“) and triple (‘’’ or “””) quotes to denote string
literals, as long as the same type of quote starts and ends the string (TRUE OR FALSE)

A

True

39
Q

is a programmer-readable
explanation or annotation in the Python
source code.

A

comment

40
Q

A line containing only whitespace,
possibly with a comment, is known
as a __ __ and Python totally
ignores it.

A

blank line

41
Q

allows multiple statements on the single line

A

semicolon ( ; )

42
Q

A group of individual statements, which
make a single code block are called

A

suites