CC3 Quiz 1 Flashcards

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
Q

the library is written for human

A

request HTTP library

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

drivers that allow us to query the database

A

database connectors

27
Q

opensource database

A

mySQL & postgreSQL

28
Q

most popular for python connectors

A

MySQL-Python-Connector

29
Q

technique used in creating ‘bridge’

A

Object-Relational Mapping

30
Q

two web framework

A

django and flask

31
Q

differentiate django and flask

A

DJANGO - full-fledge framework
FLASK - microframework

32
Q

used to create a scramble private and public

A

OpenStack

33
Q

used for game development

A

python

34
Q

spaces at the beginning of a code line

A

indentation

35
Q

inclusion of a short description along with the code

A

comment

36
Q

containers for storing data values

A

variables

37
Q

combine two or more string

A

concatenation

38
Q

text data type

A

string

39
Q

numerical types

A

int & float

40
Q

data types

A

str, int, float, boolean, bytes

41
Q

converting one data type into another

A

casting

42
Q

containers for string and numbers

A

string placeholder

43
Q

string formatting functions

A

upper()
lower()
capitalize()
title()
split()
replace()
len()
count()

44
Q

turn letters in all uppercase

A

upper()

45
Q

turn letters in all lowercase

A

lower()

46
Q

turn the first letter of the first word in upper case, sentence form

A

capitalize()

47
Q

convert all first letters of words in uppercase

A

title()

48
Q

split the string at the specified separator and returns a list

A

split()

49
Q

changing a part of a string into something else

A

replace()

50
Q

find out how long is the string

A

len()

51
Q

determine what position is a letter in a string (starts with 1)

A

count()

52
Q

no. formatting functions

A

round()
ceil()
floor()
pow()

53
Q

rounds off a number
(7.453 –» 7)
(7.542 –» 8)

A

round()

54
Q

find the highest possible number for a specific number
(7.01 –» 8)

A

ceil()

55
Q

find the lowest possible number for a specific number
(7.99 –»8)

A

floor()

56
Q

find the returns the value of x to the power of y (x^y).

A

pow()

57
Q

has a decision part
(true or false)

A

selection

57
Q

have two or more condition in one line

A

compound condition

57
Q

built-in methods

A

islower()
isupper()
isdigit()
isalpha()

58
Q

determines whether a string is on uppercase

A

isupper()

59
Q

determines whether a string is on lowercase

A

islower()

60
Q

determines whether a string is a digit

A

isdigit()

61
Q

determines whether a string is an alphabet

A

isalpha()