CC3 Quiz 1 Flashcards

(63 cards)

1
Q

When did Python started

A

Late 1980’s

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

When is Python implemented at CWI Netherlands

A

December 1989

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

Python’s principal author

A

Guido van Rossum

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

van Rossum is known as…

A

‘Benevolent Dictator for Life’ (BDFL)

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

It is known for its simplicity & developer friendliness

A

Python

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

Python is on top 10 most popular programming language since…

A

2003

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

Python is 4th in pl in….

A

April 2018

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

Python is 1st(IEEE Spectrum) in the year…

A

2017

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

Python is 3rd (Redmonk Programming Language) in the year…

A

2018

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

THRUST AREAS OF PYTHON

A
  1. Academia
  2. Scientific tool
  3. Machine learning
  4. Natural Language Processing
  5. Data Analysis
  6. Statistics
  7. Hypertext Transfer Protocol (HTTP) Library
  8. Database connectors
  9. Object Relational Mapping (ORM)
  10. Web Framework
  11. Cloud Computing
  12. Game Development
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

In academia area, Python is competing with…

What is python’s advantage?

A

Matlab

Python is pl, Matlab is not

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

Tool for simulating and analyzing complex system

A

Scientific tool

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

What are the 5 core scientific packages of Python

A
  1. Scipy Library
  2. Numpy
  3. Jupyter
  4. Sympy
  5. Matplotlib
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Core scientific packages are available in…

A

Berkeley Software Distribution (BSD) license

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

It is use for numerical integration

A

Scipy

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

It is used for N-dimensional arrays

A

Numpy

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

It revolutionized the way programming is done

A

Jupyter

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

Tool to learn from experience and database

A

Machine learning

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

Well known machine learning

A

ScikitLearn

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

A popular Library for natural Language Processing

It reads and understand text

Available in Apache license V2.0

A

Natural Language toolkit

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

Python’s using panda for…

A

Data analysis

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

Two data structure of panda

A

Series
Dataframe

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

tabular data structure rows and columns

A

dataframe

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

python library for statistical analysis used for economics and finance

A

statsmodel

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
the library is written for human
request HTTP library
26
drivers that allow us to query the database
database connectors
27
opensource database
mySQL & postgreSQL
28
most popular for python connectors
MySQL-Python-Connector
29
technique used in creating 'bridge'
Object-Relational Mapping
30
two web framework
django and flask
31
differentiate django and flask
DJANGO - full-fledge framework FLASK - microframework
32
used to create a scramble private and public
OpenStack
33
used for game development
python
34
spaces at the beginning of a code line
indentation
35
inclusion of a short description along with the code
comment
36
containers for storing data values
variables
37
combine two or more string
concatenation
38
text data type
string
39
numerical types
int & float
40
data types
str, int, float, boolean, bytes
41
converting one data type into another
casting
42
containers for string and numbers
string placeholder
43
string formatting functions
upper() lower() capitalize() title() split() replace() len() count()
44
turn letters in all uppercase
upper()
45
turn letters in all lowercase
lower()
46
turn the first letter of the first word in upper case, sentence form
capitalize()
47
convert all first letters of words in uppercase
title()
48
split the string at the specified separator and returns a list
split()
49
changing a part of a string into something else
replace()
50
find out how long is the string
len()
51
determine what position is a letter in a string (starts with 1)
count()
52
no. formatting functions
round() ceil() floor() pow()
53
rounds off a number (7.453 -->> 7) (7.542 -->> 8)
round()
54
find the highest possible number for a specific number (7.01 -->> 8)
ceil()
55
find the lowest possible number for a specific number (7.99 -->>8)
floor()
56
find the returns the value of x to the power of y (x^y).
pow()
57
has a decision part (true or false)
selection
57
have two or more condition in one line
compound condition
57
built-in methods
islower() isupper() isdigit() isalpha()
58
determines whether a string is on uppercase
isupper()
59
determines whether a string is on lowercase
islower()
60
determines whether a string is a digit
isdigit()
61
determines whether a string is an alphabet
isalpha()