Financial Basics Flashcards

1
Q

Programming language

A

the computer does not understand logic language, just understand the zero and ones.

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

human-readable code that the software can read and then process to the computer to and zeros and ones.

A

Source Code

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

Program

A

a sequence of instruction that designates how to execute a computation

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

Computer Science

A

about understanding what computers can do?

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

Programming

A

the activity of telling the computer to do something for us

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

programming involves

A

formulating problems,
breaking them down into meaningful steps. or smaller computational steps. abstracts thinking.
communicating these steps to the computer.

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

Python advantages

A

Technical Advantages

Practical Application: Several industries

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

Technical Advantages

A

-open source: Free, Anywhere
-General-purpose: Wide Scope
High level: Syntax a lot closer to human logic

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

is y really equal to 125? corresponding code

A

y==125

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

How to reassign the value?

A
The order is matters!
Z = 5
z
Z=5
Z=10
z
Z=10
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Comments

A

are sentences that not executed by computer

Start with #

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

After print

A

()

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

function in the python to prove the correct

A

type(var)

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

4.5 and 5 and true, variable types

A

float and integer and bool

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

Strings

A

Text values compose of a sequence of characters

‘Goerge’

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

write 10 dollar

A

y = 10

print (str(y) + ‘Dollars’)

17
Q

for insert space between 3 and 5

A

3,5 or 3+5

18
Q

run 1,2,3,’car’ output

A

(1,2,3,’car’)

19
Q

code continuation to next line

A

\

20
Q

Not equality sign

A

!=

21
Q

True and True

A

True

22
Q

True and False

A

False

23
Q

False and False

A

False

24
Q

False or False

A

False

25
Q

True or True

A

True

26
Q

True or False

A

True

27
Q

conditional function structure

A

if (X,Y):

28
Q

If the condition is false then use

A

else code (else:) that write in another block of code

29
Q

before else if the condition is false

A

use elif the else is the last one

in fact elif for the middle code and else for the last one

30
Q

Functions consequence

A

first the name of the function

second the body