Cloud Computing Concepts: Indranil Gupta (Indy) Topic: Orientation To C3 Course
Cloud Computing Concepts: Indranil Gupta (Indy) Topic: Orientation To C3 Course
I.
II.
III.
IV.
V.
VI.
Basic datastructures
Processes
Computer architecture
O() notation
Basic probability
Miscellaneous
35807
Insert at tail
P1
main()
int f1()
int f2()
void main() {
}
int f1() {
int x=1;
}
int f2() {
Code
P1
main()
int f1()
x=1
int f2()
Stack
Passes
args and return
values
among functions
Program
Counter (PC)
void main() {
}
int f1() {
int x=1;
}
int f2() {
Code
Registers
CPU
Cache
Memory
Disk
An algorithm A is O(foo)
Means
Set=collection of things
S=Set of all humans who live in the world
E1 is an event
E2 is an event
E1 and E2 are independent of each other
Then: Prob(E1 AND E2) = Prob(E1) * Prob(E2)
You have three shirts: blue, green, red
You wake up at a random hour and blindly pick a shirt
Prob(You woke up between 10 am and 11 am AND that
youre wearing a green shirt) = (1/24) * (1/3) = 1/72
But beware: cant multiply probabilities if events are
dependent (i.e., influence each other)!
E1 is an event
E2 is an event
Then:
Prob(E1 OR E2) = Prob(E1) + Prob(E2) Prob(E1 AND E2)
If you dont know Prob(E1 AND E2), then you can write
Prob(E1 OR E2) Prob(E1) + Prob(E2)
Boston
6
Amsterdam
3
14
9
Delhi
Edmonton
Chicago
Edge Weight
Edge
Node or Vertex
3
14
9
D
E
I.
II.
III.
IV.
V.
VI.
Basic datastructures
Processes
Computer architecture
O() notation
Basic probability
Miscellaneous