Language Fundamentals Flashcards

(Only Language Fundamentals Class FC)

1
Q

Who developed Python and when?

A

Guido Van Rossum in 1989

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

When was Python officially made available to the public?

A

1991

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

What is the official Date of Birth for Python?

A

Feb 20th 1991

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

Why is Python recommended as a first programming language?

A

It is simple and easy to learn

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

Fill in the blank: To print ‘Hello World’ in Python, you would use _______.

A

print(“Hello World”)

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

What programming features did Guido incorporate into Python?

A
  • Functional Programming Features from C
  • Object Oriented Programming Features from C++
  • Scripting Language Features from Perl and Shell Script
  • Modular Programming Features from Modula-3
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

From which languages is most of Python’s syntax derived?

A

C and ABC

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

List the common application areas for Python.

A
  • Developing Desktop Applications
  • Developing Web Applications
  • Developing Database Applications
  • Network Programming
  • Developing Games
  • Data Analysis Applications
  • Machine Learning
  • Developing Artificial Intelligence Applications
  • IoT
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

True or False: Google and YouTube use Python for their internal coding.

A

True

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

What are the key features of Python?

A
  • Simple and easy to learn
  • Freeware and Open Source
  • High Level Programming Language
  • Platform Independent
  • Portability
  • Dynamically Typed
  • Both Procedure Oriented and Object Oriented
  • Interpreted
  • Extensible
  • Embedded
  • Extensive Library
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What does it mean that Python is a dynamically typed language?

A

We are not required to declare type for variables; type is allocated automatically based on value.

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

What is the role of the Python Virtual Machine (PVM)?

A

It converts Python code into machine understandable form and executes it.

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

What are the limitations of Python?

A
  • Performance is not up to the mark because it is an interpreted language
  • Not widely used for mobile applications
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is CPython?

A

The standard flavor of Python that can work with C language applications.

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

What is Jython?

A

A version of Python for Java applications that can run on JVM.

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

What is PyPy known for?

A

Improving performance due to its JIT compiler.

17
Q

What is the current version of Python as of the provided information?

A
  • Python 3.6.1
  • Python 2.7.13
18
Q

What major change does Python 3 introduce regarding compatibility with Python 2?

A

Python 3 does not provide backward compatibility to Python 2.

19
Q

Fill in the blank: Python 1.0 was introduced in _______.

20
Q

Fill in the blank: Python 2.0 was introduced in _______.

A

October 2000

21
Q

Fill in the blank: Python 3.0 was introduced in _______.

A

December 2008